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/apexiq/skillsmith/cleanupgit clone --depth 1 https://github.com/ApexIQ/skillsmithWrote 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/apexiq/skillsmith/cleanup)<a href="https://agentmods.dev/commands/apexiq/skillsmith/cleanup"><img src="https://agentmods.dev/badge/commands/apexiq/skillsmith/cleanup.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.1 | $0.00000 | $0.00535 |
| Opus 5 | $0.00000 | $0.00267 |
| Sonnet 5 | $0.00000 | $0.00107 |
| Haiku 4.5 | $0.00000 | $0.00053 |
Grade A, and why
cleanup 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 6d 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.
This is a copy
83% identical to align — 10 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 28 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Command: /cleanup
This command is powered by a dynamic Skillsmith workflow bundle.
Goal
cleanup obsolete code and artifacts for library click, pytest, arch-business-logic, arch-ui, arch-unknown
Resources
- Workflow Bundle: .agent/workflows/cleanup.md
- Top Skills: notebooklm, loki_mode, terraform_module_library, javascript_testing_patterns, makepad_skills
Execution Plan
- Read .agent/project_profile.yaml and .agent/context/project-context.md.
- Confirm the requested goal against the current project stage and target tools.
- [AND] Discover stage: Read .agent/project_profile.yaml and .agent/context/project-context.md before taking action. Acceptance: Project profile and generated context are present or inferred without error.; The ranked skill list is deterministic for the current goal and profile..
- [OR] Plan stage: Turn the goal into a minimal patch plan with explicit verification checkpoints. Acceptance: The plan names concrete files, commands, or subsystems.; Every planned step has at least one verification check..
- [OR] Build stage: Implement the smallest coherent change needed for the goal. Acceptance: The patch changes only the files needed for the requested goal.; The requested behavior is present in the generated workflow output..
- [AND] Review stage: Inspect the changed files for correctness, regressions, and missing coverage. Acceptance: The review names concrete risks or confirms the change is safe.; The review output is ordered and actionable for the next agent..
- [AND] Test stage: Run the relevant automated tests for the changed workflow behavior. Acceptance: Targeted tests pass after the implementation change.; The failure mode is observable if the stage structure regresses..
- [AND] Ship stage: Make the workflow output usable as a release-grade handoff artifact. Acceptance: The generated workflow includes both stage structure and the legacy
stepslist.; Compose output remains stable across repeated runs with the same inputs.. - [AND] Reflect stage: Summarize what the evidence says about the current run. Acceptance: Reflection text is grounded in the run's actual feedback or retry state.; Any mode suggestion comes from the current evidence, not a dummy rule..
- Load the top relevant skills: notebooklm, loki_mode, terraform_module_library, javascript_testing_patterns, makepad_skills.
- Verification loop: run 1 verification pass before completion.
- Run the most relevant test or validation command before completion.
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.
- 6d ago First seen · 28 lines · 0 tokens per session scan A 8aef650399f3
cleanup is a command published in the GitHub repository ApexIQ/skillsmith (5 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 535 tokens. A static security scan graded it A with 0 findings. It is 83% identical to align, differing in 10 lines, and is treated as a copy.
Other commands, from other repositories
story-continue
Resume an interrupted story from where you left off.
doctor
Run read-only health checks on the Kobiton automate plugin (CLI, credentials, profile).
lessons
Lists the feedback memories captured for the current project (and globally) — the "lessons" learned from user corrections.
dev-prisma
Command "dev-prisma" from christopherlouet/claude-base, covering agent dev-prisma (pointer), context, delegate to the vendor toolkit, prisma's preferred path (verify on their readme) and fallback — clone and copy.
ops-gitflow
Manage the GitFlow branching model: init, feature, release and hotfix branches.
discover
Build or refresh the on-demand discovery map (concept graph + per-node notes).