一键导入
time-report
Cross-project time report. Aggregates all session data from ~/.claude-time/sessions/. Use to see how much time was spent across all projects.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Cross-project time report. Aggregates all session data from ~/.claude-time/sessions/. Use to see how much time was spent across all projects.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Cross-project audit and sync. Backs up, bootstraps, promotes, syncs, and verifies all downstream projects.
Structured pre-planning research. Explores codebase, asks clarifying questions, and produces a brainstorm output file for /plan-feature input.
Capture knowledge from development sessions. Debug patterns, architecture decisions, framework gotchas, and integration learnings compound over time.
Load project context and show current status. Use at the start of a session or when context is needed.
Run parallel code reviews using specialized agents (security, performance, simplicity, nextjs-react). Produces a structured report.
Initialize a new project from Agent Kit boilerplate. Use when creating a new downstream project.
| name | time-report |
| description | Cross-project time report. Aggregates all session data from ~/.claude-time/sessions/. Use to see how much time was spent across all projects. |
Read ALL session files from ~/.claude-time/sessions/*.json and produce an aggregated time report. Supports filtering by period or project name.
| Argument | Description |
|---|---|
all (default) | All sessions ever recorded |
this-week | Current calendar week (Monday-Sunday) |
this-month | Current calendar month |
last-month | Previous calendar month |
{project-name} | Filter to a specific project |
TIME_DIR="$HOME/.claude-time"
SESSIONS_DIR="$TIME_DIR/sessions"
DEVELOPER_FILE="$TIME_DIR/developer.json"
# List all session files
ls "$SESSIONS_DIR"/*.json 2>/dev/null
# Read developer name
DEVELOPER_NAME=$(cat "$DEVELOPER_FILE" 2>/dev/null | grep '"name"' | cut -d'"' -f4)
For each *.json in $SESSIONS_DIR:
.json) is the project namesessions arraydate, start, end, duration_minutes, recovered (optional), synced_to_productiveBased on the argument:
| Filter | Logic |
|---|---|
all | No filtering |
this-week | Compare date to current week range |
this-month | Compare date to current month (YYYY-MM) |
last-month | Compare date to previous month (YYYY-MM) |
{project} | Only read sessions/{project}.json |
For each project:
duration_minutesCross-project totals:
Convert minutes to human-readable:
85 min → 1h 25min
210 min → 3h 30min
TIME REPORT Developer: {name}
Period: {filter description} Generated: {date}
────────────────────────────────────────────────────────────────────
Project Sessions Total Time Last Active
────────────────────────────────────────────────────────────────────
n8n-v2-migration 1 1h 37min 2026-02-11
client-service-reporting 3 5h 15min 2026-02-10
cotinga-test-suite 7 12h 45min 2026-02-09
────────────────────────────────────────────────────────────────────
TOTAL 11 19h 37min
RECOVERED: 2 sessions (approximate duration marked with ~)
────────────────────────────────────────────────────────────────────
Sessions data: ~/.claude-time/sessions/
When filtering by project name, show individual sessions:
TIME REPORT: {project-name} Developer: {name}
Period: all Generated: {date}
────────────────────────────────────────────────────────────────────
Date Start End Duration Ticket Status
────────────────────────────────────────────────────────────────────
2026-02-11 02:33 04:10 1h 37min - pending
2026-02-10 14:00 17:30 3h 30min CUS-42 synced
2026-02-09 09:15 11:00 1h 45min CUS-41 pending
────────────────────────────────────────────────────────────────────
TOTAL: 3 sessions, 6h 52min
Recovered: 1 session (~) Synced: 1 Pending: 2
| Case | Handling |
|---|---|
| No session files exist | Show: "No sessions recorded yet. Start tracking with /prime." |
| Project not found | Show: "No sessions found for project '{name}'." |
| Recovered sessions | Mark with ~ prefix on duration, count separately |
| Zero duration | Show as < 1min |
| Session file corrupted | Skip with warning: "Could not parse {file}" |
This skill is read-only. It does NOT sync to Productive.io. For syncing, use /time-sync (future feature).