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/specsnl/agent-specs/update-projectgit clone --depth 1 https://github.com/specsnl/agent-specsWhat 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.00015 | $0.03906 |
| Opus 5 | $0.00008 | $0.01953 |
| Sonnet 5 | $0.00003 | $0.00781 |
| Haiku 4.5 | $0.00002 | $0.00391 |
Grade A, and why
update-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 yesterday.
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 — 272 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Goal
Perform a full dependency update of the project.
All commands MUST be executed via task. Never run composer, npm, node, or php directly on the host.
Each phase specifies its own error-handling policy. Some phases allow attempting a fix before aborting — follow the per-phase instructions rather than a blanket stop rule.
Commit Strategy
When committing changes at the end of each phase, only stage files that are directly related to that phase's purpose. If other files have changed that are unrelated to the phase (e.g., a markdown file or documentation updated as a side-effect of running a command), commit those separately with a descriptive commit message that reflects what those changes actually are. Never bundle unrelated changes into a phase commit.
Phase 1 --- Repository Safety Checks
- Ensure the working (git) tree is clean:
- No staged changes
- No unstaged changes
- No untracked files
- If not clean: Abort immediately
- Inform the user to commit or stash changes
- Synchronize with remote:
git fetch --prune - Check if
vendor-updatesalready exists on the remote. If it does, abort and inform the user to delete the remote branch before continuing. - Check if local
mainbranch is up to date withorigin/main:- If behind → abort and inform the user to pull the latest changes.
- If ahead with unique commits → abort and inform the user to push or rebase their commits.
- If diverged → This can occur when testing locally (e.g., running
task checkall) — the local branch may have commits not yet pushed to the remote. Ask the user which branch to use as the source for the vendor-updates branch in step 5:origin/mainor localmain. Choosing localmainallows you to test iterations without pushing to the remote.
Warning: choosing the local main branch may lead to merge conflicts later if the remote main has commits the local branch doesn't know about (common when you don't push test iterations).
- Prepare branch
vendor-updates:- If branch does not exist → create from the chosen branch in step 4 (
origin/mainby default, or localmainif the user selected it in a diverged state) - If branch exists:
- If fully merged into
main→ delete locally and recreate from the chosen branch. - If behind on
mainand has NO unique commits → resetvendor-updatesto the chosen branch. - If it contains unique commits → abort and notify user.
- If fully merged into
- If branch does not exist → create from the chosen branch in step 4 (
- Make sure that there is an
auth.jsonfile in the project root with correct credentials for private repositories if the composer.json file contains a repositories section with private repositories like filament. If not, abort and inform the user to create it. Suggest to the user to runtask setup:auth.
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.
- yesterday First seen · 272 lines · 15 tokens per session scan A acca07c175f6
update-project is a command published in the GitHub repository specsnl/agent-specs (2 stars, last pushed 16d ago), licensed MIT. It adds 15 tokens to every session and 3,906 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
git
Git operations with intelligent commit messages and workflow optimization.
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.
analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.
constitution
Create or update the project constitution from interactive or provided principle inputs.