capture-practice

capture-practice is a skill for Claude Code from luiseiman/dotforge. It costs 24 tokens per session (851 once invoked), scanned A, original, MIT.

A skill that saves a useful insight, workaround, or lesson from the current work into dotforge's practice inbox. The inbox is a place for practices to be reviewed and registered for reuse.

In plain words
What is it for?
Recording workarounds, bug-fixing lessons, tool behavior, design decisions, and missing project rules as reusable practices.
Why use it?
It prevents non-obvious solutions and lessons from being lost after a task ends. It can identify a general lesson from the conversation or save one provided directly.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions CLAUDE.md.

Part of the dotforge plugin — 25 skills, 25 commands, 7 agents, 8 hooks shipped together

Good fit Recording workarounds, bug-fixing lessons, tool behavior, design decisions, and missing project rules as reusable practices.

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

Made for: Claude Code.

Or install dotforge, the plugin that ships this one along with the rest of its 25 skills, 25 commands, 7 agents, 8 hooks.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/luiseiman/dotforge/capture-practice"><img src="https://agentmods.dev/badge/skills/luiseiman/dotforge/capture-practice.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 851 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.
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.00024 $0.00851
Opus 5.5 $0.00010 $0.00340
Sonnet 5.5 $0.00005 $0.00170
Haiku 4.5 $0.00002 $0.00085

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

Security

Grade A, and why

capture-practice 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.

skills/capture-practice/SKILL.md · 119 lines

How it starts

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

Capture Practice

Register an insight, pattern, or lesson learned in the dotforge inbox.

Input routing

If $ARGUMENTS is empty → auto-detect mode (Step 0). If $ARGUMENTS has content → skip to Step 1.


Step 0: Auto-detect (only when $ARGUMENTS is empty)

Analyze the recent conversation to identify the most generalizable insight from this session.

Detection signals (in priority order)

  1. Workaround discovered — the obvious approach failed and an alternative was used
  2. Multi-attempt bug — a fix required more than one attempt or root cause was non-obvious
  3. Architectural decision with trade-offs — two+ alternatives were considered, one chosen with reasoning
  4. Non-obvious tool/API/flag behavior — a parameter, edge case, or behavior was surprising
  5. Missing rule — the session revealed a gap in .claude/rules/ or CLAUDE.md that would have prevented the problem

Extraction rules

  • Extract the single most generalizable insight — not session notes, not a summary of everything done
  • Formulate it as a reusable principle: "When X, do Y because Z" or "Never do X — use Y instead"
  • Keep it to 1-2 sentences max
  • Ignore: trivial tasks, first-attempt successes, routine edits

If no signal is present

Respond: "No generalizable insight detected in this session. If you have something specific in mind, run /cap \"description\"." Stop — do not create a file.

Propose and confirm

Show the proposed insight and ask for confirmation before proceeding:

Proposed practice:
"{{one-line insight}}"

Tags: {{inferred tags}}
Project: {{current project name}}

Save this? [Y/n/edit]
  • If Y or user confirms → continue to Step 1 with the proposed text as $ARGUMENTS
  • If n → stop, no file created
  • If edit or user rewrites → use the rewritten text as $ARGUMENTS, continue to Step 1

Step 1: Parse the insight

From $ARGUMENTS (provided or confirmed from Step 0), extract:

  • What: the practice or pattern
  • Why: evidence or context (current project, error that motivated it)
  • Impact: which dotforge files could change
  • Tags: categorization (hooks, rules, prompting, security, stack-specific, etc.)

Read the full file on GitHub · 119 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. 1mo ago First seen · 119 lines · 24 tokens per session scan A f7ec41100fad

Subscribe to this mod's changes

capture-practice is a skill published in the GitHub repository luiseiman/dotforge (8 stars, last pushed 12d ago), licensed MIT. It adds 24 tokens to every session and 851 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.