sonicjs: Command for Claude Code

.claude/commands/sonicjs-blog-image.md

sonicjs-blog-image is a command for Claude Code from SonicJs-Org/sonicjs. It costs 0 tokens per session (1,587 once invoked), scanned A, original, MIT.

A command that creates blog-post images with OpenAI’s DALL·E image-generation service from a topic you provide.

In plain words
What is it for?
Use it to create hero images, diagrams, illustrations, or screenshot-style mockups in a dark, blue-toned 3D style.
Why use it?
It removes the need to design an image prompt and visual direction from scratch for every blog post.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: positional $N argument.

This is SonicJs-Org/sonicjs's own configuration. It tells Claude Code how to work on sonicjs itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything sonicjs configures →

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/lane/Dropbox/Data/.env.

About the project

SonicJS is a TypeScript-first headless content-management system that exposes content through REST APIs and an administrative interface, running on Cloudflare Workers or other SQLite-compatible environments. It is for developers building applications that manage and publish structured content, with storage through technologies such as D1 and R2. Catalogue add-ons help coding agents create and work with SonicJS projects and content.

SonicJs-Org/sonicjs · 1,697 stars · on GitHub · sonicjs.com

Reuse

Borrowing it

Nothing to install: this file belongs to SonicJs-Org/sonicjs. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/SonicJs-Org/sonicjs/main/.claude/commands/sonicjs-blog-image.md
Clone the repo
git clone --depth 1 https://github.com/SonicJs-Org/sonicjs

Made for: Claude Code.

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 sonicjs-blog-image

README.md
[![agentmods](https://agentmods.dev/badge/commands/sonicjs-org/sonicjs/sonicjs-blog-image.svg)](https://agentmods.dev/commands/sonicjs-org/sonicjs/sonicjs-blog-image)
Your own site
<a href="https://agentmods.dev/commands/sonicjs-org/sonicjs/sonicjs-blog-image"><img src="https://agentmods.dev/badge/commands/sonicjs-org/sonicjs/sonicjs-blog-image.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,587 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00000 $0.01587
Opus 5 $0.00000 $0.00794
Sonnet 5 $0.00000 $0.00317
Haiku 4.5 $0.00000 $0.00159

Measured 9d ago against content hash 8bf5c20899cb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

sonicjs-blog-image scanned grade A with 0 findings 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 9d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/sonicjs-blog-image.md · 173 lines

How it starts

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

Blog Image Generation Agent (ChatGPT DALL-E)

Generate professional blog post images using OpenAI's DALL-E API for the topic: $ARGUMENTS

Instructions

This agent generates high-quality, on-brand images for SonicJS blog posts using OpenAI's DALL-E image generation API.

1. Image Requirements Analysis

Based on the blog topic provided, determine:

  • Image Type: Hero image, diagram, illustration, or screenshot mockup
  • Style: 3D isometric visualization with depth and dimension
  • Color Palette: Dark slate background (nearly black), electric blue (#3B82F6) glowing elements
  • Dimensions: 1792x1024px (hero image)

2. Prompt Engineering

Create an optimized DALL-E prompt following these guidelines:

Effective Prompt Structure:

[Style] [Subject] [Setting/Context] [Color/Lighting] [Technical Details]

Example Prompts:

  • "3D isometric visualization of edge computing network, floating platforms with global server nodes connected by glowing circuits, dark slate background nearly black, electric blue (#3B82F6) glowing connections, sophisticated futuristic tech aesthetic, clean geometric shapes, no text, professional enterprise visualization with depth"
  • "3D isometric visualization of three-tiered caching architecture, horizontal layers showing memory cache, KV storage, and database with glowing data packets flowing upward, dark slate background nearly black, electric blue accents, futuristic tech aesthetic"
  • "3D isometric visualization of content management system, floating content cards connected to central glowing database cylinder with data streams to cloud icons, dark slate background nearly black, electric blue glowing elements"

Brand Guidelines for SonicJS Images:

  • Background: Dark slate, nearly black (#1E293B or darker)
  • Accent color: Electric blue (#3B82F6) for glowing elements and connections
  • Style: 3D isometric with depth and dimension, futuristic tech aesthetic
  • Avoid: Flat 2D designs, cartoonish elements, light backgrounds, text in images
  • Include: Floating platforms, glowing connections, circuit-like patterns, geometric shapes, professional enterprise feel

Read the full file on GitHub · 173 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. 9d ago First seen · 173 lines · 0 tokens per session scan A 8bf5c20899cb

Subscribe to this mod's changes

sonicjs-blog-image is a command published in the GitHub repository SonicJs-Org/sonicjs (1,697 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,587 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.