name: task-manager
description: CLI tool for managing team tasks outside of Claude Code's built-in tools. Use this skill when tasks need to be archived, bulk cleaned up, or when you need a high-level view of task dependencies. Triggers: (1) User asks to clean up or archive completed tasks, (2) Too many resolved tasks cluttering the list, (3) Need to visualize task dependencies, (4) Want to manage tasks via command line.
Task Manager CLI
You have access to npx cc-mirror tasks - a CLI for managing team tasks.
Auto-Detection
The CLI auto-detects your context:
- Variant: From
CLAUDE_CONFIG_DIR environment variable
- Team: From current working directory (git root folder name)
No need to specify --variant or --team in most cases.
Commands
npx cc-mirror tasks
npx cc-mirror tasks --status all
npx cc-mirror tasks graph
npx cc-mirror tasks archive --resolved --dry-run
npx cc-mirror tasks archive --resolved
npx cc-mirror tasks clean --resolved --dry-run
npx cc-mirror tasks clean --resolved
npx cc-mirror tasks show <id>
npx cc-mirror tasks archive <id>
npx cc-mirror tasks delete <id>
When to Use
Use AskUserQuestion to confirm with the user:
When tasks are cluttering:
â "Archive resolved tasks?" (preserves in archive folder)
â "Delete resolved tasks?" (permanent removal)
â "Show task graph first?" (see dependencies)
When user wants to see other projects/teams:
â "Which team?" (then use --team flag)
â "Which variant?" (then use --variant flag)
â "All teams?" (then use --all flag)
Viewing Other Teams/Variants
By default, commands target your current team. To view others:
npx cc-mirror tasks --team other-project
npx cc-mirror tasks --variant zai --team my-project
npx cc-mirror tasks --all
npx cc-mirror tasks --all-variants --all
Ask the user which team/variant they want to view using AskUserQuestion.
Archive vs Delete
| Action | Command | Effect |
|---|
| Archive | archive --resolved | Moves to archive/ folder with timestamp |
| Delete | clean --resolved | Permanently removes files |
Prefer archive - it preserves task history for future reference.