Agent Skills: Backlog Backtrack

Generate BACKLOG.md from Claude Code conversation history. Summarizes recent sessions grouped by project and date. Idempotent — safe to re-run.

UncategorizedID: yurifrl/cly/ag:backlog-backtrack

Install this agent skill to your local

pnpm dlx add-skill https://github.com/yurifrl/cly/tree/HEAD/.agents/skills/ag%3Abacklog-backtrack

Skill Files

Browse the full folder contents for ag:backlog-backtrack.

Download Skill

Loading file tree…

.agents/skills/ag:backlog-backtrack/SKILL.md

Skill Metadata

Name
ag:backlog-backtrack
Description
Generate BACKLOG.md from Claude Code conversation history. Summarizes recent sessions grouped by project and date. Idempotent — safe to re-run.

Backlog Backtrack

Scan ~/.claude/history.jsonl and produce a BACKLOG.md summarizing what was worked on recently.

Usage

/ag:backlog-backtrack              # Default: last 2 days, writes ./BACKLOG.md
/ag:backlog-backtrack --days 7     # Last 7 days
/ag:backlog-backtrack --dry-run    # Preview only

Workflow

  1. Run the script with user-specified flags (default: --days 2):
uv run home/.agents/skills/ag:backlog-backtrack/scripts/backlog_backtrack.py --dry-run --days 2
  1. Present output to the user for review
  2. If approved, run without --dry-run (or with --output PATH if user specifies)
  3. If a BACKLOG.md already exists, the script reads its processed-sessions block and skips duplicates automatically

Script Location

home/.agents/skills/ag:backlog-backtrack/scripts/backlog_backtrack.py

Flags

  • --days N — Window in days (default: 2)
  • --output PATH — Output file path (default: ./BACKLOG.md)
  • --dry-run — Print to stdout, don't write file
  • --project PATH — Filter to a single project path