Ray So Code Snippet
Turn a code snippet into a styled PNG image via ray.so, saved locally with full styling control.
- CCM score
- 61 of 100
- skills.sh installs
- 537
- GitHub stars
- 305
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers theme, dark or light mode, gradient background, padding, line numbers, and title options
- Asks for every styling parameter with the full theme and language lists fetched from ray.so's GitHub repository
- Enforces an
agent-browseravailability check and captures the image at 4x pixel ratio for sharp text - Designed for sharing code snippets as images without hand-editing in a design tool
Install
$ npx -y skills add intellectronica/agent-skills --skill ray-so-code-snippet -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
ray.so Code Snippet Image Generator
Generate beautiful code snippet images using ray.so and save them locally.
Requirements
- The user MUST provide the code snippet, either directly or by pointing to a file/selection in context
- MUST ask the user for ALL styling parameters before generating, presenting ALL available options
- MUST use
agent-browserfor screenshot capture (check availability first)
Workflow
Step 1: Verify agent-browser Availability
Before proceeding, verify that agent-browser is available:
which agent-browser
If agent-browser is not found in the PATH, inform the user that this skill requires agent-browser and cannot proceed without it.
Step 2: Fetch Available Options
Fetch the current themes and languages from ray.so's GitHub repository using curl:
# Fetch and parse available themes
curl -s "https://raw.githubusercontent.com/raycast/ray-so/main/app/(navigation)/(code)/store/themes.ts" | grep -oE 'id:\s*"[^"]+"' | sed 's/id:\s*"//;s/"//' | sort -u
Details
- Repository
- github.com/intellectronica/agent-skills
- Category
- Design & UI/UX
- License
- CC0-1.0
- First seen
- Jun 3, 2026
Questions
What does the ray-so-code-snippet skill do?
It generates beautiful code snippet images using ray.so and saves them locally to the current working directory or a user-specified path. It is meant for when you want to make code look pretty for sharing, such as a code image or code screenshot.
How do I install the ray-so-code-snippet skill?
Run npx -y skills add intellectronica/agent-skills --skill ray-so-code-snippet -y in a project. Once installed, the agent can create ray.so code snippet images when you ask for one.
What does the ray-so-code-snippet skill need to work?
It needs agent-browser available in the PATH, because screenshot capture depends on it. You must also supply the code snippet, either directly or by pointing to a file or selection in context.
Where does the ray-so-code-snippet skill stand in its category?
It is listed under Design & UI/UX on Claude Marketplaces, alongside frontend-design, ui-ux-pro-max and impeccable. It differs from those by focusing on turning code into a shareable image with ray.so styling options.
More from intellectronica/agent-skills
All 22- Lorem Ipsum530
- Raindrop Api522
- Upstash Redis Kv487
- Monologue Notes Api231
- Notion Api116.3K
- Context711.4K
- Youtube Transcript3.5K
- Nano Banana Pro3.3K
- Ultrathink1.9K
- Beautiful Mermaid1.9K
- Markdown Converter1.7K
- Todoist Api1.7K
- Anki Connect971
- Nano Banana 2947
- Gog Cli829
- Promptify672
- Tavily648
- Mgrep Code Search642
- Gpt Image 1 5636
- Copilot Sdk549
- Here Be Git546
Similar to Ray So Code Snippet
More Design & UI/UXnano-banana-proSkillintellectronica/agent-skills3.3K installsGenerates and edits images with Google's Nano Banana Pro (Gemini 3 Pro Image) API at 1K, 2K, or 4K.
snipgrapherSkillmcollina/skills1.1K installsGenerates syntax-highlighted code snippet images via the snipgrapher CLI, with reusable named profiles for consistent styling.
nano-banana-2Skillintellectronica/agent-skills947 installsGenerative image skill that creates and edits images from prompts with explicit resolution and aspect-ratio control.
NakkasMCP serverarikusi32 starsRenders animated SVG graphics from JSON configs, returning PNG previews and reusable artifacts.
gpt-image-2Skillagentspace-so/agent-skills6 installsGenerate and edit images through the user's ChatGPT Plus or Pro plan via the local Codex CLI.