Agent skill

Codify Lesson

by Arch1eSUN in Arch1eSUN/Arcgentic

Detect recurring P2/P3 audit patterns across recent rounds and promote them into lesson cards.

MITAuto-check passedAgent Workflows

Install Codify Lesson

skills CLI
$ npx skills add Arch1eSUN/Arcgentic --skill codify-lesson -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Arch1eSUN/Arcgentic codify-lesson --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Arch1eSUN/Arcgentic.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/codify-lesson .claude/skills/codify-lesson && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
codify-lesson
GitHub stars
286
Token cost
~371 tokens
SKILL.md length
125 words
Files
1
Skills in repo
19
Repo updated
First seen
Licence
MIT

At a glance

Detect recurring P2/P3 audit patterns across recent rounds and promote them into lesson cards.

  • Works in 4 steps: Shell out to the toolkit → Read stdout → Inspect every generated lesson card… → …
  • Agent Workflows work in your project
  • SKILL.md covers When to invoke, Workflow, Output contract and See also
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Codify Lesson is an agent skill from Arch1eSUN/Arcgentic. Detect recurring P2/P3 audit patterns across recent rounds and promote them into lesson cards. Use after round boundaries or when repeated findings appear.

Its SKILL.md is about 370 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows. The repository describes itself as: Mechanical plan/dev/self-audit/external-audit gates for AI coding agents, with a configurable role-routing topology engine, an MCP-UI live status panel, and native-tooling Claude… The licence is MIT.

When your agent uses it

  • Agent Workflows work in your project

Example prompts

  • “/codify-lesson”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Shell out to the toolkit
  2. Read stdout
  3. Inspect every generated lesson card before accepting it.
  4. If an amendment proposal is generated, stop for founder review before applying

What it can do on your machine

Read from SKILL.md and the folder at commit 8539955. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Codify Lesson loads about 371 tokens when it runs. Until then it costs about 42 tokens; SKILL.md has 125 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~42
When it runs · the whole SKILL.md, loaded when a task matches
~371

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Arch1eSUN/Arcgentic at commit 8539955, republished under its MIT licence (© Arch1eSUN). 125 words, ~371 tokens.

Download SKILL.mdSave it as .claude/skills/codify-lesson/SKILL.md (or your agent's skills folder).
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:

    bash
    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

© Arch1eSUN, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/codify-lesson of Arch1eSUN/Arcgentic.

Open the folder on GitHubat commit 8539955

Compare with similar skills

Codify Lesson next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Codify Lesson compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Codify Lesson this skillArch1eSUN/Arcgentic286—~371Automated safety check: PassMIT
MCP Server Builderanthropics/skills180k62 repos~2.3kAutomated safety check: PassApache-2.0
Hook Development for Claude Code Pluginsanthropics/claude-plugins-official37k11 repos~4.1kAutomated safety check: NotesApache-2.0
Using Superpowersfarm-fe/farm5.6k34 repos~1.4kAutomated safety check: PassMIT
Executing Plans Inlineobra/superpowers296k2 repos~5.1kAutomated safety check: PassMIT
Claude Code Agent Developmentanthropics/claude-plugins-official37k8 repos~2.8kAutomated safety check: PassApache-2.0

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 62 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • Hook Development for Claude Code Plugins

    anthropics/claude-plugins-official

    Official

    Explains how to write Claude Code plugin hooks, both prompt-based checks and bash commands, for events such as PreToolUse, Stop and SessionStart.

    37k GitHub starsUsed in 11 repos~4.1k tokens
    Agent WorkflowsAuto-check: notes
  • Using Superpowers

    farm-fe/farm

    A skill your agent uses when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions

    5.6k GitHub starsUsed in 34 repos~1.4k tokens
    Agent WorkflowsAuto-check passed
  • Executing Plans Inline

    obra/superpowers

    Has the agent carry out an implementation plan itself, task by task in the current session, keeping a ledger, proving each step with a test and ending with one whole-branch review.

    296k GitHub starsUsed in 2 repos~5.1k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Agent Development

    anthropics/claude-plugins-official

    Official

    Explains how to write agents for Claude Code plugins: the markdown file with YAML frontmatter, trigger descriptions, model and color settings, and system prompt design.

    37k GitHub starsUsed in 8 repos~2.8k tokens
    Agent WorkflowsAuto-check passed
  • Skill Creator

    Azure/azqr

    Official

    Create new skills, modify and improve existing skills, and measure skill performance.

    794 GitHub starsUsed in 89 repos~8.2k tokens
    Agent WorkflowsAuto-check passed

More from Arch1eSUN/Arcgentic

All 19 skills in this repo
  • Audit Round

    Arch1eSUN/Arcgentic

    External-audit role for arcgentic rounds. An agent skill from Arch1eSUN/Arcgentic.

    286 GitHub stars~1.6k tokensUpdated 5 days ago
    Auto-check passed
  • Orchestrate Round

    Arch1eSUN/Arcgentic

    Main-session orchestrator for arcgentic rounds. An agent skill from Arch1eSUN/Arcgentic.

    286 GitHub stars~1.5k tokensUpdated 5 days ago
    Auto-check passed
  • Verify Gates

    Arch1eSUN/Arcgentic

    Runs the mechanical quality gates that the arcgentic state machine requires for state transitions.

    286 GitHub stars~653 tokensUpdated 5 days ago
    Auto-check passed
  • Arcgentic

    Arch1eSUN/Arcgentic

    A skill your agent uses when the user mentions Arcgentic, or wants substantial AI-written code taken through a gated plan → development → self-audit → external audit workflow with role handoffs and…

    286 GitHub stars~984 tokensUpdated 5 days ago
    Auto-check passed
  • Arcgentic

    Arch1eSUN/Arcgentic

    A skill your agent uses when the user says Arcgentic, asks to use Arcgentic, or wants an idea taken through a complete plan → development → self-audit → external audit workflow in Codex.

    286 GitHub stars~2.4k tokensUpdated 5 days ago
    Auto-check passed
  • Claude Code Session Broker

    Arch1eSUN/Arcgentic

    A skill your agent uses when running Arcgentic V2 in Claude Code and fixed Planner, Developer, and Auditor role sessions must be coordinated through a broker.

    286 GitHub stars~3.4k tokensUpdated 5 days ago
    Auto-check passed

Categories

Questions about Codify Lesson

What does Codify Lesson do?

Detect recurring P2/P3 audit patterns across recent rounds and promote them into lesson cards. Codify Lesson is an agent skill from Arch1eSUN/Arcgentic. Detect recurring P2/P3 audit patterns across recent rounds and promote them into lesson cards.

When should I use Codify Lesson?

Codify Lesson fits situations like: agent Workflows work in your project.

How do I install Codify Lesson in Claude Code?

Run `npx skills add Arch1eSUN/Arcgentic --skill codify-lesson -a claude-code`. Or copy the skill folder (skills/codify-lesson in Arch1eSUN/Arcgentic) into .claude/skills/codify-lesson in your project. Claude Code loads it when a task matches its description.

How do I install Codify Lesson in Codex?

Run `npx skills add Arch1eSUN/Arcgentic --skill codify-lesson -a codex`. Or copy the skill folder (skills/codify-lesson in Arch1eSUN/Arcgentic) into .agents/skills/codify-lesson in your project. Codex loads it when a task matches its description.

Can I use Codify Lesson in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Arch1eSUN/Arcgentic --skill codify-lesson -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/codify-lesson, .gemini/skills/codify-lesson, .github/skills/codify-lesson and .opencode/skills/codify-lesson in your project.

What does Codify Lesson need to run?

SKILL.md names no scripts, command-line tools or credentials: Codify Lesson is instructions for the agent only.

Does Codify Lesson access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Codify Lesson safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Codify Lesson use?

Codify Lesson is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Codify Lesson use?

About 371 tokens (SKILL.md is roughly 1.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Codify Lesson?

Skills that share tags, products or a category with Codify Lesson: MCP Server Builder (anthropics/skills, 180k stars), Hook Development for Claude Code Plugins (anthropics/claude-plugins-official, 37k stars), Using Superpowers (farm-fe/farm, 5.6k stars) and Executing Plans Inline (obra/superpowers, 296k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Codify Lesson?

Arch1eSUN (a GitHub user) maintains it in Arch1eSUN/Arcgentic, which has 286 GitHub stars. The repository holds 19 skills in this directory. The repository was last updated on October 2, 2026.

Source: Arch1eSUN/Arcgentic on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.