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.
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.
curl -O https://raw.githubusercontent.com/SonicJs-Org/sonicjs/main/.claude/commands/sonicjs-seo-sitemap.mdgit clone --depth 1 https://github.com/SonicJs-Org/sonicjsWrote 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.
[](https://agentmods.dev/commands/sonicjs-org/sonicjs/sonicjs-seo-sitemap)<a href="https://agentmods.dev/commands/sonicjs-org/sonicjs/sonicjs-seo-sitemap"><img src="https://agentmods.dev/badge/commands/sonicjs-org/sonicjs/sonicjs-seo-sitemap/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.
<a href="https://agentmods.dev/commands/sonicjs-org/sonicjs/sonicjs-seo-sitemap"><img src="https://agentmods.dev/badge/commands/sonicjs-org/sonicjs/sonicjs-seo-sitemap.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00518 |
| Opus 5 | $0.00000 | $0.00259 |
| Sonnet 5 | $0.00000 | $0.00104 |
| Haiku 4.5 | $0.00000 | $0.00052 |
Grade A, and why
sonicjs-seo-sitemap 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 10d 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.
What it actually says
Generate/Update Sitemap for SonicJS
Create or update the sitemap.xml for the SonicJS documentation website.
Instructions
-
Discover all pages in the www/ Next.js app:
- Scan
www/src/app/for allpage.mdxandpage.tsxfiles - Include the homepage
- Include all documentation pages
- Include blog posts (if any)
- Scan
-
Generate sitemap.xml with:
- Full URLs (https://sonicjs.com/...)
- Last modified dates (from git or file mtime)
- Change frequency estimates
- Priority values (1.0 for homepage, 0.8 for main docs, 0.6 for sub-pages)
-
Create sitemap route for Next.js:
- Create
www/src/app/sitemap.tsfor dynamic sitemap generation - Or create static
www/public/sitemap.xml
- Create
Sitemap Format
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://sonicjs.com/</loc>
<lastmod>2024-01-15</lastmod>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>
<!-- More URLs -->
</urlset>
Next.js Dynamic Sitemap (Preferred)
// www/src/app/sitemap.ts
import { MetadataRoute } from 'next'
export default function sitemap(): MetadataRoute.Sitemap {
const baseUrl = 'https://sonicjs.com'
// Get all doc pages dynamically
const docs = [
{ url: '/', priority: 1.0 },
{ url: '/getting-started', priority: 0.9 },
// ... discover all pages
]
return docs.map(doc => ({
url: `${baseUrl}${doc.url}`,
lastModified: new Date(),
changeFrequency: 'weekly',
priority: doc.priority,
}))
}
Also Create robots.txt
# www/public/robots.txt
User-agent: *
Allow: /
Sitemap: https://sonicjs.com/sitemap.xml
Verification
After creating:
- Visit /sitemap.xml to verify it loads
- Test with Google Search Console
- Submit sitemap to search engines
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.
- 10d ago First seen · 79 lines · 0 tokens per session scan A cfe1e8eb4cf7
sonicjs-seo-sitemap is a command published in the GitHub repository SonicJs-Org/sonicjs (1,700 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 518 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.
Other commands, from other repositories
shadcn-add
Add a new ShadCN/UI component to Shade with Storybook stories.
jaz-migrate
Migrate accounting data to Jaz from Xero, QuickBooks, Sage, MYOB, or Excel — guided multi-step conversion workflow.
jaz-doc-collect
Scan and classify client documents for upload to Jaz — local files and cloud links (Dropbox, Drive, OneDrive).
jaz-tax-sg
Run Singapore Form C-S / C-S Lite corporate income tax computation using Jaz data — pull P&L, classify add-backs, compute capital allowances, apply exemptions.
jaz-audit-prep
Compile an audit preparation pack in Jaz — generate reports, schedules, and reconciliations for auditor or tax agent.
jaz-credit-control
Run credit control workflow in Jaz — review aged receivables, generate overdue chase list, assess bad debts.