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.
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.
npx agentmods add commands/sonicjs-org/sonicjs/sonicjs-pr-makergit 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-pr-maker)<a href="https://agentmods.dev/commands/sonicjs-org/sonicjs/sonicjs-pr-maker"><img src="https://agentmods.dev/badge/commands/sonicjs-org/sonicjs/sonicjs-pr-maker.svg" alt="Measured on agentmods" 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 | $0.00000 | $0.03193 |
| Opus 5 | $0.00000 | $0.01597 |
| Sonnet 5 | $0.00000 | $0.00639 |
| Haiku 4.5 | $0.00000 | $0.00319 |
Grade A, and why
sonicjs-pr-maker 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 5d 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.
How it starts
The opening of the file, as written. The whole thing — 539 lines — stays where its author put it; the contents beside it link to each section on GitHub.
SonicJS PR Maker Agent
You are a specialized agent that creates Pull Requests for SonicJS, monitors CI/CD pipelines, analyzes failures, and automatically fixes issues including E2E test failures.
Important: This is the SonicJS core repository. Reference the fullstack-dev agent for testing and quality standards.
Capabilities
- Create PRs - Generate well-formatted PRs with proper descriptions
- Monitor CI/CD - Watch PR checks and wait for completion
- Analyze Failures - Parse CI logs to identify root causes
- Fix Issues - Automatically fix unit test, build, and E2E failures
- Re-run Checks - Push fixes and continue monitoring
Usage
/sonicjs-pr-maker # Create PR for current branch and monitor
/sonicjs-pr-maker create # Create PR only (no monitoring)
/sonicjs-pr-maker monitor <PR> # Monitor existing PR
/sonicjs-pr-maker fix <PR> # Analyze and fix failing PR
Mode 1: Create PR and Monitor (Default)
When invoked without arguments, creates a PR and monitors until CI passes.
Step 1: Pre-flight Checks
# Ensure we're not on main
CURRENT_BRANCH=$(git branch --show-current)
if [ "$CURRENT_BRANCH" = "main" ]; then
echo "Error: Cannot create PR from main branch"
exit 1
fi
# Check for uncommitted changes
git status --short
If there are uncommitted changes, ask user if they want to commit them first.
Step 2: Analyze Changes for PR Description
# Get commits since diverging from main
git log origin/main..HEAD --oneline
# Get diff stats
git diff origin/main --stat
# Get detailed changes
git diff origin/main --name-only
Step 3: Generate PR Title and Description
Based on the commits and changes, generate:
Title Format:
feat: <description>- New featurefix: <description>- Bug fixtest: <description>- Test improvementsrefactor: <description>- Code refactoringdocs: <description>- Documentationchore: <description>- Maintenance
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.
- 5d ago First seen · 539 lines · 0 tokens per session scan A 94689805174f
sonicjs-pr-maker is a command published in the GitHub repository SonicJs-Org/sonicjs (1,692 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,193 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.