feature-knowledge

feature-knowledge is a skill for Claude Code from dean0x/devflow. It costs 12 tokens per session (1,927 once invoked), scanned A, original, MIT.

A structured method for exploring a codebase and recording how its features work across files, modules, and layers.

In plain words
What is it for?
Use it to map a project, trace data flow, find important entry points, and create reusable feature notes for future work.
Why use it?
It preserves knowledge that would otherwise stay in developers’ heads or force each new agent to rediscover the same patterns.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to map a project, trace data flow, find important entry points, and create reusable feature notes for future work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dean0x/devflow/feature-knowledge
Install

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.

Any agent
npx skills add dean0x/devflow --skill feature-knowledge
Clone the repo
git clone --depth 1 https://github.com/dean0x/devflow

Made for: Claude Code.

Wrote 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.

agentmods badge for feature-knowledge

README.md
[![agentmods](https://agentmods.dev/badge/skills/dean0x/devflow/feature-knowledge/github.svg)](https://agentmods.dev/skills/dean0x/devflow/feature-knowledge)
Your own site
<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.

agentmods 80×15 button for feature-knowledge

Your own site · 80×15
<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>
Per session 12 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,927 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 1mo ago against content hash 6181f8281dd9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

src/assets/skills/feature-knowledge/SKILL.md · 171 lines

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]

Read the full file on GitHub · 171 lines

Files

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.

Changes

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.

  1. 1mo ago Changed · -203 lines · -1 tokens per session 6181f8281dd9
  2. 1mo ago Changed · +31 lines 07bb4fdd06f8
  3. 1mo ago Changed · +1 lines de8cd6fa3187
  4. 3mo ago First seen · 342 lines · 13 tokens per session scan A 0c0c17609e81

Subscribe to this mod's changes

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.

Related

feature-knowledge compared with skills from other repositories

feature-knowledge next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
feature-knowledgedean0x/devflowSkill23todayMITA12Claude Code
reflectsamzong/RecallSkill112todayMITA57Codex
guardRuya-AI/cozempicSkill4295mo agoMITA64Claude Code
totem-compiled-rulesmmnto-ai/totemSkill188d agoApache-2.0A31Claude Code, Codex
context-engineeringvraj-ai/skillsSkill420d agoMITA43Claude Code, Codex
setup-obsidianvraj-ai/skillsSkill420d agoMITA36Claude Code
continuity-briefuqeu/estelle-cliSkill026d agoApache-2.0A0Claude Code