ray
Skill624 starsChanged 3 months agoMITView on GitHub
Generate code screenshots via ray.tinte.dev API. Use when user asks for code screenshots, code images, code snippets as images, or says "ray". Calls POST https://ray.tinte.dev/api/v1/screenshot and saves the PNG result.
- Sends data out
3 other projects use a version of this.
Adopted by
Most recently taken up by
- imraywang/rayskillstheir own version, first seen Nov 2, 2026
- G1Joshi/Agent-Skillstheir own version, first seen Oct 13, 2026
- spatie/ray-skillstheir own version, first seen Jan 28, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- imraywang/rayskills★ 385same name
- G1Joshi/Agent-Skills★ 15same name
- spatie/ray-skills★ 6same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 43
Call the API via curl
- Very specific: line 81
Default: "one-hunter" (Vercel-inspired dark theme)
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Ray - Code Screenshots
Generate code screenshots by calling the ray.tinte.dev API.
API
POST https://ray.tinte.dev/api/v1/screenshot
Content-Type: application/jsonParameters
| Param | Type | Default | Notes |
code | string | required | 1-10,000 chars |
language | string | "typescript" | typescript, javascript, python, rust, go, java, cpp, c, html, css, json, bash, sql, markdown, toml |
theme | string or TinteBlock | "one-hunter" | Slug from tinte.dev or inline object |
mode | "dark" | "light" | "dark" | |
padding | number | 32 | 0-256 |
fontSize | number | 14 | 8-32 |
lineNumbers | boolean | true | |
title | string | "" | Window chrome title (max 100) |
background | string | "midnight" | One of: midnight, sunset, ocean, forest, ember, steel, aurora, none. Hex colors are not accepted. |
format | "png" | "png" | PNG only |
scale | number | 2 | 1-4 (retina) |
Notes
background: "none"returns a transparent RGBA PNG. Useful when you want to composite the screenshot onto a custom background.- Returned PNGs always include some transparent margin around the window for the drop shadow, even with
padding: 0. If you're compositing the result, trim that halo first (e.g.magick input.png -trim +repage output.png). - Long snippets can take 30-60+ seconds to render. Use a per-request timeout when calling from scripts or agents.
Workflow
- Identify the code to screenshot (from file, clipboard, or user input)
- Detect language from file extension or content
- Call the API via curl
- Save the PNG and open it
Example
curl -s -X POST https://ray.tinte.dev/api/v1/screenshot \
-H 'Content-Type: application/json' \
-d '{
"code": "const greeting = \"Hello, world!\";",
"language": "typescript",
"theme": "one-hunter",
"title": "hello.ts"
}' -o screenshot.png && open screenshot.pngLanguage Detection
| Extension | Language |
| .ts, .tsx | typescript |
| .js, .jsx | javascript |
| .py | python |
| .rs | rust |
| .go | go |
| .java | java |
| .cpp, .cc, .cxx | cpp |
| .c, .h | c |
| .html | html |
| .css | css |
| .json | json |
| .sh, .bash | bash |
| .sql | sql |
| .md | markdown |
| .toml | toml |
Themes
- Default:
"one-hunter"(Vercel-inspired dark theme) - Any slug from tinte.dev:
"github-dark","dracula","catppuccin", etc. - Inline TinteBlock object with 13 semantic colors (bg, tx, tx_2, tx_3, ui, ui_2, ui_3, ac_1, ac_2, ac_3, pr, sc, nt)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

