knowledge-capture

knowledge-capture is a skill for Claude Code, Codex from vladolaru/claude-code-plugins. It costs 35 tokens per session (4,639 once invoked), scanned A, original, MIT.

The shared foundation for tools that save knowledge from coding conversations into a project's documentation folders.

In plain words
What is it for?
It helps find the project root and instruction files, manage knowledge directories, format captured documents, and promote useful knowledge into project guidance.
Why use it?
It prevents each knowledge-saving command from using different project-discovery steps, document formats, or instruction rules.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; mentions AGENTS.md; mentions Codex.

Good fit It helps find the project root and instruction files, manage knowledge directories, format captured documents, and promote useful knowledge into project guidance.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vladolaru/claude-code-plugins/knowledge-capture
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 vladolaru/claude-code-plugins --skill knowledge-capture
Clone the repo
git clone --depth 1 https://github.com/vladolaru/claude-code-plugins

Made for: Claude Code, Codex.

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 knowledge-capture

README.md
[![agentmods](https://agentmods.dev/badge/skills/vladolaru/claude-code-plugins/knowledge-capture/github.svg)](https://agentmods.dev/skills/vladolaru/claude-code-plugins/knowledge-capture)
Your own site
<a href="https://agentmods.dev/skills/vladolaru/claude-code-plugins/knowledge-capture"><img src="https://agentmods.dev/badge/skills/vladolaru/claude-code-plugins/knowledge-capture/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 knowledge-capture

Your own site · 80×15
<a href="https://agentmods.dev/skills/vladolaru/claude-code-plugins/knowledge-capture"><img src="https://agentmods.dev/badge/skills/vladolaru/claude-code-plugins/knowledge-capture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,639 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.00035 $0.04639
Opus 5.5 $0.00014 $0.01856
Sonnet 5.5 $0.00007 $0.00928
Haiku 4.5 $0.00003 $0.00464

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

Security

Grade A, and why

knowledge-capture 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 2mo 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.

plugins/dex/codex-skills/knowledge-capture/SKILL.md · 504 lines

How it starts

The opening of the file, as written. The whole thing — 504 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Knowledge Capture Skill

Shared logic for all /dex:* commands. Follow these procedures exactly - do what the calling command asks, nothing more.

Project Discovery

Discover the project's knowledge infrastructure fresh on every invocation. Scan the filesystem directly - no config files, no cached state.

Discovery Steps

  1. Find the project root: Run git rev-parse --show-toplevel
  2. Find the instructions file: Check in order, use the first found:
    • <root>/CLAUDE.md
    • <root>/.claude/CLAUDE.md
    • <root>/AGENTS.md - a direct AGENTS.md project (e.g. a Codex-only repo with no CLAUDE.md). Use it as the instructions file with ai_dir = .ai, then skip the CLAUDE.md indirection in step 3a.
  3. Resolve instructions file and ai_dir: a. If a CLAUDE.md was found, check whether it redirects to AGENTS.md:
    • Symlink: Run readlink <claude_md_path>. If the target filename is AGENTS.md, use the symlink target.
    • Include directive: Read the file content. If the entire content is a single @AGENTS.md line (with optional whitespace/newlines), find the referenced AGENTS.md relative to CLAUDE.md's directory.
    • If no indirection is detected, continue using CLAUDE.md. b. Derive ai_dir from the resolved instructions file:
    • CLAUDE.md → ai_dir = .claude
    • AGENTS.md → ai_dir = .ai
  4. Find knowledge directory: Check for <root>/<ai_dir>/docs/
    • Migration check: If ai_dir is .ai but <root>/.ai/docs/ does not exist and <root>/.claude/docs/ does exist, flag a migration mismatch. Use .claude/docs/ as the active knowledge directory for now, but record the mismatch for init and status to surface.
  5. List existing subdirectories: Check for learnings/, patterns/, decisions/, research/ within the knowledge directory
  6. Count lines: Run wc -l on the resolved instructions file

Read the full file on GitHub · 504 lines

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. 2mo ago First seen · 504 lines · 35 tokens per session scan A 9cda1664eb62

Subscribe to this mod's changes

knowledge-capture is a skill published in the GitHub repository vladolaru/claude-code-plugins (8 stars, last pushed 5d ago), licensed MIT. It adds 35 tokens to every session and 4,639 once invoked, about $0.0001 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.

Related

knowledge-capture compared with skills from other repositories

knowledge-capture next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
knowledge-capturevladolaru/claude-code-pluginsSkill85d agoMITA35Claude Code, Codex
knowledge-ingestopenclaw/openclawSkill394ktodayMITA80Claude Code, Codex
forgetasgeirtj/system_prompts_leaksSkill71kyesterdayCC0-1.0A0Claude Code, Codex
mem0-oss-to-platformmem0ai/mem0Skill69k5d agoApache-2.0A217Claude Code, Codex
Cortexdanielmiessler/LifeOSSkill20k6d agoMITA184Claude Code
memoryopensquilla/opensquillaSkill7.1k5d agoApache-2.0A44Claude Code, Codex
ha-data-storesshiwenwen/hope-agentSkill1.9kyesterdayMITA115Claude Code, Codex