From learning-agents
Investigates identified issues in LearningAgent sessions by analyzing transcripts, determining root causes like knowledge gaps or missing docs, and updating YAML issue files with reports.
npx claudepluginhub unsupervisedcom/deepwork --plugin learning-agentsThis skill uses the workspace's default tool permissions.
Research identified issues from a LearningAgent session to determine their root causes.
Analyzes LearningAgent session transcripts to identify mistakes, knowledge gaps, underperformance, and creates YAML issue files for problems found.
Analyzes Orchestrator/Worker/Reviewer transcripts for issues to detect structural problems, protocol deviations, anti-patterns, and propose fixes.
Analyzes Claude Code JSONL transcripts to detect anti-patterns, tool misuse, user frustration signals, and workflow patterns using DuckDB SQL, 10 dimensions, and PM4Py mining.
Share bugs, ideas, or general feedback.
Research identified issues from a LearningAgent session to determine their root causes.
$ARGUMENTS is the path to the session log folder (e.g., .deepwork/tmp/agent_sessions/<session_id>/<agent_id>/).
Session log folder structure:
!cat learning_agents/doc/learning_log_folder_structure.md 2>/dev/null
Agent used: !cat $ARGUMENTS/agent_used 2>/dev/null || echo "unknown"
Identified issues to investigate:
!grep -l 'status: identified' $ARGUMENTS/*.issue.yml 2>/dev/null || echo "(none)"
Additional investigation guidelines:
!learning_agents/scripts/cat_agent_guideline.sh $ARGUMENTS issue_investigation
-------- CURRENT KNOWLEDGE OF AGENT --------
!learning_agents/scripts/generate_agent_instructions_for_session.sh $ARGUMENTS
------ END CURRENT KNOWLEDGE OF AGENT-------
If no identified issues are listed above, report that and stop.
Refer back to the conversation_transcript.jsonl file as needed in this process.
For each issue file with status identified:
issue_description or locate lines near seen_at_timestampscore-knowledge.mdFor each investigated issue, use Edit to update the issue file:
status: identified to status: investigatedinvestigation_report field:status: investigated
investigation_report: |
<Root cause analysis with specific transcript line numbers as evidence.
Explain what knowledge gap or instruction deficiency caused the issue.>
Simply say "Session log folder done."
issue_description — only add the investigation_reportidentified issue