whip-lesson-learn

whip-lesson-learn is a skill for Claude Code, Codex from bang9/ai-tools. It costs 73 tokens per session (805 once invoked), scanned A, original, MIT.

A procedure for documenting a real whip run as a lessons-learned or case-study Markdown file. It records prompts, decisions, coordination, results, and useful takeaways.

In plain words
What is it for?
Use it to capture a whip run, postmortem, discussion draft, or case study under the project's .whip/lesson-learn/ directory.
Why use it?
It turns an individual run into a reusable record that others can review and learn from.

Skill for Claude CodeCodex

Written for Claude Code and Codex: user-invocable in frontmatter, but also agents/openai.yaml present. Also seen: $skill-name invocation.

Part of the whip plugin — 8 skills shipped together

Good fit Use it to capture a whip run, postmortem, discussion draft, or case study under the project's .whip/lesson-learn/ directory.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bang9/ai-tools/whip-lesson-learn
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.

Any agent
npx skills add bang9/ai-tools --skill whip-lesson-learn
Clone the repo
git clone --depth 1 https://github.com/bang9/ai-tools

Made for: Claude Code, Codex.

Or install whip, the plugin that ships this one along with the rest of its 8 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for whip-lesson-learn

README.md
[![agentmods](https://agentmods.dev/badge/skills/bang9/ai-tools/whip-lesson-learn/github.svg)](https://agentmods.dev/skills/bang9/ai-tools/whip-lesson-learn)
Your own site
<a href="https://agentmods.dev/skills/bang9/ai-tools/whip-lesson-learn"><img src="https://agentmods.dev/badge/skills/bang9/ai-tools/whip-lesson-learn/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for whip-lesson-learn

Your own site · 80×15
<a href="https://agentmods.dev/skills/bang9/ai-tools/whip-lesson-learn"><img src="https://agentmods.dev/badge/skills/bang9/ai-tools/whip-lesson-learn.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 805 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00073 $0.00805
Opus 5 $0.00036 $0.00402
Sonnet 5 $0.00015 $0.00161
Haiku 4.5 $0.00007 $0.00081

Measured 9d ago against content hash 59da580094f8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

whip-lesson-learn 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 9d 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.

whip/skills-codex/whip-lesson-learn/SKILL.md · 108 lines

How it starts

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

Use this skill when the user wants to document a real whip run as a reusable case study, lesson learned, postmortem, or discussion draft.

Goal

Create or update a markdown file at:

.whip/lesson-learn/<file-name>.md

After writing it, tell the user the final path and a short summary of what was captured.

Language

  • If the user explicitly requests a language, write in that language.
  • Otherwise write in the language the user is currently using with you.
  • Do not mix languages except for literal command names, file paths, or very short quoted fragments.

Prompt language rule

  • If the document language and the original user prompt language differ, translate the prompt into the document language while preserving intent and important literals such as $whip-plan, $whip-start, URLs, branch names, and issue numbers.
  • Only keep the original-language prompt verbatim if the user explicitly asks for verbatim preservation.

Path and naming

  • Always write under .whip/lesson-learn/.
  • Use the user-provided file name when given.
  • If the user does not provide a file name, derive one as YYYY-MM-DD-<short-case-name>.md.
  • Use lowercase hyphen-case and keep it concise.
  • Create the .whip/lesson-learn/ directory if it does not already exist.

Required structure

Use these sections, translated into the chosen output language:

  1. Used tools / 사용한 도구
  2. Actual user prompts / 실제 유저가 쳤던 프롬프트
  3. What the AI judged and executed / AI 가 판단하고 실행한 영역
  4. What actually happened / 실제로 진행한 방향
  5. IRC coordination highlights / IRC 로 실제로 중요했던 대화
  6. Results and lessons learned / 결과와 레슨런

If IRC did not matter for the case, omit section 5.

Workflow

  1. Gather concrete artifacts from the current run:
    • user prompts
    • tools and backends used
    • worktree/branch/PR topology
    • review findings
    • IRC messages that changed decisions
    • final merge and cleanup results
  2. Preserve literal commands and identifiers exactly.
  3. Distinguish initial plan from final corrected execution if the direction changed during review.
  4. Include only IRC messages that materially changed decisions; do not dump full transcripts.
  5. Keep operator mistakes and recovery steps when they are part of the lesson.
  6. Create or update the markdown file.
  7. Tell the user the path you wrote and a concise summary.

Read the full file on GitHub · 108 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 108 lines · 73 tokens per session scan A 59da580094f8

Subscribe to this mod's changes

whip-lesson-learn is a skill published in the GitHub repository bang9/ai-tools (10 stars, last pushed 1mo ago), licensed MIT. It adds 73 tokens to every session and 805 once invoked, about $0.0004 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.