Skip to content
Back to skills

Task History

ASecurity

Reads and displays task execution history from crew-history.json with filtering by type, agent, cost, and configurable limits.

  • 13 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added May 27, 2026
developmentdevopssecurityperformance

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add d3x293/code-crew --skill task-history --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Task History?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Task History
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/d3x293-task-history/badge)](https://www.skillsdirectory.com/skills/d3x293-task-history)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: task-history
description: Reads and displays task execution history from crew-history.json with filtering by type, agent, cost, and configurable limits.
---

# 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.json` must 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
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.