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/assafkip/kipi-system/issue-amendgit clone --depth 1 https://github.com/assafkip/kipi-systemWhat 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.00026 | $0.00601 |
| Opus 5 | $0.00013 | $0.00300 |
| Sonnet 5 | $0.00005 | $0.00120 |
| Haiku 4.5 | $0.00003 | $0.00060 |
Grade A, and why
issue-amend 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 yesterday.
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.
Copies of this mod
1 near-identical copy found in the catalogue:
- issue-amend — 97% identical, 2 lines differ
What it actually says
Use this when you realize mid-build that the spec was wrong. The flow:
-
The founder edits the issue spec in
q-ktlyst/.q-system/issues/<id>.md(or the instance-equivalent path). Typical edits: widenallowed_files, adjustrequired_checks, add a newdisallowed_filesentry. -
Run amend with a short reason explaining what changed and why:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/issue_runner.py" amend \ --reason "realized the bug also lives in helpers/*, widening scope"The runner does four things:
- Re-reads the spec from disk.
- Re-snapshots
allowed_files,required_checks, anddisallowed_filesinto state. - Clears
receipts.verifiedandreceipts.reviewed(forces re-verify + re-review). - Appends an entry to
state.amendmentswith timestamp, reason, old snapshot, new snapshot.
What amend does NOT change:
review_roundscounter (the cap still governs; amending does not reset review budget).- Spec
status(staysin-progress). findings_triagedreceipt (that receipt only matters at closeout).
-
Exit 0 means the amendment is logged. Exit 2 means either no active issue or missing
--reason. -
Re-run
/issue-verifyto regenerate the verified receipt against the new scope. Then/issue-reviewfor the reviewed receipt. The runner's review-rounds cap still applies; amending does not grant extra review budget. If a full standard + adversarial pair already ran pre-amend,ISSUE_ALLOW_REVIEW_REPEAT=1is the override knob. -
On
/issue-closeout,closeflushes all entries fromstate.amendmentsinto an## Amendmentssection at the bottom of the spec file. That becomes the permanent audit record. After close, the spec shows exactly what was amended, when, why, and what the scope looked like before and after each amendment.
Guardrails:
- Amend is for genuine mid-build spec corrections. It is not a retry button after a bad review. If the issue as specified was fine but the implementation was wrong, fix the implementation. Do not amend.
- Amend requires a non-empty
--reason. Empty strings are rejected. - Amend does not create or modify files other than
.claude/state/active-issue.json. The spec edit is a separate manual step before amend. - Repeated amendments are fine. Each one records its own before/after snapshot and adds its own entry to the permanent footer on close.
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.
- yesterday First seen · 39 lines · 26 tokens per session scan A 76870a6e5b55
issue-amend is a command published in the GitHub repository assafkip/kipi-system (108 stars, last pushed today), licensed MIT. It adds 26 tokens to every session and 601 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-30.
Other commands, from other repositories
capture
Search first: /mnemonic:search {relevantkeywords} Capture after: /mnemonic:capture {namespace} "{title}".
recall
Recall memories with filtering and search.
custodian
Unified memory custodian for audits, validation, and maintenance.
integrate
Wire mnemonic memory operations into other Claude Code plugins.
query
Structured frontmatter queries using yq.
search
Full-text search across all memories.