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/nrwl/nx/commitgit clone --depth 1 https://github.com/nrwl/nxWhat 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.00311 |
| Opus 5 | $0.00000 | $0.00156 |
| Sonnet 5 | $0.00000 | $0.00062 |
| Haiku 4.5 | $0.00000 | $0.00031 |
Grade A, and why
commit 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.
What it actually says
Commit Command
Description
Create a git commit following Nx repository standards and validation requirements.
Usage
/commit [message]
What this command does:
- Pre-commit validation: Runs the full validation suite (
pnpm nx prepush) to ensure code quality - Formatting: Automatically formats changed files with oxfmt
- Testing: Runs tests on affected projects to validate changes
- Commit creation: Creates a well-formed commit with proper message formatting (without co-author attribution)
- Status reporting: Provides clear feedback on the commit process
Workflow:
- Format any modified files with oxfmt
- Run the prepush validation suite
- If validation passes, stage relevant changes
- Create commit with descriptive message
- Provide summary of what was committed
Commit Message Format:
- Use conventional commit format when appropriate
- Include scope (e.g.,
feat(core):,fix(angular):,docs(nx):) - Keep first line under 72 characters
- Include detailed description if needed
Examples:
/commit "feat(core): add new project graph visualization"/commit "fix(react): resolve build issues with webpack config"/commit "docs(nx): update getting started guide"
Validation Requirements:
- All tests must pass
- Code must be properly formatted
- No linting errors
- E2E tests for affected areas should pass
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 · 48 lines · 0 tokens per session scan A 4103d0ca37f6
commit is a command published in the GitHub repository nrwl/nx (29,291 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 311 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
migrate-example
Migra un ejemplo de Web Worker al dominio neutral y lo renderiza en los 5 themes (pipeline punta a punta con loop de design-review).
index
All commands extend BaseCommand (src/cli/base-command.ts).
Review Code Structure
Audit class responsibilities, package boundaries, duplication, and rule compliance across Issues.
Fix Sonar Issues
Run local static analysis and fix findings with conservative, behavior-preserving changes.
epic-plan
Run /epic-plan — see .claude/commands/epic-plan.md for the authoritative spec.
upgrade-controlflow
Execute the Angular 17 control flow migration converting structural directives to built-in control flow.