Personal context management system with task aggregation and daily/weekly planning workflows powered by Claude Code skills.
This system helps manage multiple projects through:
- Task Aggregation: Scan Speckit-format tasks across repositories
- Daily Planning: Generate focused daily plans with WIP limits
- Weekly Reviews: Track progress toward monthly goals
- Automated Workflows: Git integration for seamless tracking
✅ Multi-format support: .specify/ (Speckit) and specs/ directories
✅ Priority detection: P1/P2/P3 and [P] (Speckit) formats
✅ Recursive scanning: Finds tasks at any depth
✅ Robust error handling and logging
✅ CLI with verbose mode
✅ Automatic analysis: Extracts tech stack, structure, dependencies ✅ Auto-update on changes: Git hooks for continuous sync ✅ Multi-language support: Python, JavaScript/TypeScript, Rust ✅ Comprehensive reports: Markdown + JSON output
✅ Configurable WIP limits ✅ Priority-based task selection ✅ Multi-project balancing ✅ Git automation ✅ Template-driven reports
git clone https://github.com/Real-AI-Engineering/context-planning-system.git
cd context-planning-systemEdit BaseContext.yaml:
wip_limits:
daily_tasks_max: 5
weekly_projects_max: 3
goals:
month:
- "Your monthly goal 1"
- "Your monthly goal 2"Create your project structure (flexible - choose what works for you):
# Option 1: Simple structure
projects/
├── my-app/
│ └── specs/tasks.md
└── website/
└── specs/tasks.md
# Option 2: With organization (for multiple clients/orgs)
projects/
├── client-a/
│ └── project-x/
│ └── specs/tasks.md
└── personal/
└── hobby-project/
└── specs/tasks.mdSee projects/README.md for more examples and best practices.
# Enable automatic project context updates
bash scripts/install_hooks.shThis installs git hooks that automatically update project contexts when you commit, pull, or switch branches.
# Scan tasks across projects
/ctx.scan
# Analyze project structure and dependencies
/ctx.analyze my-org/my-project
# Generate daily plan
/ctx.daily
# End of day update
/ctx.eod
# Weekly review
/ctx.weeklycontext-planning-system/
├── skills/ # Claude Code skills
│ ├── ctx-collector/ # Task scanning and aggregation
│ └── ctx-planning/ # Daily/weekly planning
├── state/ # Generated state files (gitignored)
│ ├── backlog.yaml # Aggregated tasks
│ └── carryover.yaml # Carryover tasks
├── reports/ # Generated reports (gitignored)
│ ├── daily/ # Daily plans
│ └── weekly/ # Weekly reviews
├── templates/ # Report templates
├── scripts/ # Automation scripts
├── projects/ # Your projects - flexible structure!
│ ├── README.md # Structure examples and best practices
│ └── (your projects) # Add any structure you want
└── BaseContext.yaml # Configuration
Your Projects: The projects/ directory is flexible - organize however you like!
See projects/README.md for structure options and examples.
Scans Speckit task files across projects and generates unified backlog.
Features:
- Recursive task file discovery
- Priority and ID extraction (
P1,P2,P3,T###) - Robust error handling
- CLI with verbose mode
Usage:
# Via Claude Code
/ctx.scan
# Direct script execution
python3 .claude/skills/ctx-collector/scripts/scan_tasks.py --verboseTask Format:
## Feature Name
- [ ] T101 P1 Implement authentication
- [ ] T102 P2 Add user profile page
- [X] T103 P1 Fix login bugGenerates daily and weekly planning reports with WIP limits and priority rules.
Features:
- Daily plan generation with WIP limits
- End-of-day progress tracking
- Weekly reviews with goal alignment
- Monthly retrospectives
- Configurable priorities and tie-breakers
Workflows:
/ctx.daily- Generate today's plan/ctx.eod- Close out the day/ctx.weekly- Weekly review/ctx.monthly- Monthly retrospective/ctx.update- Update configuration
Complete configuration reference:
version: 0.2
timezone: "UTC"
cadence:
weekly_review_day: "Monday"
monthly_cycle: "next-30-days"
wip_limits:
daily_tasks_max: 5 # Max tasks per day
weekly_projects_max: 3 # Max concurrent projects
prioritization:
order: ["P1", "P2", "P3"] # High to low priority
tie_breakers:
- "unblocker_first" # Tasks that unblock others
- "short_first" # Quick wins
goals:
month:
- "Launch MVP for project X"
- "Complete security audit"
- "Implement CI/CD pipeline"
rules:
include_open_tasks_from:
- "tasks.md"
- "checklists/*.md"
task_id_pattern: "T\\d+"
priority_patterns: ["P1", "P2", "P3"]See .claude/skills/ctx-planning/references/configuration.md for detailed documentation.
Skills and slash commands are already in the repository:
cd context-planning-system
# Skills are available when working in this directory
/ctx.scan
/ctx.dailyNote: Slash commands (.claude/commands/*.md) work automatically when in the repository directory.
Copy skills to your global Claude directory to use from anywhere:
# Copy skills
cp -r .claude/skills/ctx-collector ~/.claude/skills/
cp -r .claude/skills/ctx-planning ~/.claude/skills/
# Copy slash commands (optional)
mkdir -p ~/.claude/commands
cp .claude/commands/ctx.*.md ~/.claude/commands/Benefits:
- ✅ Use
/ctx.*commands from any directory - ✅ Skills available in all Claude Code sessions
- ✅ No need to cd into repository
Note: After copying, update skills manually when repository changes, or use symlinks:
# Alternative: symlinks (auto-updates with repository)
ln -s $(pwd)/.claude/skills/ctx-collector ~/.claude/.claude/skills/ctx-collector
ln -s $(pwd)/.claude/skills/ctx-planning ~/.claude/.claude/skills/ctx-planning- SKILLS_IMPROVEMENTS.md: Complete improvement summary
- .claude/skills/ctx-collector/SKILL.md: Task collector documentation
- .claude/skills/ctx-planning/SKILL.md: Planning skill documentation
- .claude/skills/ctx-planning/references/workflows.md: Detailed algorithms
- .claude/skills/ctx-planning/references/configuration.md: Configuration reference
- docs/AUTO_UPDATE.md: Automatic project context updates with git hooks
- docs/PROJECT_CONTEXT_INTEGRATION.md: Integrating project context into daily planning
- templates/daily-with-context.md: Enhanced daily plan template with project context
- examples/daily-plan-example.md: Example daily plan with full project integration
- Load configuration from
BaseContext.yaml - Load backlog and carryover state
- Select tasks by priority with WIP limits
- Generate
reports/daily/YYYY-MM-DD.md - Commit and push changes (optional)
- Update daily report with progress
- Document decisions and insights
- Generate carryover for tomorrow
- Commit and push changes (optional)
- Aggregate achievements from daily reports
- Assess progress toward monthly goals
- Generate
reports/weekly/YYYY-WW.md - Commit and push changes (optional)
- [ ] T101 P1 Task description (open task)
- [X] T102 P2 Completed task (done)- P1: High priority (critical, blockers, urgent)
- P2: Medium priority (normal development)
- P3: Low priority (nice-to-have, tech debt)
- Pattern:
Tfollowed by digits (e.g.,T1,T100,T999) - Optional but recommended for tracking
- Auto-generated hash if not provided
- Python 3.7+
- Claude Code
- Git (optional, for automation)
- PyYAML (optional, JSON fallback available)
Contributions are welcome! Please:
- Fork the repository
- Create a feature branch
- Make your changes
- Test with
/ctx.scanand/ctx.daily - Submit a pull request
MIT License - see LICENSE file for details.
- Built with Claude Code
- Inspired by personal productivity systems and GTD methodology
- Designed for Speckit-format task management
- Issues: GitHub Issues
- Documentation: See
skills/*/SKILL.mdfiles - Examples: Check
templates/directory
Status: Active Development Version: 0.2 Last Updated: 2025-10-22