# Run History

> 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.

- Skill: `majiayu000/run-history` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds add majiayu000/run-history`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/run-history/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Productivity
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/run-history

---


# 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.

