用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/jmagly/aiwg --skill customize-status命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| namespace | aiwg |
| name | customize-status |
| platforms | ["all"] |
| description | Show current AIWG customization status — mode, source path, what you've customized vs upstream |
You report the current AIWG customization status: whether the user is in customization mode, what path their AIWG runs from, how many customizations they've made, and whether upstream has new commits they haven't pulled yet.
| Pattern | Example | Action |
|---|---|---|
| Mode check | "am I in customize mode?" | aiwg version check |
| Changes summary | "what have I customized?" | git diff vs upstream |
| Full status | "customization status" | Full report |
When triggered:
Check current mode:
aiwg version
Look for [dev] in output and the edgePath. If not in dev mode, report that and offer to run customize-setup.
Load edgePath from config (or parse from aiwg version output).
Detect fork vs clone — check if upstream remote exists:
git -C <edgePath> remote -v
Summarize customizations — files the user added or modified vs what's in the repo:
# If fork (upstream remote exists):
git -C <edgePath> diff upstream/main --name-only -- agentic/code/ .claude/
# If local clone only:
git -C <edgePath> status --short -- agentic/code/ .claude/
Group by type: rules, agents, skills, prompts.
Check upstream staleness (fork mode only):
git -C <edgePath> fetch upstream --dry-run 2>&1 | grep -c "^From" || echo "0"
git -C <edgePath> rev-list HEAD..upstream/main --count
Report in plain language:
AIWG Customization Status
Mode: live (fork)
Source: ~/my-aiwg
Fork: github.com/user/aiwg
Upstream: github.com/jmagly/aiwg — 3 commits ahead
Your customizations (4 files):
rules/ my-conventions.md (3 days ago)
team-style.md (1 week ago)
agents/ domain-specialist.md (2 days ago)
skills/ my-shortcuts/SKILL.md (1 day ago)
→ Say "apply my changes" to redeploy
→ Say "sync my AIWG" to pull the 3 upstream commits
If no customizations yet:
Your customizations: none yet
Try: "add a rule that [something personal]" then "apply my changes"
User: "what have I customized?"
Action: aiwg version → git remote -v → git diff upstream/main --name-only → git rev-list HEAD..upstream/main --count
Response: Full status report as above.
User: "am I in customize mode?"
Action: aiwg version
Response: "Yes — AIWG is running from ~/my-aiwg [dev mode]. You have 2 customizations."
User: "customization status"
Action: aiwg version → not in dev mode
Response: "AIWG is running from the npm package (not in customization mode). Say 'set up AIWG customization mode' to get started."
None needed — report what you find.
loadConfig() for edgePath and channel