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 jamestexas/agents --skill workflow-auditgit clone --depth 1 https://github.com/jamestexas/agentsWrote 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/jamestexas/agents/workflow-audit)<a href="https://agentmods.dev/skills/jamestexas/agents/workflow-audit"><img src="https://agentmods.dev/badge/skills/jamestexas/agents/workflow-audit/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/jamestexas/agents/workflow-audit"><img src="https://agentmods.dev/badge/skills/jamestexas/agents/workflow-audit.svg" alt="Reviewed on agentmods" width="80" 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.00059 | $0.03306 |
| Opus 5.5 | $0.00024 | $0.01322 |
| Sonnet 5.5 | $0.00012 | $0.00661 |
| Haiku 4.5 | $0.00006 | $0.00331 |
Grade B, and why
workflow-audit scanned grade B with 2 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 3mo 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.
Reads agent configuration directorieslowAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
- WHERE: `CLAUDE.md` | `~/.claude/settings.json` | new skill | new hook | dispatch pattern Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
Recursive force deletemediumDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
`git push --force`, `gh pr create`, `rm -rf`, `git reset --hard`, Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
How it starts
The opening of the file, as written. The whole thing — 354 lines — stays where its author put it; the contents beside it link to each section on GitHub.
workflow-audit — Mine the agent-chat corpus for optimization targets
Find 10–15 high-leverage interventions in HOW the user works with agents,
ranked by (bucket_coverage × cost), output as a single PII-scrubbed
markdown report.
This skill is intended to be dispatched as a sub-agent so the caller's context stays clean and the analysis is reproducible across machines.
When to use
- User asks to "audit my chat history", "find optimization targets", "what am I correcting agents on repeatedly", or similar.
- User explicitly invokes
/workflow-audit. - Periodically (e.g. monthly) as a maintenance ritual on the user's CC setup.
Arguments
$ARGUMENTS — optional, positional:
- Output path. Default:
~/workflow-audit-<YYYYMMDD>.md. - Weeks of corpus to scan. Default:
12.
Prerequisites
The agent must have:
-
machebinary for the chat-corpus ingest. If missing:git clone https://github.com/agentic-research/mache ~/.cache/workflow-audit/mache cd ~/.cache/workflow-audit/mache && task install -
chat-embedbinary from ley-line-open. If missing:git clone https://github.com/agentic-research/ley-line-open ~/.cache/workflow-audit/llo cd ~/.cache/workflow-audit/llo && cargo install --path rs/ll-open/chat-embed -
Python 3 with stdlib only (used for JSONL parsing + scoring). No third-party deps.
If any prereq install fails, bail with a clear error, do not fabricate findings.
Load-bearing rules
Three rules that MUST hold for the report to be trustworthy. If you find yourself relaxing any of them, stop and report why instead of soldiering on.
Rule 1 — Anti-temporal-bias
The user dispatches a lot of agents; recent weeks are dense and biased.
- Bucket sessions by ISO week (
YYYY-Www). - Exclude the 2 most recent calendar weeks from aggregation.
- For each finding, compute
bucket_coverage = weeks_appearing / weeks_scanned. - Rank by
bucket_coverage × estimated_cost, NOT by raw count. - Drop any finding appearing in fewer than 3 distinct buckets.
- If a single week contributes >40% of a finding's occurrences, either drop the finding or flag the concentration in the report.
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.
- 3mo ago First seen · 354 lines · 59 tokens per session scan B fd9cbd555a79
workflow-audit is a skill published in the GitHub repository jamestexas/agents (2 stars, last pushed today), licensed Apache-2.0. It adds 59 tokens to every session and 3,306 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 2 findings (reads agent configuration directories, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
workflow-audit compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| workflow-auditjamestexas/agents | Skill | 2 | today | Apache-2.0 | B | 59 | Claude Code |
| soul-gradercobibean/soul-grader-skill | Skill | 60 | 3mo ago | MIT | A | 45 | Codex |
| markdown-ui-dslMegaByteMark/markdown-ui-dsl | Skill | 25 | 8mo ago | MIT | A | 25 | Claude Code, Codex |
| research-dspyGrayCodeAI/starling | Skill | 2 | 3mo ago | MIT | A | 36 | Claude Code |
| research-guidanceGrayCodeAI/starling | Skill | 2 | 3mo ago | MIT | A | 39 | Claude Code |
| research-instructorGrayCodeAI/starling | Skill | 2 | 3mo ago | MIT | A | 39 | Claude Code |
| reviewvercel/eve | Skill | 6.1k | today | Apache-2.0 | A | 31 | Claude Code, Codex |