Back to list
cowwoc

get-history

by cowwoc

AI Agents that land on their feet

2🍴 0📅 Jan 25, 2026

SKILL.md


name: get-history description: Access raw conversation history from Claude Code session storage for analysis

Get History Skill

Purpose: Provide direct access to raw conversation history stored by Claude Code for debugging and conversation analysis.

When to Use:

  • When investigating tool call sequences
  • To verify what happened earlier in a session
  • When analyzing agent behavior patterns
  • To debug unexpected outcomes

Skill Capabilities

1. Access Current Session Conversation

Location: /home/node/.config/projects/-workspace/{session-id}.jsonl

Session ID: The session ID is automatically available as ${CLAUDE_SESSION_ID} in this skill.

cat /home/node/.config/projects/-workspace/${CLAUDE_SESSION_ID}.jsonl

2. Parse Conversation Structure

Entry Types:

  • type: "summary" - High-level conversation summary
  • type: "message" - User or assistant messages
  • type: "tool_use" - Tool invocations
  • type: "tool_result" - Tool outputs

Extract Messages:

# Get all user messages
jq 'select(.type == "message" and .role == "user") | .content' conversation.jsonl

# Get all tool uses with names
jq 'select(.type == "tool_use") | {name: .name, input: .input}' conversation.jsonl

3. Agent Sidechain Conversations

Path Pattern: /home/node/.config/projects/-workspace/agent-{agent-id}.jsonl

# Find all agent sidechain logs
ls -lht ~/.config/projects/-workspace/agent-*.jsonl | head -10

Error Handling

If session ID not in context, report error - do NOT guess.

Integration

Complements learn-from-mistakes:

  • get-history: Provides raw conversation data
  • learn-from-mistakes: Analyzes mistakes and recommends fixes

Score

Total Score

65/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon