Skip to content
Back to skills

Codify Lesson

ASecurity

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

  • 286 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added August 31, 2026
ai-agentsshellbash

Security analysis

A100/100

Scanned August 31, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Codify Lesson?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Codify Lesson
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/arch1esun-codify-lesson/badge)](https://www.skillsdirectory.com/skills/arch1esun-codify-lesson)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
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:

   ```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`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.