Skip to main content
skill CX Codex

run-history — Claude Code skill: run history and installation

Inspect CCAM runs, check whether a process is still active, and connect a live run to a saved Claude Code or Codex session.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill run-history -a claude-code
Open on GitHub

What run-history does

The skill searches CCAM run history and separates active processes from completed runs, failures, and records whose in-memory handle has been cleared. Filter entries by provider, working directory, model, status, or session ID. It returns run and session details, timestamps, lifecycle state, and a safe next action.

For a live handle, it uses ccam run get <id> --envelopes; saved sessions can be inspected with ccam session <session-id> and transcript tools. Resume is recommended only when a native session ID exists and the selected provider supports that session. Without both conditions, resuming is not established as a safe option.

What it helps with

  • find an earlier task by provider or session ID
  • check whether a process is active or finished
  • tell a failed run from one with usable output
  • match a live run to its saved agent session
  • choose whether to resume, inspect, or relaunch a task

Example prompts for the agent

  • Find the run for this working directory and report its status.
  • Inspect run abc123 and the session connected to it.
  • Check whether this task can be resumed safely or should be relaunched.

How to install run-history

1Skills CLI (Vercel)

npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill run-history -a claude-code

2Manually: put the files in place

~/.claude/skills/run-history/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/run-history/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about run-history

How do I install run-history in Claude Code?

Run npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill run-history -a claude-code. The skill file is at ~/.claude/skills/run-history/SKILL.md.

What does run-history do?

It inspects CCAM run records, checks process state, and relates live runs to saved Claude Code or Codex sessions.

When does run-history recommend resuming a session?

Only when a native session ID is available and the chosen provider supports that session.

Source text

SKILL.md · MIT
---
name: run-history
description: >
  Inspect CCAM dashboard-run history and relate live run handles to persisted
  Claude Code or Codex sessions. Use when finding a prior launched task,
  checking whether a run is still attached, reviewing start/end status, or
  deciding whether to resume, view, or relaunch work.
---

# Run History

1. Run `ccam run history --limit 100`.
2. Filter by provider, working directory, model, status, and session ID.
3. For a live handle, run `ccam run get <id> --envelopes`.
4. For the persisted agent session, use `ccam session <session-id>` and the
   session transcript tools.
5. Distinguish:
   - process still live
   - process completed with usable output
   - process failed
   - history row exists but the in-memory handle was reaped
6. Recommend resume only when the native session ID is present and the selected
   provider supports that session.

Return the exact run ID, provider, session ID, working directory, model,
timestamps, lifecycle state, and the next safe action.

© hoangsonww · MIT · hoangsonww/Claude-Code-Agent-Monitor

Similar skills

All skills for Agent setup: memory, context, orchestration →

From the same set60

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor