[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6FT36NBY0N4MMP7Z0D7J8FV":3,"skill-same:01M6FT36NBY0N4MMP7Z0D7J8FV":88},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":14,"categories":15,"keywords":16,"publishedAt":23,"linkOnly":24,"markdownContent":25,"markdownBody":25,"frontMatter":26,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":33,"install":34,"resources":47},"01M6FT36NBY0N4MMP7Z0D7J8FV","project-context-sync",null,"kbarbel640-del\u002Fskills","kbarbel640-del","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F255315490?v=4","01M6CJPPQGCCESXMG3K7BBGQ5J","01M6CJPPX2PB2BCZERFVM2C2B3",1,"MIT","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fjoe3112\u002Fproject-context-sync\u002FSKILL.md",[],[17,18,19,20,21,22],"sync","context","project context","project","context sync","project context sync","2026-11-10 10:12:30",false,"# project-context-sync\n\nKeep a living project state document updated after each commit, so any agent (or future session) can instantly understand where things stand.\n\n## What It Does\n\n```\n┌─────────────┐     ┌──────────────────┐     ┌─────────────────────┐\n│ Git Commit  │ ──▶ │ Post-commit Hook │ ──▶ │ PROJECT_STATE.md    │\n│             │     │                  │     │ (auto-updated)      │\n└─────────────┘     └──────────────────┘     └─────────────────────┘\n```\n\nAfter each commit, the hook:\n1. Gathers git info (last commit, recent history, branch, changed files)\n2. Optionally calls an LLM to generate a smart summary\n3. Updates `PROJECT_STATE.md` in the repo root\n\n## Installation\n\n```bash\n# From the repo you want to enable:\ncd \u002Fpath\u002Fto\u002Fyour\u002Frepo\n\u002Fpath\u002Fto\u002Fskills\u002Fproject-context-sync\u002Fscripts\u002Finstall.sh\n```\n\nOr if you have the skill in your path:\n```bash\nproject-context-sync install\n```\n\nThis will:\n1. Install a post-commit hook in `.git\u002Fhooks\u002F`\n2. Create `.project-context.yml` with default config\n3. Create initial `PROJECT_STATE.md`\n4. Add `PROJECT_STATE.md` to `.gitignore`\n\n## Uninstall\n\n```bash\ncd \u002Fpath\u002Fto\u002Fyour\u002Frepo\n\u002Fpath\u002Fto\u002Fskills\u002Fproject-context-sync\u002Fscripts\u002Funinstall.sh\n```\n\n## Manual Update\n\nTrigger an update without committing:\n\n```bash\ncd \u002Fpath\u002Fto\u002Fyour\u002Frepo\n\u002Fpath\u002Fto\u002Fskills\u002Fproject-context-sync\u002Fscripts\u002Fupdate-context.sh\n```\n\n## Configuration\n\nEdit `.project-context.yml` in your repo root:\n\n```yaml\nproject_context:\n  # Use AI to generate smart summaries (default: true)\n  ai_summary: true\n  \n  # How many recent commits to include\n  recent_commits: 5\n  \n  # Include diff stats in context\n  include_diff_stats: true\n  \n  # Sections to include\n  sections:\n    - last_commit\n    - recent_changes\n    - current_focus    # AI-generated\n    - suggested_next   # AI-generated\n```\n\n### AI Summary Mode\n\n**With `ai_summary: true`** (default):\n- Generates intelligent summaries of what changed\n- Infers current focus from recent commit patterns\n- Suggests next steps\n- Costs tokens but provides rich context\n- **Requires:** Gateway HTTP API enabled (see below)\n\n**With `ai_summary: false`**:\n- Just logs raw git info\n- Fast and free\n- Less intelligent but still useful\n\n### Enabling the Gateway HTTP API\n\nAI mode uses Clawdbot's OpenAI-compatible endpoint (`\u002Fv1\u002Fchat\u002Fcompletions`). This is **disabled by default** for security. To enable:\n\n```json5\n\u002F\u002F ~\u002F.clawdbot\u002Fclawdbot.json\n{\n  \"gateway\": {\n    \"http\": {\n      \"endpoints\": {\n        \"chatCompletions\": { \"enabled\": true }\n      }\n    }\n  }\n}\n```\n\n**Security notes:**\n- The endpoint inherits gateway auth (requires bearer token)\n- With `bind: \"loopback\"` (default), only local processes can connect\n- The script reads the token from `~\u002F.clawdbot\u002Fclawdbot.json` automatically\n- Risk is minimal for local development setups\n\n## Output\n\n`PROJECT_STATE.md` will contain:\n\n```markdown\n# Project State\n*Auto-updated by project-context-sync*\n\n## Last Commit\n- **Hash:** abc123\n- **Message:** Implement isPro check for app blocking\n- **Branch:** feature\u002Fsubscription-gating\n- **When:** 2026-01-29 12:34\n- **Files changed:** 3\n\n## Recent Changes\n- abc123: Implement isPro check for app blocking\n- def456: Add PaywallPrompt component\n- ...\n\n## Current Focus\n[AI-generated summary of what's being worked on]\n\n## Suggested Next Steps\n[AI-suggested based on commit patterns]\n```\n\n## Notes\n\n- `PROJECT_STATE.md` is gitignored by default (regenerated locally)\n- The hook requires Clawdbot to be running for AI summaries\n- Without Clawdbot, falls back to raw git info mode\n",{},"main","e7e336ac628c3e3bd771aff1aaa469c93778f94a","skills\u002Fjoe3112\u002Fproject-context-sync",0,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del","2026-08-23 22:39:37",{"source":7,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add kbarbel640-del\u002Fskills --skill project-context-sync",{"tool":40,"command":41},"bunx","bunx skills add kbarbel640-del\u002Fskills --skill project-context-sync",{"tool":43,"command":44},"pnpm","pnpm dlx skills add kbarbel640-del\u002Fskills --skill project-context-sync","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fjoe3112\u002Fproject-context-sync\u002FSKILL.md",true,[48,54,58,64,68,72,76,80,84],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"_meta.json","REFERENCE","参考文档",293,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fjoe3112\u002Fproject-context-sync\u002F_meta.json",{"path":55,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":56,"sourceHtmlUrl":57},"README.md",3366,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fjoe3112\u002Fproject-context-sync\u002FREADME.md",{"path":59,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":62,"sourceHtmlUrl":63},"scripts\u002Finstall.sh","SCRIPT","脚本",2573,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fjoe3112\u002Fproject-context-sync\u002Fscripts\u002Finstall.sh",{"path":65,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":66,"sourceHtmlUrl":67},"scripts\u002Fpost-commit-hook.sh",250,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fjoe3112\u002Fproject-context-sync\u002Fscripts\u002Fpost-commit-hook.sh",{"path":69,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":70,"sourceHtmlUrl":71},"scripts\u002Funinstall.sh",1164,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fjoe3112\u002Fproject-context-sync\u002Fscripts\u002Funinstall.sh",{"path":73,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":74,"sourceHtmlUrl":75},"scripts\u002Fupdate-context.sh",8191,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fjoe3112\u002Fproject-context-sync\u002Fscripts\u002Fupdate-context.sh",{"path":77,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":78,"sourceHtmlUrl":79},"skill.json",400,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fjoe3112\u002Fproject-context-sync\u002Fskill.json",{"path":81,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":82,"sourceHtmlUrl":83},"templates\u002FPROJECT_STATE.md",413,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fjoe3112\u002Fproject-context-sync\u002Ftemplates\u002FPROJECT_STATE.md",{"path":85,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":86,"sourceHtmlUrl":87},"templates\u002Fproject-context.yml",700,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fjoe3112\u002Fproject-context-sync\u002Ftemplates\u002Fproject-context.yml",[89,115,139,157,162,182],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":23},"01M6G8J55967D6281ACMKAKTEQ","crowd-prompting","A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzzadrian\u002Fcrowd-prompting\u002FSKILL.md",[],[96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114],"crowd prompting","prompting","api","with","tokens","domain","world","prompts","operations","instructions","text","tool","system","improve","productivity","marketplace","https","content","ai agents",{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":23},"01M6G8J0PKPAYVET6BWE8W4C26","dilemm-ai","Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzyori\u002Fdilemm-ai\u002FSKILL.md",[],[122,98,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,103,138],"dilemm ai","arena","analyze","browser","openclaw agent","create","automation","browser automation","bot","openclaw","design","strategy","headless","compete","submit","matchmaking","use",{"skillNo":140,"name":141,"nameZh":6,"description":142,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":143,"categories":144,"keywords":145,"publishedAt":23},"01M6G8HWAF3K9SW7NP3Z83CPJ6","arxiv-paper-reviews","Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date\u002Fcategory\u002Finterest, viewing paper details with comments, or submitting paper reviews via API at http:\u002F\u002F150.158.152.82:8000.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Fweak-accept\u002FSKILL.md",[],[146,147,148,149,150,151,152,99,153,136,138,154,98,155,156],"arxiv paper reviews","reviews","arxiv","paper","crawler","papers","comments","fetch","read","http","via",{"skillNo":158,"name":141,"nameZh":6,"description":142,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":159,"categories":160,"keywords":161,"publishedAt":23},"01M6G8HQJ7N7WMY6YV7D7SSJ16","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Farxiv-paper-reviews\u002FSKILL.md",[],[149,148,147,146,156,151,152,99,150,136,138,153,154,98,155],{"skillNo":163,"name":164,"nameZh":6,"description":165,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":166,"categories":167,"keywords":168,"publishedAt":23},"01M6G8HM95Y64JNVFC2HN4E2BG","git-summary","Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzweack\u002Fgit-summary\u002FSKILL.md",[],[169,170,171,172,173,174,175,176,177,178,179,180,181],"git","summary","git summary","commits","repository","win32","status","linux","contributors","true","quick","get","branches",{"skillNo":183,"name":184,"nameZh":6,"description":185,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":186,"categories":187,"keywords":188,"publishedAt":23},"01M6G8HGEGF05CNEJCGVYFSC4R","agent-constitution","Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fztsalexey\u002Fagent-constitution\u002FSKILL.md",[],[189,190,191,192,99,193,194,27,195,154,196,197,198,199,200,112,201,202,203],"agent constitution","constitution","contracts","tree","query","base","log","check","Rules","projects","compliance","actions","state","governance","github"]