Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add choiyounggi/dev-loop/plugin install dev-loopWrote 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/choiyounggi/dev-loop/knowledge-flush)<a href="https://agentmods.dev/skills/choiyounggi/dev-loop/knowledge-flush"><img src="https://agentmods.dev/badge/skills/choiyounggi/dev-loop/knowledge-flush/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/choiyounggi/dev-loop/knowledge-flush"><img src="https://agentmods.dev/badge/skills/choiyounggi/dev-loop/knowledge-flush.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.00117 | $0.03669 |
| Opus 5.5 | $0.00047 | $0.01468 |
| Sonnet 5.5 | $0.00023 | $0.00734 |
| Haiku 4.5 | $0.00012 | $0.00367 |
Grade A, and why
knowledge-flush 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 5d 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.
How it starts
The opening of the file, as written. The whole thing — 261 lines — stays where its author put it; the contents beside it link to each section on GitHub.
knowledge-flush — queued insights → verified wiki PR
Turn the ★ Insight candidates harvested from your sessions into a wiki
contribution, PR-only — you (the repo owner) review each PR and merge or
reject it. This skill NEVER auto-merges and NEVER pushes to main.
The queue lives at ~/.dev-loop/queue/*.jsonl (written by the Stop hook). Each
row is a candidate: trigger, directive, why, evidence, domain, tags, content.
Non-negotiable order (a PreToolUse gate enforces it)
hooks/pre-flush-pr-gate.sh blocks gh pr create on a knowledge branch unless
an INGEST_REPORT.md with three filled sections exists. So do the work first:
-
Acquire the shared flush lock — before anything else, including the checkout reset in step 1. This skill and the
hooks/auto-flush.shStop hook are the two entry points that drain the same queue; both serialize through the same lock (scripts/flush-lock.sh, issue #77).Generate this run's id once, here, and record it — every later
flush-lock.shcall in this flush (the abort-path release below, and step 5's release) must be prefixed with it. This is mandatory, not a style choice: each step in this skill runs in its own fresh shell, so nothing carries between them on its own — an unprefixed call computes a brand-new run id that no longer matches the one that acquired the lock, soreleaseis refused as a foreign caller and the lock leaks for the full TTL.RUNID="flush-$(date +%Y%m%d-%H%M%S)-$$" echo "$RUNID" # record this — every later flush-lock.sh call needs it export DEV_LOOP_FLUSH_RUN_ID="$RUNID" sh "${CLAUDE_PLUGIN_ROOT}/scripts/flush-lock.sh" acquireAlways set the run id with
exporton its own line immediately before theflush-lock.shcall, in the SAME shell invocation — never as an inlineDEV_LOOP_FLUSH_RUN_ID=... sh ...prefix. A headless run (seehooks/auto-flush.sh) auto-approves this call against a fixed allowlist that can match a literalsh .../flush-lock.sh acquire|releasecommand but can never auto-approve an unscoped env-var-prefixed command.- Exit 0 → proceed to step 1.
- Non-zero exit → do not touch
~/.dev-loop/repo. Read the failure line (held <holder-runid> <age>son stderr) and tell the user: "a flush is already running (holder<holder-runid>, started<age>sago) — stopping." Then stop. Do not retry, poll, or wait for the lock. The lock is released once, at the very end of step 5 on a successful flush. If you abort or hit an unrecoverable error at any point after acquiring it, release it before stopping — prefixed with the same$RUNIDrecorded above — so the next run does not wait out the TTL:
export DEV_LOOP_FLUSH_RUN_ID="<the run id you recorded above>" sh "${CLAUDE_PLUGIN_ROOT}/scripts/flush-lock.sh" release
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.
- 5d ago Changed · +18 lines 4db9851cae6b
- 29d ago Changed · +12 lines 551c22cb5203
- 1mo ago First seen · 231 lines · 117 tokens per session scan A 2c0ff8aae056
knowledge-flush is a skill published in the GitHub repository choiyounggi/dev-loop (6 stars, last pushed today), licensed MIT. It adds 117 tokens to every session and 3,669 once invoked, about $0.0005 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-08-31.
Other skills, from other repositories
learn
Use when users /learn, save, remember, or distill lessons.
building
Use when writing production code test-first: the RED-GREEN-REFACTOR cycle, false-RED detection, vertical slicing, scope escalation, test process discipline, and code generation patterns.
cc10x-guide
Answers questions about cc10x itself — what it is, how to install and configure it, how the router, workflows, memory, and hooks operate, and how to troubleshoot. Use this skill when: the user asks ABOUT cc10x — "what is cc10x", "how do I configure cc10x", "why isn't cc10x activating", "how do cc10x workflows work"…
memory-and-handoff
Two-mode skill: (1) session memory — load/persist durable workflow state under .cc10x/ (activeContext, patterns, progress) so context survives compaction; (2) handoff package — portable, secrets-redacted export for a coworker, different tool, or fresh non-cc10x session.
plan-review-gate
Use after saving a non-trivial plan or decision RFC when a fail-closed feasibility, completeness, and alignment review must block execution.
codebase-design
Canonical deep-module vocabulary (module, interface, depth, seam, adapter, leverage, locality) for designing a module's shape — a lot of behaviour behind a small interface at a clean seam, testable through that interface. The single source of truth for these terms; other skills (architecture, codebase-hygiene) point…