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.

From plugin
arcgentic
28518 skills9 agents1 MCP

Claude Code

$ npx -y skills add Arch1eSUN/Arcgentic --skill codify-lesson --agent claude-code

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
@arch1esun
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

28518 skills9 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
285
Star history of Arch1eSUN/Arcgentic on GitHub, a chart by star-history.com

Other skills on arcgentic.

agency-roster

agency-roster

Use when a round references agency-agents catalogs, role-family routing, multi-agent identity prompts, or English/Chinese…

@arch1esun@arch1esunInstall Skill
arcgentic

arcgentic

Use when the user says Arcgentic, asks to use Arcgentic, or wants an idea taken through a complete plan → development →…

@arch1esun@arch1esunInstall Skill
audit-round

audit-round

External-audit role for arcgentic rounds. Loaded when arcgentic state.yaml is in awaiting_audit or audit_in_progress, OR when the…

@arch1esun@arch1esunInstall Skill
close-round

close-round

Use only after an arcgentic round has an external audit PASS and state.yaml is in passed. Anchors the verdict, runs strict…

@arch1esun@arch1esunInstall Skill

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw5d395k
@steipete@steipeteInstall Skill
jira-tickets

jira-tickets

Read and update Jira tickets through Orca's saved Jira connections. Use when a task comes from Jira or the user asks for Jira…

orca3d128k
@stablyai@stablyaiInstall Skill
agentmail

agentmail

Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…

paperclip4d114k
@paperclipai@paperclipaiInstall Skill
adr-create

adr-create

Create a new Architecture Decision Record with sequential numbering and AgentDB registration

@ruvnet@ruvnetInstall Skill

Questions about codify-lesson.

Which coding agents can use codify-lesson?
codify-lesson installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.