Skip to content
Agent Orchestration
Skill

/get-history

Use when running on Claude Code and you need to examine past conversation, session logs, or raw chat history.

BOOST
From plugin
cat
12215 skills54 agents
Install
$ npx -y skills add holdmyspot-com/cat --skill get-history --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/get-history

Context preview

The summary Claude sees to decide when to auto-load this skill.

Use when running on Claude Code and you need to examine past conversation, session logs, or raw chat history.

SKILL.md

get-history.SKILL.md
description: Use when running on Claude Code and you need to examine past conversation, session logs, or raw chat history.
allowed-tools: [Bash]

Resolve the installed `get-history` at `bin/get-history` in CAT's installed plugin directory, two levels above this skill's directory. Pass the session ID whose history you need as its first argument. Without `--agent`, the launcher selects that session's main transcript. With `--agent <agent-id>`, it selects that subagent's transcript within the requested session. If the launcher does not exist, report that exact path before applying the shared source-checkout fallback. Do not derive or select a transcript path in Bash.

For example:

/absolute/path/get-history "$CLAUDE_CODE_SESSION_ID" analyze
/absolute/path/get-history "$CLAUDE_CODE_SESSION_ID" summary --since "2026-08-18T10:00:00Z" --type "message" --limit 50
/absolute/path/get-history "$CLAUDE_CODE_SESSION_ID" --agent "agent-123" search "keyword" --context 2
/absolute/path/get-history "$CLAUDE_CODE_SESSION_ID" errors
/absolute/path/get-history "$CLAUDE_CODE_SESSION_ID" file-history "config.json"

<!-- cat:include ../shared-first-use-route.md -->

Ships withcat

A coding agent can follow a rule in one file and miss it in the next. It can complete only part of a refactor, or apply a project convention in one area and overlook it somewhere else. Your rules will change as the team learns.

Get the whole plugin

Other skills on cat.