ray

ray is a skill for Claude Code, Codex from Railly/tinte. It costs 52 tokens per session (847 once invoked), scanned A, original, MIT.

A tool for turning source code into styled PNG images, or picture files.

In plain words
What is it for?
Use it to create code images for documentation, presentations, examples, or social posts from supported programming and markup languages.
Why use it?
It avoids manually formatting code screenshots and provides consistent themes, layouts, and optional line numbers.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create code images for documentation, presentations, examples, or social posts from supported programming and markup languages.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/railly/tinte/ray
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Railly/tinte --skill ray
Clone the repo
git clone --depth 1 https://github.com/Railly/tinte

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ray

README.md
[![agentmods](https://agentmods.dev/badge/skills/railly/tinte/ray/github.svg)](https://agentmods.dev/skills/railly/tinte/ray)
Your own site
<a href="https://agentmods.dev/skills/railly/tinte/ray"><img src="https://agentmods.dev/badge/skills/railly/tinte/ray/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ray

Your own site · 80×15
<a href="https://agentmods.dev/skills/railly/tinte/ray"><img src="https://agentmods.dev/badge/skills/railly/tinte/ray.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 847 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Data Exfiltration · line 43
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00052 $0.00847
Opus 5.5 $0.00021 $0.00339
Sonnet 5.5 $0.00010 $0.00169
Haiku 4.5 $0.00005 $0.00085

Measured 1mo ago against content hash b649a8cbc7e5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ray scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

3. Call the API via curl
skills/ray/SKILL.md · 84 lines

How it starts

The opening of the file, as written. The whole thing — 84 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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/json

Parameters

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

  1. Identify the code to screenshot (from file, clipboard, or user input)
  2. Detect language from file extension or content
  3. Call the API via curl
  4. 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.png

Language Detection

Read the full file on GitHub · 84 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 84 lines · 52 tokens per session scan A b649a8cbc7e5

Subscribe to this mod's changes

ray is a skill published in the GitHub repository Railly/tinte (623 stars, last pushed 2mo ago), licensed MIT. It adds 52 tokens to every session and 847 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

shadcn-ui-flutter

A comprehensive Flutter UI library inspired by shadcn/ui. Provides high-quality, customizable, and accessible components including Buttons, Cards, Forms, and more. Use this skill when building Flutter UIs, implementing design systems, or needing specific component usage examples.

nank1ro/flutter-shadcn-ui · 58 tokens

kiranism-shadcn-dashboard

Guide for building features, pages, tables, forms, themes, and navigation in this Next.js 16 shadcn dashboard template. Use this skill whenever the user wants to add a new page, create a feature module, build a data table, add a form, configure navigation items, add a theme, set up RBAC access control, or work with…

Kiranism/next-shadcn-dashboard-starter · 142 tokens

styleseed

Build, improve, or inspect UI with StyleSeed. Preserves project design choices and routes setup, layout, tokens, review, rendered verification, and updates through one entry point.

bitjaru/styleseed · 39 tokens

sync-check

Walks the documentation dependency web after a CLI code change and reports which downstream files (skills, SOPs, READMEs, plugin references) are out of sync. Use after fixing a bug, adding a command, changing auth behavior, refactoring, or before committing — and when the user says "sync check", "update docs"…

ItamarZand88/CLI-Anything-WEB · 95 tokens

gap-analyzer

Compares a CLI's implemented commands against its APP.md API map and traffic-analysis.json to find missing endpoints, incomplete CRUD, dead client methods, and priority gaps. Runs as the mandatory first step of /cli-anything-web:refine and as an optional pre-review scan in standards.

ItamarZand88/CLI-Anything-WEB · 62 tokens

linkedin-cli

Interacts with LinkedIn via the cli-web-linkedin command-line tool — search people/jobs/companies, view profiles and feed, create/edit/delete posts, react and comment, manage connections and invitations, read and send messages, view notifications, follow companies. Use when the user asks about LinkedIn or wants to…

ItamarZand88/CLI-Anything-WEB · 93 tokens