/learning-agents:learnfrom learning-agents
Runs the learning cycle on pending LearningAgent session transcripts. Identifies issues, investigates root causes, and incorporates learnings into agent definitions for continuous improvement.
Ships in learning-agents. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Process unreviewed LearningAgent session transcripts to identify issues, investigate root causes, and incorporate learnings into agent definitions.
This skill takes no arguments. It automatically discovers all pending sessions.
!learning_agents/scripts/list_pending_sessions.sh
If the list above is empty (or the .deepwork/tmp/agent_sessions directory does not exist), inform the user that there are no pending sessions to learn from and stop.
For each session log folder, run the learning cycle in sequence.
Spawn an Agent to run the identify skill:
Agent tool call:
description: "Identify issues"
subagent_type: learning-agents:learning-agent-expert
model: sonnet
prompt: "Run: Skill learning-agents:identify <session_log_folder>"
Run those in parallel
After identification completes, skip any session where the identify step reported zero issues. Only proceed with sessions that had issues identified.
For remaining sessions, start a new Agent to run investigation and incorporation in sequence for each session_log_folder:
Agent tool call:
description: "Investigate and incorporate"
subagent_type: learning-agents:learning-agent-expert
model: sonnet
prompt: "Run these two skills in sequence:
1. Skill learning-agents:investigate-issues <session_log_folder>
2. Skill learning-agents:incorporate-learnings <session_log_folder>"
Run session log folders from the same agent serially, but different agents in parallel. I.e. if Agent A has 7 sessions and Agent B has 3 sessions, you should have 3 "batches" of Agents where you do one session for Agent A and one for Agent B, then you would have 4 more Agents run serially for the remaining Agent A sessions.
If a sub-skill Agent fails for a session, log the failure, skip that session, and continue processing remaining sessions. Do not mark needs_learning_as_of_timestamp as resolved for failed sessions.
Output in this format:
## Learning Cycle Summary
- **Sessions processed**: <count>
- **Total issues identified**: <count>
- **Agents updated**: <comma-separated list of agent names>
- **Key learnings**:
- <agent-name>: <brief learning description>
- **Skipped sessions** (if any): <session path> — <reason>
learning-agents:learning-agent-expert agent for Agent spawnsWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub unsupervisedcom/deepwork --plugin learning-agents9 skills in this plugin
/create-agentCreates a new LearningAgent with directory structure, core-knowledge.md, and Claude Code agent file. Guides the user through initial configuration./identifyReads a session transcript and identifies issues where a LearningAgent made mistakes, had knowledge gaps, or underperformed. Creates issue files for each problem found./incorporate-learningsTakes investigated issues and incorporates the learnings into the LearningAgent's knowledge base by updating core-knowledge.md, topics, or learnings files./investigate-issuesInvestigates identified issues in a LearningAgent session by reading the transcript, determining root causes, and updating issue files with investigation reports./learning-agentsDispatch entry point for the LearningAgents plugin. Routes to sub-commands for creating agents, running learning cycles, and reporting issues./prompt-reviewReviews a prompt/instruction file against Anthropic prompt engineering best practices. Use when evaluating skill files, agent definitions, or instruction chunks for quality.Other plugins' skills for the same job