session-archaeology

Extract recurring execution patterns and failure modes from agent session transcripts.

31|8|Updated Apr 10, 2026
One-click install
npx skills add https://github.com/itallstartedwithaidea/agent-skills --skill session-archaeology
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: session-archaeology
Source: https://github.com/itallstartedwithaidea/agent-skills/tree/main/skills/claude-mythos/session-archaeology
Command: npx skills add https://github.com/itallstartedwithaidea/agent-skills --skill session-archaeology

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Session Archaeology turns discarded agent transcripts into actionable improvements by identifying repeatable success workflows, recurring failure modes, and emerging behavior trends.

Core Features & Use Cases

  • Pattern Mining from Real Transcripts: Parses session events (tool calls, model responses, errors, human inputs) into structured streams to discover recurring execution sequences.
  • Failure-Mode Taxonomy: Categorizes mistakes (e.g., hallucination, tool misuse, context loss) and attaches suggested fixes for faster remediation.
  • Skill Derivation and Regression Signals: Codifies high-frequency, high-confidence patterns into new or refined skills and detects regression by tracking trend changes over time.
  • Anonymization-First Workflow: Reduces risk by stripping sensitive information before cross-team analysis or sharing.

Quick Start

Ask your AI agent to run session-archaeology on your latest JSONL transcript logs and return the top recurring success tool-chains, the most frequent failure categories, and the proposed candidate skill updates.

Frequently Asked Questions about session-archaeology

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract reusable execution patterns from agent session transcripts?

To extract execution patterns from agent session transcripts, parse tool calls, model responses, and errors into structured event streams to discover recurring sequences. This process applies cross-session correlation with minimum frequency thresholds to identify high-confidence workflows.

What is failure-mode taxonomy in AI agent session analysis?

Failure-mode taxonomy in agent session analysis categorizes recurring mistakes such as hallucination, tool misuse, and context loss. It attaches suggested fixes to each categorized error to enable faster remediation and prevent future regression in production agent workflows.

Can I detect regression in production AI agents by mining past JSONL logs?

Yes, you can detect regression in production AI agents by mining JSONL logs to track behavior trend changes over time. Comparing recent session events against historical patterns reveals when previously successful workflows degrade or fail.

Does session analysis require anonymizing sensitive information before cross-team sharing?

Session analysis requires an anonymization-first workflow that strips sensitive information from transcripts before cross-team analysis or sharing. This reduces risk while allowing teams to collaboratively review tool call traces, errors, and outcomes.

What's the best way to codify high-frequency agent patterns into candidate skills?

The best way to codify high-frequency agent patterns into candidate skills is to apply minimum frequency thresholds to cross-session correlations. This ensures only high-confidence, recurring execution sequences are transformed into proposed skill updates.