update-practices

A workflow for processing a shared inbox of development practices and deciding which ones should be added to dotforge, a development-practice toolkit.

In plain words
What is it for?
Use it to evaluate, accept, reject, or defer practices, record the errors they prevent, and suggest applying them to other projects.
Why use it?
It helps turn scattered lessons into reusable project guidance while filtering out duplicates and project-specific advice.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/luiseiman/dotforge/update-practices
Any agent
npx skills add luiseiman/dotforge --skill update-practices
Clone the repo
git clone --depth 1 https://github.com/luiseiman/dotforge

Made for: Claude Code, Codex.

Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,347 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00023 $0.01347
Opus 5 $0.00012 $0.00674
Sonnet 5 $0.00005 $0.00269
Haiku 4.5 $0.00002 $0.00135

Measured 2d ago against content hash d48c30685029, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

update-practices 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 2d 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/update-practices/SKILL.md · 148 lines

How it starts

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

Update Practices

3-phase pipeline to keep dotforge up to date with discovered practices.

Practice sources:

  • Post-session hook (detect-claude-changes.sh) → automatic
  • Manual capture (/forge capture) → user
  • For manual web search: research and then use /forge capture with the findings

Phase 1: EVALUATE — Process inbox

Read all files in $DOTFORGE_DIR/practices/inbox/.

For each practice:

Acceptance criteria

  1. Is it actionable? — Can be translated into a concrete change in dotforge
  2. Is it new? — Does not duplicate something already in practices/active/
  3. Is it generalizable? — Applies to >1 project (not project-specific)
  4. Does it prevent a specific error? — If yes, annotate error_type and error description for tracking in metrics.yml

Classify

  • Accept → move to practices/evaluating/, note proposed concrete change
  • Reject → remove from inbox with a note explaining why
  • Defer → leave in inbox with tag needs-more-info

Priority

  1. Security (vulnerabilities, permissions)
  2. Breaking changes (APIs that changed)
  3. New features that simplify something existing
  4. Patterns validated in >1 project
  5. Minor optimizations

Show summary:

═══ INBOX EVALUATION ═══
{{N}} practices in inbox

✅ ACCEPT: {{title}} → {{proposed change}}
❌ REJECT: {{title}} → {{reason}}
⏸️ DEFER: {{title}} → {{what is missing}}

Proceed with accepted? (yes/no/select)

Phase 2: INCORPORATE — Apply changes to dotforge

For each accepted practice in evaluating/:

Determine impact

Change type Affected files Version bump
New/modified rule template/rules/, stacks/*/rules/ minor
New/modified hook template/hooks/, stacks/*/hooks/ minor
Documentation docs/*.md patch
Modified template template/*.tmpl minor
Security fix any patch

Apply

  1. Show proposed diff to the user and ask for confirmation
  2. Modify the corresponding dotforge files
  3. If the practice warrants a new rule: generate a .md file in template/rules/ or stacks/*/rules/ with proper globs: (eager) or paths: + alwaysApply: false (lazy) frontmatter. Only create a rule if the practice is a repeatable constraint (not a one-time fix). Use existing rules as format reference.
  4. Move practice from evaluating/ to active/ with incorporated_in: updated
  5. Set frontmatter fields: effectiveness: monitoring (or informational if no error targeted — informational is excluded from the validation rate metric), error_type matching CLAUDE_ERRORS.md types
  6. Register in $DOTFORGE_DIR/practices/metrics.yml:
    • error_targeted: description of the error this practice prevents (null if not error-targeted)
    • error_type: syntax | logic | integration | config | security | null
    • activated: today's date
    • status: monitoring (or informational — for general-knowledge practices, never validated)
    • recurrence_checks: 0
    • recurrence_target: 5
  7. Update docs/changelog.md
  8. Bump VERSION according to type

Read the full file on GitHub · 148 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. 2d ago First seen · 148 lines · 23 tokens per session scan A d48c30685029

Subscribe to this mod's changes

update-practices is a skill published in the GitHub repository luiseiman/dotforge (8 stars, last pushed 2mo ago), licensed MIT. It adds 23 tokens to every session and 1,347 once invoked, about $0.0001 per session on Opus 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

Other skills, from other repositories

scaffold

Set up or align a non-code ops/PM repo with the ops folder structure, CLAUDE.md, and INDEX.md hierarchy.

OdinMB/ops-workflow · 30 tokens

find-opps

Find new directions for an ops project — adjacent opportunities, strategic gaps, preparatory research. Use when known work is well-mined and you need to look outward.

OdinMB/ops-workflow · 37 tokens

factory-db-migration

The operational discipline for running a destructive change against a production database — schema migrations, data backfills, one-shot RPCs, historical seed imports. Adjacent to factory-data-layer.md (schema design) and factory-deployment.md (where migrations execute in CI) — this skill is about the runbook around…

nonlinear-xyz/factory-kit · 155 tokens

prioritize

Pick 2–3 independent ops tasks from active plans and backlog for autonomous execution, weighing impact, feasibility, and project goals.

OdinMB/ops-workflow · 29 tokens

factory-api

API conventions for both server actions and tRPC builds. Covers the decision between them, per-mutation Zod input schemas, central router composition, pagination shape, multi-field search via Drizzle ilike + or(), mutation lifecycle hooks, conditional query enabling, stale-time defaults, error response shape and…

nonlinear-xyz/factory-kit · 95 tokens

factory-ci

CI and pull-request review conventions. One canonical .github/workflows/ci.yml is the merge gate (typecheck, lint, test, build, claude-review); branch protection's required-checks list matches the job list 1:1; anthropics/claude-code-action@v1 reviews every PR against the factory-pitfalls.md checklist as a required…

nonlinear-xyz/factory-kit · 110 tokens