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 agents/assafkip/kipi-system/01c-copy-diffgit clone --depth 1 https://github.com/assafkip/kipi-systemWrote 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/agents/assafkip/kipi-system/01c-copy-diff)<a href="https://agentmods.dev/agents/assafkip/kipi-system/01c-copy-diff"><img src="https://agentmods.dev/badge/agents/assafkip/kipi-system/01c-copy-diff.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 | $0.00020 | $0.00629 |
| Opus 5 | $0.00010 | $0.00315 |
| Sonnet 5 | $0.00004 | $0.00126 |
| Haiku 4.5 | $0.00002 | $0.00063 |
Grade A, and why
01c-copy-diff 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.
How it starts
The opening of the file, as written. The whole thing — 49 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Agent: Copy Diff (Learnings Loop)
Compare yesterday's generated copy against what the founder actually posted. Log edits.
Reads
{{BUS_DIR}}/../{yesterday}/hitlist.json(generated copy)- Chrome MCP: founder's actual LinkedIn activity
Writes
{{BUS_DIR}}/copy-diffs.json
Instructions
Step 1: Find yesterday's hitlist
Calculate yesterday's date. Read {{QROOT}}/.q-system/agent-pipeline/bus/{yesterday}/hitlist.json. If missing, write {"date":"{{DATE}}","diffs":[],"note":"no previous hitlist found"} and exit.
Step 2: Check what was posted
Use Chrome MCP to check https://www.linkedin.com/in/me/recent-activity/all/ and messaging. For each hitlist action: check if comment/DM/CR was sent, compare generated vs actual text.
Step 3: Classify
used_as_is: >95% matchedited: 50-95% match (capture the diff AND the full original + posted text)skipped: not posted/sentunknown: couldn't verify
Step 4: Write
For edited status, include original_text (yesterday's drafted copy) and posted_text (what the founder actually posted). The full-text pair feeds route-overrides-to-learn.py, which builds inbox files for the learn-from-correction skill. edit_summary stays as a short human-readable note.
{"date":"{{DATE}}","yesterday":"YYYY-MM-DD","actions_checked":10,"diffs":[{"action_rank":1,"contact_name":"...","action_type":"comment|dm|connection_request","status":"edited","edit_summary":"shortened, removed CTA","original_text":"<full drafted text>","posted_text":"<full posted text>"}],"stats":{"used_as_is":0,"edited":0,"skipped":0,"unknown":0},"persisted_to_sqlite":false}
For non-edited statuses, omit original_text and posted_text (they only carry information when an override exists).
Step 5: Persist edits to SQLite
For each edited action, insert into copy_edits table in {{QROOT}}/.q-system/data/metrics.db. Required columns: date, contact_name, action_type, original (full drafted text), edited (full posted text), edit_summary. The full-text pair is what route-overrides-to-learn.py reads from to build learn-from-correction inputs.
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 · 49 lines · 20 tokens per session scan A e756febe3bd2
01c-copy-diff is an agent published in the GitHub repository assafkip/kipi-system (109 stars, last pushed today), licensed MIT. It adds 20 tokens to every session and 629 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-09-03.
Other agents, from other repositories
compression-worker
Haiku-based agent for compressing verbose memories into concise summaries.
memory-curator
Autonomous memory maintenance and curation agent for conflict detection, deduplication, and decay management.
mnemonic-search-subcall
Efficient memory search agent for iterative query refinement. Executes targeted ripgrep searches and returns structured findings.
ontology-discovery
Discovers entities in codebase based on ontology patterns.
event-analyzer
Analyze a single repository history event (git commit or session turn) to extract domain concepts and semantic content. Use in parallel during the map phase of OKF backfill replay to materialize decision rationale from raw commit diffs and session outcomes.
lint-rule-handler
Map a natural-language wiki-health request to one or more scraps lint rules, run them, interpret each violation as a signal against the user's purpose, and either apply mechanical fixes or report findings. Use this agent for purpose-driven Scraps lint work.