Project Context Sync
Automatically updates PROJECT_STATE.md after each commit with recent git info and optional AI-generated summaries to track project status and next steps.
Automatically updates PROJECT_STATE.md after each commit with recent git info and optional AI-generated summaries to track project status and next steps.
Real data. Real impact.
Emerging
Developers
Per week
Open source
Skills give you superpowers. Install in 30 seconds.
Keep a living project state document updated after each commit, so any agent (or future session) can instantly understand where things stand.
┌─────────────┐ ┌──────────────────┐ ┌─────────────────────┐ │ Git Commit │ ──▶ │ Post-commit Hook │ ──▶ │ PROJECT_STATE.md │ │ │ │ │ │ (auto-updated) │ └─────────────┘ └──────────────────┘ └─────────────────────┘
After each commit, the hook:
PROJECT_STATE.md in the repo root# From the repo you want to enable: cd /path/to/your/repo /path/to/skills/project-context-sync/scripts/install.sh
Or if you have the skill in your path:
project-context-sync install
This will:
.git/hooks/.project-context.yml with default configPROJECT_STATE.mdPROJECT_STATE.md to .gitignorecd /path/to/your/repo /path/to/skills/project-context-sync/scripts/uninstall.sh
Trigger an update without committing:
cd /path/to/your/repo /path/to/skills/project-context-sync/scripts/update-context.sh
Edit
.project-context.yml in your repo root:
project_context: # Use AI to generate smart summaries (default: true) ai_summary: trueHow many recent commits to include
recent_commits: 5
Include diff stats in context
include_diff_stats: true
Sections to include
sections: - last_commit - recent_changes - current_focus # AI-generated - suggested_next # AI-generated
With
(default):ai_summary: true
With
:ai_summary: false
AI mode uses Clawdbot's OpenAI-compatible endpoint (
/v1/chat/completions). This is disabled by default for security. To enable:
// ~/.clawdbot/clawdbot.json { "gateway": { "http": { "endpoints": { "chatCompletions": { "enabled": true } } } } }
Security notes:
bind: "loopback" (default), only local processes can connect~/.clawdbot/clawdbot.json automaticallyPROJECT_STATE.md will contain:
# Project State *Auto-updated by project-context-sync*Last Commit
- Hash: abc123
- Message: Implement isPro check for app blocking
- Branch: feature/subscription-gating
- When: 2026-01-29 12:34
- Files changed: 3
Recent Changes
- abc123: Implement isPro check for app blocking
- def456: Add PaywallPrompt component
- ...
Current Focus
[AI-generated summary of what's being worked on]
Suggested Next Steps
[AI-suggested based on commit patterns]
PROJECT_STATE.md is gitignored by default (regenerated locally)No automatic installation available. Please visit the source repository for installation instructions.
View Installation Instructions1,500+ AI skills, agents & workflows. Install in 30 seconds. Part of the Torly.ai family.
© 2026 Torly.ai. All rights reserved.