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/w2ur/claude-code-setup/new-appgit clone --depth 1 https://github.com/w2ur/claude-code-setupWhat 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.00016 | $0.01368 |
| Opus 5 | $0.00008 | $0.00684 |
| Sonnet 5 | $0.00003 | $0.00274 |
| Haiku 4.5 | $0.00002 | $0.00137 |
Grade A, and why
new-app 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 2d 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 — 129 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Create a new portfolio app named $0 in ~/Dev/$0.
Validation
- Name format:
$0must be kebab-case. If it contains uppercase, spaces, or underscores, reject and ask for a corrected name. - Name collision: check if
~/Dev/$0already exists. If yes, abort. - GitHub collision: run
gh repo view {github-username}/$0 2>/dev/null— if the repo already exists, warn.
Information Gathering
Before scaffolding, ask the owner:
- What does this app do? (one paragraph)
- Who is it for? (public / family / personal)
- Preferred stack? (or "you choose")
- User-facing language? (French / English / Bilingual)
- Deploy target? (Netlify / Vercel / Cloudflare / local-only for now)
- Should it get a tile on the hub ({portfolio-site-url})? If yes, get a one-line French tagline, one-line English tagline, and (if it's a real project the hub would feature, not a personal-only tool) a facts line for each language.
Scaffold
Using the answers above, create:
Repository setup
mkdir -p ~/Dev/$0
cd ~/Dev/$0
git init
CLAUDE.md
Create covering: project overview, tech stack, dev/build commands, deployment, and any conventions that override or extend the global CLAUDE.md. Include:
- Project overview from the owner's description
- Tech stack from chosen stack
- User-facing language
- Development commands (npm install && npm run dev, or equivalent)
- Deployment info
README.md
Write a real README (not boilerplate) with:
- Project description
- Tech stack
- How to run locally
- Deployment setup
- Layer 2 frontmatter (per
portfolio-conventions) at the very top of the file:
If the owner only gave one language's tagline (question 6), write only that--- name: [Display Name] tagline_fr: "[one-line FR tagline]" tagline_en: "[one-line EN tagline]" facts_fr: "[facts line, only if the app will get a hub tile]" facts_en: "[facts line, only if the app will get a hub tile]" ---tagline_*key — do not invent a translation nobody asked for. Omitfacts_*entirely for apps that won't get a hub tile.
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.
- 2d ago First seen · 129 lines · 16 tokens per session scan A 3a0fed2771d1
new-app is a command published in the GitHub repository w2ur/claude-code-setup (2 stars, last pushed 9d ago), licensed MIT. It adds 16 tokens to every session and 1,368 once invoked, about $0.0001 per session on Opus 5. 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-31.
Other commands, from other repositories
vibe-agents
Step 4 of the vibe-coding workflow: generate AGENTS.md + tool configs so the AI builder stays on track.
icon-lookup
Search for icons by name, or identify a PUA character.
fest-show
Show festival progression (in-progress tasks, roadmap, and dependency view).
roadmap
Generate or update a per-release roadmap from the PRD and analysis documents. Triages features, groups into phases, and produces a structured roadmap.
standup
Show a daily standup summary with completed, in-progress, and blocked tasks across all active epics.
adr
Architecture Decision Record (ADR) command. Documents architectural decisions in a structured format.