Agent skill
aitask-stats
Calculate and display statistics of AI task completions (daily, global, per-label).
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/aitask-stats-beyondeye-aitasks-2
SKILL.md
Usage
Run the statistics script:
./.aitask-scripts/aitask_stats.sh [OPTIONS]
Options
-d, --days N- Show daily breakdown for last N days (default: 7)-v, --verbose- Show individual task IDs in daily breakdown--csv [FILE]- Export raw data to CSV (default: aitask_stats.csv)-h, --help- Show usage information
Examples
Basic statistics (last 7 days):
./.aitask-scripts/aitask_stats.sh
Extended daily view (14 days):
./.aitask-scripts/aitask_stats.sh --days 14
Verbose output with task names:
./.aitask-scripts/aitask_stats.sh -v
Export to CSV for graphing in LibreOffice:
./.aitask-scripts/aitask_stats.sh --csv
Statistics Provided
- Summary - Total completions, 7-day and 30-day counts
- Daily Breakdown - Completions per day with optional task IDs
- Day of Week Stats - Current week counts + 30d/all-time averages per weekday
- Label Weekly Trends - Per-label completions for last 4 weeks (W-3, W-2, W-1, This Week)
- Label Day-of-Week Breakdown - Per-label averages by day of week
- Task Type Weekly Trends - Parent/child and feature/bug trends for last 4 weeks
- Features/Bugs by Label Trends - Combined label + issue type weekly trends
Export Format
CSV Export: Raw task data with columns:
- date, day_of_week, week_offset, task_id, labels, issue_type, task_type
Open in LibreOffice Calc to create custom charts and pivot tables for trend analysis.
Importing CSV in LibreOffice Calc
- Open LibreOffice Calc
- File -> Open -> Select the CSV file
- In the import dialog:
- Character set: UTF-8
- Separator: Comma
- Check "Quoted field as text"
- Click OK
Creating Charts
- Select the data range
- Insert -> Chart
- Choose chart type (Line, Bar, or XY Scatter for trends)
- Follow the wizard to customize
Pivot Tables for Analysis
- Select all data
- Insert -> Pivot Table
- Drag fields:
- Row:
week_offsetorday_of_week - Column:
labelsorissue_type - Data: Count of
task_id
- Row:
- Creates summary table for trends
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?