Skip to content
Agent Orchestration
Skill

/codify-lesson

Detect recurring P2/P3 audit patterns across recent rounds and promote them into lesson cards. Use after round boundaries or when repeated findings appear.

BOOST
From plugin
arcgentic
28518 skills9 agents1 MCP
Install
$ npx -y skills add Arch1eSUN/Arcgentic --skill codify-lesson --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/codify-lesson

Context preview

The summary Claude sees to decide when to auto-load this skill.

Detect recurring P2/P3 audit patterns across recent rounds and promote them into lesson cards. Use after round boundaries or when repeated findings appear.

SKILL.md

codify-lesson.SKILL.md
name: codify-lesson
description: Detect recurring P2/P3 audit patterns across recent rounds and promote them into lesson cards. Use after round boundaries or when repeated findings appear.

codify-lesson

Scans recent audit handoffs for recurring P2/P3 patterns in structured findings tables and promotes repeated clusters into lesson cards.

When to invoke

  • After `round-boundary-lesson-scan` reports a promotable cluster
  • User invokes `/codify-lesson`
  • 3+ rounds show the same structured finding pattern

Workflow

1. Shell out to the toolkit:

   arcgentic codify-lesson \
     --audit-dir docs/audits \
     --lessons-dir lessons \
     --amendments-dir mandates/amendments

2. Read stdout:

  • `lessons: N`
  • `amendments: N`
  • `streak_updates: N`

3. Inspect every generated lesson card before accepting it.

4. If an amendment proposal is generated, stop for founder review before applying mandate/rule changes.

The scanner ignores reference scans, author notes, forward-debt prose, and other unstructured markdown even when those sections mention `P2` or `P3`.

Output contract

  • New lesson card: `lessons/lesson-{N}-{slug}.md`
  • Formal-threshold amendment proposal: `mandates/amendments/amendment-{slug}.md`
  • Existing lesson streak updates when a lesson was preserved

See also

  • `agents/lesson-codifier.md`
  • `toolkit/src/arcgentic/skills_impl/codify_lesson.py`
  • `toolkit/src/arcgentic/utils/pattern_detection.py`
Read more
Ships witharcgentic

**Arcgentic is a harness engineering layer for AI coding agents. It turns ad-hoc prompting into a gated engineering workflow.** 中文文档 -> README.zh-CN.md Arcgentic helps Codex and Claude Code run software work as a disciplined sequence: clarify the idea, plan

Get the whole plugin

Other skills on arcgentic.