Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/d3x293/code-crew/task-historynpx skills add d3x293/code-crew --skill task-historygit clone --depth 1 https://github.com/d3x293/code-crewWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00026 | $0.00466 |
| Opus 5 | $0.00013 | $0.00233 |
| Sonnet 5 | $0.00005 | $0.00093 |
| Haiku 4.5 | $0.00003 | $0.00047 |
Grade A, and why
task-history scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Task History - Execution History Viewer
Displays past task executions with filtering and cost analysis.
When to Activate
- User runs
/crew history [flags]
Prerequisites
.claude/crew-history.jsonmust exist (created after first task execution)- 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 |
|---|---|
--type <type> |
Keep only entries where type matches (bug-fix, feature, refactor, docs, test, security, devops, review, performance) |
--agent <name> |
Keep only entries where agents[] contains an agent with matching name |
--limit <n> |
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
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 53 lines · 26 tokens per session scan A 8487c51f24e0
task-history is a skill published in the GitHub repository d3x293/code-crew (13 stars, last pushed 4mo ago), licensed MIT. It adds 26 tokens to every session and 466 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
business-investment-advisor
../../../finance/business-investment-advisor/skills/business-investment-advisor/SKILL.md.
a11y-audit
../../../engineering-team/a11y-audit/skills/a11y-audit/SKILL.md.
adversarial-reviewer
../../../engineering-team/skills/adversarial-reviewer/SKILL.md.
agent-harness
../../../engineering/agent-harness/skills/agent-harness/SKILL.md.
agent-launcher-orchestrator
../../../agent-launcher/skills/agent-launcher-orchestrator/SKILL.md.
agent-memory
../../../engineering/agent-memory/skills/agent-memory/SKILL.md.