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 skills add nonlinear-xyz/factory-kit --skill factory-kit-auditgit clone --depth 1 https://github.com/nonlinear-xyz/factory-kitWrote 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/skills/nonlinear-xyz/factory-kit/factory-kit-audit)<a href="https://agentmods.dev/skills/nonlinear-xyz/factory-kit/factory-kit-audit"><img src="https://agentmods.dev/badge/skills/nonlinear-xyz/factory-kit/factory-kit-audit.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.00024 | $0.00421 |
| Opus 5 | $0.00012 | $0.00211 |
| Sonnet 5 | $0.00005 | $0.00084 |
| Haiku 4.5 | $0.00002 | $0.00042 |
Grade A, and why
factory-kit-audit 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 7d 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
You're auditing the factory-kit's token cost. This is a read-only report — no files change, no symlinks touched.
What to do
-
Resolve the kit root. The script lives at
bin/kit-audit.shin the installed kit. Prefer the host's current-skill-directory capability and walk up fromskills/factory-kit-audit/to the plugin root. For symlink installs, resolve the currentSKILL.mdsymlink before walking up. Do not assume a fixed home-directory checkout.If the kit can't be found, tell the user to run the kit's
install.shfirst and stop. -
Run the audit. Execute
<kit_root>/bin/kit-audit.shthrough the host's shell capability. The script prints the report to stdout. -
Show the output verbatim in a fenced code block. Don't reformat it — the column alignment matters.
-
One-line takeaway. Below the code block, a single sentence calling out what matters most. Pick from:
- Baseline cost framing — "Baseline is Xk tokens per session; everything else is on-demand."
- Outlier flag — if the trim section named outliers, restate the action
- All-good — "Kit is balanced; no trim work needed."
No further commentary. The numbers speak; you point at the one thing worth doing.
Style
Follow factory-voice.md. This is a diagnostic — terse, numbers-first, no narration. If the user asks "why X is so large," then dig in. Don't volunteer interpretation beyond the one-line takeaway.
The script's estimate is ~4 chars per token. Real tokenizer counts differ by 10-20%. Don't overstate precision — the relative shape across assets is what's actionable, not the absolute numbers.
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.
- 7d ago First seen · 31 lines · 24 tokens per session scan A 267d0e445f27
factory-kit-audit is a skill published in the GitHub repository nonlinear-xyz/factory-kit (9 stars, last pushed 1mo ago), licensed MIT. It adds 24 tokens to every session and 421 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 skills, from other repositories
hook-template
Generate hook script from template. Use when adding a new hook, wiring a PreToolUse/PostToolUse/Stop/Notification hook, or scaffolding hook config for settings.json.
skill-template
Generate custom skill/command from template. Use when creating a new skill or slash command from scratch, or scaffolding a skill file with correct frontmatter.
check-environment
Verify Claude, Codex, and Grok availability plus Director guidance, relay, agents, and skills. Audit optional hooks only when selected. Use after installation or when a native surface misbehaves.
doc-writer
Documentation templates and standards: README structure, API reference format, changelog (Keep a Changelog), and comment guidelines. Use when creating or updating documentation. Loaded automatically by the doc-writer agent.
test-runner
Test execution reference: framework detection (pytest/jest/vitest/go/cargo/junit) and correct run/coverage commands, plus failure-analysis steps. Use when running tests, analyzing test failures, or verifying coverage after code changes.
agents
List all available agents (core, expert, self-evolving). Use when the user asks what agents are available or runs /agents.