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 dean0x/devflow --skill feature-knowledgegit clone --depth 1 https://github.com/dean0x/devflowWrote 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/dean0x/devflow/feature-knowledge)<a href="https://agentmods.dev/skills/dean0x/devflow/feature-knowledge"><img src="https://agentmods.dev/badge/skills/dean0x/devflow/feature-knowledge/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/dean0x/devflow/feature-knowledge"><img src="https://agentmods.dev/badge/skills/dean0x/devflow/feature-knowledge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00012 | $0.01927 |
| Opus 5.5 | $0.00005 | $0.00771 |
| Sonnet 5.5 | $0.00002 | $0.00385 |
| Haiku 4.5 | $0.00001 | $0.00193 |
Grade A, and why
feature-knowledge 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.
How it starts
The opening of the file, as written. The whole thing — 171 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Feature Knowledge Base Creation
Iron Law
Capture the institutional knowledge that lives in developers' heads — the things obvious to them but invisible to newcomers.
A feature knowledge entry exists to save the NEXT agent from rediscovering patterns that span multiple files, modules, or layers. If it's obvious from a single file read, don't capture it.
The Four Phases
Follow these four phases in order.
Phase 1: Scan
Map where the code of this area lives and how it is structured: directories, languages and frameworks, entry points, configuration and existing documentation.
With your first scan calls, Glob the target KNOWLEDGE.md and run d="${CLAUDE_CONFIG_DIR:-}"; case "$d" in /*) ;; *) d="$HOME/.claude" ;; esac; printf '%s\n' "$d" in Bash.
New KB only (the Glob finds no file): Read <that directory>/skills/devflow:feature-knowledge/references/new-kb.md once, with your next reads. It holds the category table, the category templates and a worked example. If the Read fails, choose the category from the frontmatter list and main sections that fit it.
Phase 2: Extract
Read the key files and trace how data moves through the area. Find ALL instances of similar things and see what they share: naming, structure, error handling, and the implicit rules the team follows but never wrote down. For a complex domain, also map the core entities, the decision points, the state transitions and the edge cases.
Phase 3: Distill
Keep a finding only if it is specific to THIS codebase, true of the code NOW, actionable for a developer, and preferably cross-cutting rather than obvious from one file.
Phase 4: Forge
Write the knowledge file. Follow the output format exactly.
Output Format
KNOWLEDGE.md Structure
---
feature: {slug}
name: {human-readable name}
description: "Use when [specific scenarios]. Keywords: [relevant terms]."
category: [architecture | conventions | component-patterns | domain-knowledge | lessons-learned]
directories: [{dir prefixes}]
created: {ISO date}
updated: {ISO date}
---
# {Feature Area Name}
## Rules
- **KB-AP-1** [one-line anti-pattern or gotcha: what to avoid, and the consequence]
- **KB-INV-1** [one-line invariant that must hold]
## Overview
[1-2 paragraphs: what this knowledge covers and why it matters for this codebase]
## [Main Sections — vary by category]
## Anti-Patterns
[The longer explanation of each anti-pattern, headed by its ID — never a restatement of the Rules bullet]
## Gotchas
[Non-obvious behaviors, edge cases, things that break silently — headed by the ID of the Rules bullet each explains]
## Key Files
[Most important files with one-line descriptions]
## Related
[Links to other feature knowledge entries and key source files — never an ADR/PF ID]
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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 Changed · -203 lines · -1 tokens per session 6181f8281dd9
- 1mo ago Changed · +31 lines 07bb4fdd06f8
- 1mo ago Changed · +1 lines de8cd6fa3187
- 3mo ago First seen · 342 lines · 13 tokens per session scan A 0c0c17609e81
feature-knowledge is a skill published in the GitHub repository dean0x/devflow (23 stars, last pushed today), licensed MIT. It adds 12 tokens to every session and 1,927 once invoked, about $0.0000 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-30.
feature-knowledge compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| feature-knowledgedean0x/devflow | Skill | 23 | today | MIT | A | 12 | Claude Code |
| reflectsamzong/Recall | Skill | 112 | today | MIT | A | 57 | Codex |
| guardRuya-AI/cozempic | Skill | 429 | 5mo ago | MIT | A | 64 | Claude Code |
| totem-compiled-rulesmmnto-ai/totem | Skill | 18 | 8d ago | Apache-2.0 | A | 31 | Claude Code, Codex |
| context-engineeringvraj-ai/skills | Skill | 4 | 20d ago | MIT | A | 43 | Claude Code, Codex |
| setup-obsidianvraj-ai/skills | Skill | 4 | 20d ago | MIT | A | 36 | Claude Code |
| continuity-briefuqeu/estelle-cli | Skill | 0 | 26d ago | Apache-2.0 | A | 0 | Claude Code |