{"id":"7740ae83-5444-4d91-ba4f-fa6d9e7ba4f0","shortId":"tGgAMK","kind":"skill","title":"Capture and replay Claude Code trajectories for multi-session debugging with Agent Lens","tagline":"Record structured Claude Code trajectories, shadow git diffs, and replay branches when agent behavior needs forensic debugging instead of ad hoc transcript review.","description":"# Capture and replay Claude Code trajectories for multi-session debugging with Agent Lens\n\nRecord structured Claude Code trajectories, shadow git diffs, and replay branches when agent behavior needs forensic debugging instead of ad hoc transcript review.\n\n## Prerequisites\n\nPython 3.12+, uv, Agent Lens, and Claude Code access through a subscription or API key compatible with the Claude Agent SDK\n\n## Installation\n\nUse the upstream install or setup path that matches your environment:\n- git clone <this-repo>\n- uv sync\n- npm install\n- npm run dev\n\nRequirements and caveats from upstream:\n- Requires Python >= 3.12 and [uv](https://docs.astral.sh/uv/).\n- With provider: anthropic (the default), if no ANTHROPIC_API_KEY is set, the SDK falls back to your Claude Code subscription credentials from ~/.claude/credentials.json (requires Claude Pro/Max). Usage is covered by yo...\n- You are exploring a Python codebase. Use MEMORY.md to keep notes.\n\nBasic usage or getting-started notes:\n- **Note:** AgentLens currently supports Claude Code via the Claude Agent SDK. Support for additional agents and frameworks is planned — see [Roadmap](#roadmap). Some features (especially turn-level replay) are experime...\n- ![Run list](docs/assets/run-list.png)\n- bash\n\n- Source: https://github.com/dreadnode/agent-lens\n- Extracted from upstream docs: https://raw.githubusercontent.com/dreadnode/agent-lens/HEAD/README.md\n\n## Documentation\n\n- https://dreadnode.github.io/agent-lens/\n\n## Source\n\n- [Agent Skill Exchange](https://agentskillexchange.com/skills/capture-and-replay-claude-code-trajectories-for-multi-session-debugging-with-agent-lens/)","tags":["capture","and","replay","claude","code","trajectories","for","multi","session","debugging","with","agent"],"capabilities":["skill","source-agentskillexchange","skill-capture-and-replay-claude-code-trajectories-for-multi-session-debugging-with-agent-lens","topic-agent-skills","topic-ai-agents","topic-ai-tools","topic-awesome-list","topic-claude-code","topic-codex","topic-cursor","topic-llm","topic-mcp","topic-npx-skills","topic-openclaw","topic-skills-catalog"],"categories":["skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/agentskillexchange/skills/capture-and-replay-claude-code-trajectories-for-multi-session-debugging-with-agent-lens","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add agentskillexchange/skills","source_repo":"https://github.com/agentskillexchange/skills","install_from":"skills.sh"}},"qualityScore":"0.454","qualityRationale":"deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 8 github stars · SKILL.md body (1,631 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T19:09:44.644Z","embedding":null,"createdAt":"2026-05-18T13:15:34.429Z","updatedAt":"2026-05-18T19:09:44.644Z","lastSeenAt":"2026-05-18T19:09:44.644Z","tsv":"'/.claude/credentials.json':154 '/agent-lens/':230 '/dreadnode/agent-lens':219 '/dreadnode/agent-lens/head/readme.md':226 '/skills/capture-and-replay-claude-code-trajectories-for-multi-session-debugging-with-agent-lens/)':237 '/uv/).':130 '3.12':77,125 'access':84 'ad':34,71 'addit':194 'agent':13,27,50,64,79,95,190,195,232 'agentlen':182 'agentskillexchange.com':236 'agentskillexchange.com/skills/capture-and-replay-claude-code-trajectories-for-multi-session-debugging-with-agent-lens/)':235 'anthrop':133,138 'api':89,139 'back':146 'bash':215 'basic':174 'behavior':28,65 'branch':25,62 'captur':1,38 'caveat':120 'claud':4,17,41,54,82,94,149,156,185,189 'clone':110 'code':5,18,42,55,83,150,186 'codebas':168 'compat':91 'cover':160 'credenti':152 'current':183 'debug':11,31,48,68 'default':135 'dev':117 'diff':22,59 'doc':223 'docs.astral.sh':129 'docs.astral.sh/uv/).':128 'docs/assets/run-list.png':214 'document':227 'dreadnode.github.io':229 'dreadnode.github.io/agent-lens/':228 'environ':108 'especi':205 'exchang':234 'experim':211 'explor':165 'extract':220 'fall':145 'featur':204 'forens':30,67 'framework':197 'get':178 'getting-start':177 'git':21,58,109 'github.com':218 'github.com/dreadnode/agent-lens':217 'hoc':35,72 'instal':97,101,114 'instead':32,69 'keep':172 'key':90,140 'len':14,51,80 'level':208 'list':213 'match':106 'memory.md':170 'multi':9,46 'multi-sess':8,45 'need':29,66 'note':173,180,181 'npm':113,115 'path':104 'plan':199 'prerequisit':75 'pro/max':157 'provid':132 'python':76,124,167 'raw.githubusercontent.com':225 'raw.githubusercontent.com/dreadnode/agent-lens/head/readme.md':224 'record':15,52 'replay':3,24,40,61,209 'requir':118,123,155 'review':37,74 'roadmap':201,202 'run':116,212 'sdk':96,144,191 'see':200 'session':10,47 'set':142 'setup':103 'shadow':20,57 'skill':233 'skill-capture-and-replay-claude-code-trajectories-for-multi-session-debugging-with-agent-lens' 'sourc':216,231 'source-agentskillexchange' 'start':179 'structur':16,53 'subscript':87,151 'support':184,192 'sync':112 'topic-agent-skills' 'topic-ai-agents' 'topic-ai-tools' 'topic-awesome-list' 'topic-claude-code' 'topic-codex' 'topic-cursor' 'topic-llm' 'topic-mcp' 'topic-npx-skills' 'topic-openclaw' 'topic-skills-catalog' 'trajectori':6,19,43,56 'transcript':36,73 'turn':207 'turn-level':206 'upstream':100,122,222 'usag':158,175 'use':98,169 'uv':78,111,127 'via':187 'yo':162","prices":[{"id":"8253270f-3db6-4434-9ff2-af40f01289d0","listingId":"7740ae83-5444-4d91-ba4f-fa6d9e7ba4f0","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"agentskillexchange","category":"skills","install_from":"skills.sh"},"createdAt":"2026-05-18T13:15:34.429Z"}],"sources":[{"listingId":"7740ae83-5444-4d91-ba4f-fa6d9e7ba4f0","source":"github","sourceId":"agentskillexchange/skills/capture-and-replay-claude-code-trajectories-for-multi-session-debugging-with-agent-lens","sourceUrl":"https://github.com/agentskillexchange/skills/tree/main/skills/capture-and-replay-claude-code-trajectories-for-multi-session-debugging-with-agent-lens","isPrimary":false,"firstSeenAt":"2026-05-18T13:15:34.429Z","lastSeenAt":"2026-05-18T19:09:44.644Z"}],"details":{"listingId":"7740ae83-5444-4d91-ba4f-fa6d9e7ba4f0","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"agentskillexchange","slug":"capture-and-replay-claude-code-trajectories-for-multi-session-debugging-with-agent-lens","github":{"repo":"agentskillexchange/skills","stars":8,"topics":["agent-skills","ai-agents","ai-tools","awesome-list","claude-code","codex","cursor","llm","mcp","npx-skills","openclaw","skills-catalog"],"license":"mit","html_url":"https://github.com/agentskillexchange/skills","pushed_at":"2026-05-18T19:02:17Z","description":"The open catalog of AI agent skills — 2,000+ security-scanned skills for Claude Code, Cursor, Codex, and more.","skill_md_sha":"58fccc753c7aa1cd31975a834bf44cb0be4e066c","skill_md_path":"skills/capture-and-replay-claude-code-trajectories-for-multi-session-debugging-with-agent-lens/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/agentskillexchange/skills/tree/main/skills/capture-and-replay-claude-code-trajectories-for-multi-session-debugging-with-agent-lens"},"layout":"multi","source":"github","category":"skills","frontmatter":{"name":"Capture and replay Claude Code trajectories for multi-session debugging with Agent Lens","description":"Record structured Claude Code trajectories, shadow git diffs, and replay branches when agent behavior needs forensic debugging instead of ad hoc transcript review."},"skills_sh_url":"https://skills.sh/agentskillexchange/skills/capture-and-replay-claude-code-trajectories-for-multi-session-debugging-with-agent-lens"},"updatedAt":"2026-05-18T19:09:44.644Z"}}