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 chocomyong/harness-kit --skill pattern-cardgit clone --depth 1 https://github.com/chocomyong/harness-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/chocomyong/harness-kit/pattern-card)<a href="https://agentmods.dev/skills/chocomyong/harness-kit/pattern-card"><img src="https://agentmods.dev/badge/skills/chocomyong/harness-kit/pattern-card/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/chocomyong/harness-kit/pattern-card"><img src="https://agentmods.dev/badge/skills/chocomyong/harness-kit/pattern-card.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.00053 | $0.00452 |
| Opus 5.5 | $0.00021 | $0.00181 |
| Sonnet 5.5 | $0.00011 | $0.00090 |
| Haiku 4.5 | $0.00005 | $0.00045 |
Grade A, and why
pattern-card 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 1mo 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
Write a pattern card
The moment debugging ends is when the knowledge is cheapest to capture. A card moves the reason a fix exists out of someone's head and into the repo, so the next session does not "clean up" the guard and reopen the bug.
Steps
-
Read
PATTERNS.md: its index, the highest card number, and any card that already covers this area. If an existing card covers the same root cause, extend that card instead of adding one. -
Draft the card from this session's actual evidence:
### PATTERN-<NN>: <one-line name of the failure> - **Symptom:** what was actually seen - error text, wrong output, crash - not the cause. Several symptoms with one cause? List them all; co-occurrence is a clue. - **Debug path:** what was checked, in order, including the dead ends. - **Root cause:** one or two sentences. Cannot state it that tightly? It is not found yet. - **Prevention rule:** a concrete, checkable rule. "Be careful" is not a rule; "always pass `**kwargs` to the worker callback" is. (learned <version or date>) -
Add the card number to the index row for the touched area (create the row if needed). A card missing from the index is a card nobody will read.
-
If the prevention rule can be enforced by a hook, test, or linter, propose that too - and say so in the card.
-
Show the card and the index change before saving.
Rules
- Do not copy the prevention rule into the main rules file; link the card number instead.
- Past roughly 25 cards, split into per-area files and keep
PATTERNS.mdas the index.
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.
- 1mo ago First seen · 39 lines · 53 tokens per session scan A 963f3633c66d
pattern-card is a skill published in the GitHub repository chocomyong/harness-kit (2 stars, last pushed 1mo ago), licensed MIT. It adds 53 tokens to every session and 452 once invoked, about $0.0002 per session on Opus 5.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-10-16.
pattern-card compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pattern-cardchocomyong/harness-kit | Skill | 2 | 1mo ago | MIT | A | 53 | Claude Code, Codex |
| diagnosing-bugsJoaoEquer/Oficina | Skill | 2 | 10d ago | MIT | A | 40 | Claude Code, Codex |
| improve-codebase-architectureJoaoEquer/Oficina | Skill | 2 | 10d ago | MIT | A | 80 | Claude Code, Codex |
| openrig-skillsmvschwarz/openrig | Skill | 9.0k | today | Apache-2.0 | A | 109 | Claude Code |
| oversight-teammvschwarz/openrig | Skill | 9.0k | today | Apache-2.0 | A | 117 | Claude Code, Codex |
| developing-openrigmvschwarz/openrig | Skill | 9.0k | today | Apache-2.0 | A | 84 | Claude Code, Codex |
| bug-fixerzxpmail/ReqForge | Skill | 18 | 16d ago | MIT | A | 0 | Claude Code |