AlphaMoatによると、2026-09時点でProject Context Syncのダウンロード数は4,066、スター数は3で、AIスキル全体5,078件中2,494位、開発では577件中321位です。
| プラットフォーム | インストール数 | ダウンロード数 | スター数 | コメント |
|---|---|---|---|---|
| ClawHub ↗ | 126 | 3754 | 3 | - |
| SkillHub ↗ | 205 | 4066 | 3 | — |
プラットフォームごとに集計方法と集計時点が異なります。
仕組みは、Git コミット → post-commit フック → リポジトリルートの PROJECT_STATE.md 自動更新です。フックは直近コミット、履歴、ブランチ、変更ファイルを収集し、任意で LLM にスマート要約を生成させて文書に書き込みます。導入は scripts/install.sh(または project-context-sync install)で、.git/hooks/ 配下に post-commit フックを置き、既定設定の .project-context.yml を作成し、初期 PROJECT_STATE.md を生成して .gitignore に追加します。アンインストールとコミットなしの手動更新には専用スクリプトがあります。設定項目は ai_summary(既定 true)、recent_commits(既定5件)、include_diff_stats、セクション選択(last_commit、recent_changes、current_focus、suggested_next。後ろの2つは AI 生成)です。AI モードは Clawdbot の OpenAI 互換エンドポイント /v1/chat/completions を使います。セキュリティのため既定では無効で、~/.clawdbot/clawdbot.json で有効化します。エンドポイントはゲートウェイ認証(Bearer token)を引き継ぎ、既定の bind: loopback ではローカルプロセスのみ接続でき、スクリプトが token を自動読み取りします。出力は直近コミット(ハッシュ、メッセージ、ブランチ、時刻、変更ファイル数)、最近の変更、現在の焦点、提案される次の一手を含み、PROJECT_STATE.md は gitignore されローカルで再生成され、Clawdbot が動作していない場合は生の git 情報モードにフォールバックします。本スキルは MIT ライセンスで公開されています。
資料公開日 2026-10-27
スキルのドキュメントをもとに生成した例であり、実際の実行結果ではありません。
2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。
| 月 | ダウンロード数 | 前月比 | スター数 |
|---|---|---|---|
| 2026-09 | 4066 | — | 3 |
| 2026-08 | 3760 | +3.8% | 3 |
| 2026-07 | 3623 | +8.2% | 3 |
| 2026-06 | 3348 | +3.9% | 3 |
| 2026-05 | 3223 | — | 3 |
| 2026-03 | 2879 | — | 3 |
作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 2026-10-23。
# project-context-sync Keep a living project state document updated after each commit, so any agent (or future session) can instantly understand where things stand. ## What It Does ``` ┌─────────────┐ ┌──────────────────┐ ┌─────────────────────┐ │ Git Commit │ ──▶ │ Post-commit Hook │ ──▶ │ PROJECT_STATE.md │ │ │ │ │ │ (auto-updated) │
└─────────────┘ └──────────────────┘ └─────────────────────┘
```
After each commit, the hook:
1. Gathers git info (last commit, recent history, branch, changed files)
2. Optionally calls an LLM to generate a smart summary
3. Updates `PROJECT_STATE.md` in the repo root
## Installation
```bash
# 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:
```bash
project-context-sync install
```
This will:
1. Install a post-commit hook in `.git/hooks/`
2. Create `.project-context.yml` with default config
3. Create initial `PROJECT_STATE.md`
4. Add `PROJECT_STATE.md` to `.gitignore`
## Uninstall
```bash
cd /path/to/your/repo
/path/to/skills/project-context-sync/scripts/uninstall.sh
```
## Manual Update
Trigger an update without committing:
```bash
cd /path/to/your/repo
/path/to/skills/project-context-sync/scripts/update-context.sh
```
## Configuration
Edit `.project-context.yml` in your repo root:
```yaml
project_context:
# Use AI to generate smart summaries (default: true)
ai_summary: true
# How 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
```
### AI Summary Mode
**With `ai_summary: true`** (default):
- Generates intelligent summaries of what changed
- Infers current focus from recent commit patterns
- Suggests next steps
- Costs tokens but provides rich context
- **Requires:** Gateway HTTP API enabled (see below)
**With `ai_summary: false`**:
- Just logs raw git info
- Fast and free
- Less intelligent but still useful
### Enabling the Gateway HTTP API
AI mode uses Clawdbot's OpenAI-compatible endpoint (`/v1/chat/completions`). This is **disabled by default** for security. To enable:
```json5
// ~/.clawdbot/clawdbot.json
{
"gateway": {
"http": {
"endpoints": {
"chatCompletions": { "enabled": true }
}
}
}
}
```
**Security notes:**
- The endpoint inherits gateway auth (requires bearer token)
- With `bind: "loopback"` (default), only local processes can connect
- The script reads the token from `~/.clawdbot/clawdbot.json` automatically
- Risk is minimal for local development setups
## Output
`PROJECT_STATE.md` will contain:
```markdown
# 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]
```
## Notes
- `PROJECT_STATE.md` is gitignored by default (regenerated locally)
- The hook requires Clawdbot to be running for AI summaries
- Without Clawdbot, falls back to raw git info mode
gh コマンドラインで GitHub の PR チェック、ワークフロー実行、API 照会を扱うスキルです。
16 の検索エンジンをまとめて使え、API キーが不要な検索スキルです。
コマンドラインから MCP サーバーとツールを一覧、設定、認証、呼び出しします。
Generate valid Mermaid diagrams like flowcharts, sequence diagrams, mind maps, ER diagrams, or user journeys from text or product descriptions.
管理された OAuth で YouTube Data API に接続し、動画検索とチャンネル管理を行います。
管理された OAuth 接続で GitHub REST API にアクセスします。
計画、実装、検証、テストをカバーするコーディング作業のスキルです。
Docker の基本コマンドとコンテナ作業をまとめたスキルです。
データ月:2026-09 · ダウンロード数、スター数、インストール数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。