Code-crew task-history
Reads and displays task execution history from crew-history.json with filtering by type, agent, cost, and configurable limits.
install
source · Clone the upstream repo
git clone https://github.com/d3x293/code-crew
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/d3x293/code-crew "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/task-history" ~/.claude/skills/d3x293-code-crew-task-history && rm -rf "$T"
manifest:
skills/task-history/SKILL.mdsource content
Task History - Execution History Viewer
Displays past task executions with filtering and cost analysis.
When to Activate
- User runs
/crew history [flags]
Prerequisites
must exist (created after first task execution).claude/crew-history.json- If missing: display "No history yet. Run /crew task to start."
Process
Step 1: Read History
Read
.claude/crew-history.json — this is a JSON array of task entries (see execution-orchestrator for schema).
Step 2: Apply Filters
| Flag | Filter Logic |
|---|---|
| Keep only entries where matches (bug-fix, feature, refactor, docs, test, security, devops, review, performance) |
| Keep only entries where contains an agent with matching |
| Show last N entries (default: 10) |
Filters stack:
--type bug-fix --agent debugger shows bug-fixes that involved the debugger.
Step 3: Display Results
Display format:
Task History ({count} tasks shown, {total} total): # | Timestamp | Type | Complexity | Agents | Mode | Status 1 | 2026-04-04 12:00 | bug-fix | moderate | debugger, senior-dev | full | SUCCESS 2 | 2026-04-04 11:30 | docs | trivial | doc-writer | lite | SUCCESS 3 | 2026-04-04 10:15 | feature | complex | vp-eng, senior-dev, test | full | SUCCESS
Step 4: Summary Stats
After the table, show:
{count} tasks | Top: {type}({n}), {agent}({n}) | {percent}% success