task-profilelisted
Install: claude install-skill techwolf-ai/ai-first-toolkit
# task-profile
End-to-end skill: session inventory → LLM clustering → parallel Haiku analysis → aggregation → branded explorer HTML + shareable CSV + atomic skill proposals.
## When to run
When the user asks to understand their own Claude usage patterns: what tasks they repeat, how much friction those tasks generate where tokens go which principles they already follow vs. where they slip, and which new skills would compound across many tasks.
## Prerequisites
- Session history on this machine:
- Claude Code: `~/.claude/projects/*/\*.jsonl`
- Claude Cowork: `~/Library/Application Support/Claude/local-agent-mode-sessions/*/*/local_*/audit.jsonl`
- The `session-search` skill is already installed at `~/.claude/skills/session-search/` (optional but recommended; this skill does its own inventory pass).
- None beyond Python 3, the HTML generator ships with its own light theme baked in. No external design or logo skill required.
## Workflow
Run from any working directory, outputs land under `./out/` in that directory.
### Phase A, Inventory (deterministic script)
```bash
~/.claude/skills/task-profile/scripts/inventory.py --out out/inventory.json
```
Flags: `--since YYYY-MM-DD`, `--until YYYY-MM-DD`, `--all` (default window: last 6 months).
Writes per-session rows with: summary, token totals (per model, from `message.usage`), automation flag + reason, and a structured condensate (intent turns + correction turns + tool-flail episodes + outcome turns). Automated sessions