experience-extractor

experience-extractor is an agent for Claude Code from claude-world/director-mode-lite. It costs 127 tokens per session (3,545 once invoked), scanned A, original, MIT.

A learning agent that examines the results of development iterations to record reusable lessons and patterns.

In plain words
What is it for?
Use it after failed iterations, when similar problems recur, during an improvement cycle, or after successful work to record what worked.
Why use it?
It helps teams understand why work succeeded or failed and preserve that knowledge for later iterations.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the director-mode-lite plugin — 36 skills, 14 agents shipped together

Good fit Use it after failed iterations, when similar problems recur, during an improvement cycle, or after successful work to record what worked.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/claude-world/director-mode-lite/experience-extractor
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.

Clone the repo
git clone --depth 1 https://github.com/claude-world/director-mode-lite

Made for: Claude Code.

Or install director-mode-lite, the plugin that ships this one along with the rest of its 36 skills, 14 agents.

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 experience-extractor

README.md
[![agentmods](https://agentmods.dev/badge/agents/claude-world/director-mode-lite/experience-extractor/github.svg)](https://agentmods.dev/agents/claude-world/director-mode-lite/experience-extractor)
Your own site
<a href="https://agentmods.dev/agents/claude-world/director-mode-lite/experience-extractor"><img src="https://agentmods.dev/badge/agents/claude-world/director-mode-lite/experience-extractor/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 experience-extractor

Your own site · 80×15
<a href="https://agentmods.dev/agents/claude-world/director-mode-lite/experience-extractor"><img src="https://agentmods.dev/badge/agents/claude-world/director-mode-lite/experience-extractor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 127 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,545 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.00127 $0.03545
Opus 5.5 $0.00051 $0.01418
Sonnet 5.5 $0.00025 $0.00709
Haiku 4.5 $0.00013 $0.00354

Measured 1mo ago against content hash c817cfa6824b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

experience-extractor 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 1mo 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.

agents/experience-extractor.md · 475 lines

How it starts

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

Experience Extractor Agent (Meta-Engineering v2.0)

You are a learning specialist that analyzes development iterations to extract patterns, identify root causes of failures, and generate actionable improvement suggestions. You also update the memory system for cross-session learning.

Activation

Automatically activate when:

  • completion-judge decides EVOLVE
  • Multiple iterations fail with similar issues
  • Before skill evolution phase
  • On SHIP (to record success patterns)

Purpose

Transform failure/success data into structured learning that can improve future skill generation:

Raw Data → Pattern Analysis → Root Cause → Improvement Suggestions → Skill Adjustments
    │                                                                        │
    └───────────────────────────────────────────────────────────────────────┘
                                    ↓
                            Memory System Update
                    (tool_dependencies, patterns, evolution)

Input Sources

  1. Event Log (primary): .self-evolving-loop/history/events.jsonl — phase_transition, session_stopped, and test/error events
  2. Validation History: .self-evolving-loop/reports/validation*.json
  3. Decision Log: .self-evolving-loop/history/decision-log.jsonl
  4. Changelog (optional secondary): .director-mode/changelog.jsonl — may not exist; always guard with [ -f ]
  5. Current Skills: .self-evolving-loop/generated-skills/*.md
  6. Checkpoint: .self-evolving-loop/state/checkpoint.json (for tools_used)
  7. Memory: .claude/memory/meta-engineering/*.json

Analysis Process

0. Pre-Check: Data Availability

ALWAYS check for sufficient data before analysis:

#!/bin/bash
# data-availability-check.sh

REPORTS_DIR=".self-evolving-loop/reports"
HISTORY_DIR=".self-evolving-loop/history"
DATA_CHECK_LOG=".self-evolving-loop/reports/data-availability.json"

# Count available data sources
validation_count=$(find "$REPORTS_DIR" -name "validation*.json" 2>/dev/null | wc -l | tr -d ' ')
decision_count=$(wc -l < "$HISTORY_DIR/decision-log.jsonl" 2>/dev/null || echo "0")
event_count=$(wc -l < ".self-evolving-loop/history/events.jsonl" 2>/dev/null || echo "0")
changelog_count=0; [ -f .director-mode/changelog.jsonl ] && changelog_count=$(wc -l < .director-mode/changelog.jsonl)

# Minimum thresholds
MIN_VALIDATIONS=1
MIN_DECISIONS=1

# Check sufficiency
sufficient=true
insufficient_reasons=()

if [ "$validation_count" -lt "$MIN_VALIDATIONS" ]; then
    sufficient=false
    insufficient_reasons+=("validation files: $validation_count (need $MIN_VALIDATIONS)")
fi

if [ "$decision_count" -lt "$MIN_DECISIONS" ]; then
    sufficient=false
    insufficient_reasons+=("decision entries: $decision_count (need $MIN_DECISIONS)")
fi

# Log check results
cat > "$DATA_CHECK_LOG" << EOF
{
  "timestamp": "$(date -u +%Y-%m-%dT%H:%M:%SZ)",
  "sufficient": $sufficient,
  "counts": {
    "validation_files": $validation_count,
    "decision_entries": $decision_count,
    "event_entries": $event_count,
    "changelog_entries": $changelog_count
  },
  "insufficient_reasons": $(printf '%s\n' "${insufficient_reasons[@]}" | jq -R . | jq -s .)
}
EOF

if [ "$sufficient" != "true" ]; then
    echo "⚠️ INSUFFICIENT DATA for learning:"
    for reason in "${insufficient_reasons[@]}"; do
        echo "   - $reason"
    done
    echo ""
    echo "Returning empty learning report."
fi

Read the full file on GitHub · 475 lines

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. 1mo ago Changed · -1 lines c817cfa6824b
  2. 1mo ago First seen · 476 lines · 127 tokens per session scan A 2302d975f32a

Subscribe to this mod's changes

experience-extractor is an agent published in the GitHub repository claude-world/director-mode-lite (80 stars, last pushed 1mo ago), licensed MIT. It adds 127 tokens to every session and 3,545 once invoked, about $0.0005 per session on Opus 5.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-30.

Related

Other agents, from other repositories

edtech-reviewer

Education-technology specialist pre-implementation reviewer for edtech archetype. Specialises in COPPA verifiable parental consent, FERPA student-data handling, GDPR-K (digital age of consent), Section 508 + WCAG 2.2 AA accessibility, child-safety content moderation (CSAM hash, NCMEC reporting), and US state…

avelikiy/great_cto · 112 tokens

knowledge-extractor

Deep-analysis agent spawned by /crystallize. Reads session logs and lessons.md, clusters patterns with ≥3 occurrences, and writes draft skill files to skills/{domain}/SKILL.md.

avelikiy/great_cto · 42 tokens

sensei

CodeSensei by Dojo Coding — AI mentor that teaches programming concepts during vibecoding sessions. Invoked automatically after code changes to explain what happened, why decisions were made, and test comprehension with micro-quizzes. Adapts to the user's belt level and background. Use this agent when the user asks to…

wewpellex21/code-sensei · 77 tokens

problem-solver

Solves competitive programming and LeetCode-style problems with educational explanations. Spawned by the solve skill with problem classification and reference material. Produces structured solutions with classification, approach, Python code, complexity analysis, walkthrough, edge cases, and common mistakes.

sequenzia/agent-alchemy · 55 tokens

newcomer

The Newcomer. Reads cold, times how long understanding takes, and reports confusion instead of resolving it.

attac-t/the-foundry · 26 tokens

fizzy-tasks

Lightweight agent for Fizzy.do task management without cluttering your main conversation context. Use for listing boards, creating cards, syncing todos, or closing completed work.

keskinonur/claude-plugin-fizzy · 39 tokens