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/agricidaniel/ace-claude-code/new-projectgit clone --depth 1 https://github.com/AgriciDaniel/ace-claude-codeWhat 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.00011 | $0.00657 |
| Opus 5 | $0.00005 | $0.00329 |
| Sonnet 5 | $0.00002 | $0.00131 |
| Haiku 4.5 | $0.00001 | $0.00066 |
Grade A, and why
ace:new-project 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 3d 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 — 120 lines — stays where its author put it; the contents beside it link to each section on GitHub.
This establishes the project specification that guides all subsequent work.
Check for existing project:
- If .ace/planning/PROJECT.md exists, offer to update or skip
- If .ace/planning/codebase/ exists, use it to inform questioning
Load templates: @.ace/templates/planning/project.md
0. Pre-Flight: Git Initialization
Read config.json for git.enabled and git.autoInit
if git.enabled AND git.autoInit:
Check if .git directory exists
if not exists:
Run: git init
Run: git add .ace/ CLAUDE.md .gitignore
Run: git commit -m "chore: initialize ace orchestration system"
Display: "Git repository initialized"
This ensures all projects have version control from the start.
1. Check Existing State
if .ace/planning/PROJECT.md exists:
Ask: "PROJECT.md already exists. Update it or skip?"
Options: "Update existing" / "Skip to /ace:create-roadmap"
2. Gather Project Information
Use AskUserQuestion to extract:
Core Value
"What is the ONE primary value this project delivers?"
- Keep to one sentence
- Focus on user benefit
Overview
"Describe what you're building and why (2-3 sentences)"
Requirements
"What are the must-have features? (List 3-5)"
For each must-have, ask: "Any should-have or nice-to-have features?"
Technical Stack
If codebase/ exists, pre-fill from STACK.md Otherwise ask: "What's your preferred tech stack?"
- Framework (Next.js, React, Express, etc.)
- Language (TypeScript, JavaScript)
- Database (PostgreSQL, MongoDB, SQLite)
- Styling (Tailwind, CSS Modules, etc.)
Constraints
"Any constraints I should know about?"
- Time constraints
- Technical limitations
- Compatibility requirements
Success Criteria
"How will you know this project is successful?"
3. Create PROJECT.md
Write to .ace/planning/PROJECT.md using template.
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.
- 3d ago First seen · 120 lines · 11 tokens per session scan A 4ecaed30a0a1
ace:new-project is a command published in the GitHub repository AgriciDaniel/ace-claude-code (24 stars, last pushed 4mo ago), licensed MIT. It adds 11 tokens to every session and 657 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-30.
Other commands, from other repositories
canvas
AI-orchestrated visual canvas production — create, populate, layout, present, generate, and export Obsidian canvases.
document
Generate documentation for code.
test
Generate comprehensive tests for a file or function.
review
Review code for best practices and issues.
fix-issue
Analyze and fix a GitHub issue.
migrate
Create migration plan for upgrade.