Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Update CFN system expert agent with relevant git commits and project changes
.claude/skills/majiayu000-cfn-expert-update/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-11 | ✗→✓ | ▲ Improved | -56% | 0% |
| case-12 | ✗→✓ | ▲ Improved | 11% | 0% |
| case-13 | ✗→✓ | ▲ Improved | 17% | 0% |
| case-01 | ✗→✓ | ▲ Improved | 103% | 0% |
| case-02 | ✗→✓ | ▲ Improved | 58% | 0% |
Updates the CFN system expert agent's knowledge base with relevant git commits and project changes. This skill analyzes recent commits, determines their relevance to the CFN system, and injects new knowledge into the expert agent to keep it up-to-date with the latest system changes.
bash# Basic usage (scan last 10 commits or since last update) bash .claude/skills/cfn-expert-update/update-expert.sh # Dry run to see what would be updated bash .claude/skills/cfn-expert-update/update-expert.sh --dry-run # Scan commits since specific hash bash .claude/skills/cfn-expert-update/update-expert.sh --since=<commit_hash> # Force update even if no changes detected bash .claude/skills/cfn-expert-update/update-expert.sh --force # Combine options bash .claude/skills/cfn-expert-update/update-expert.sh --dry-run --since=HEAD~5 --force
--dry-run: Show what would be updated without making changes--since=<hash>: Update from specific commit instead of last tracked--force: Force update even if no new commits detectedThe skill classifies commits into three relevance levels:
CLAUDE.md--- in the agent fileEach relevant commit generates a knowledge block like:
# HIGH PRIORITY UPDATE
Commit: <hash>
Message: <commit message>
## System Changes
<diff summary>
## Impact
This commit contains critical system updates that affect CFN Loop methodology....claude/agents/custom/cfn-system-expert.mdEnsure you're running the script from within a git repository.
Check that the expert agent exists at the expected location. The skill looks for:
.claude/agents/custom/cfn-system-expert.mdInstall the missing commands listed in the error message.
--dry-run - output goes to stderr in dry run modegit log --oneline HEAD~5..HEAD--force flag to override no-change detectionThe skill creates directories and files in .claude/state and .claude/backups. Ensure you have write permissions.
This skill is typically run:
The skill maintains state in .claude/state/cfn-expert-last-commit to track the last processed commit, avoiding duplicate updates.
bashbash .claude/skills/cfn-expert-update/update-expert.sh --dry-run
bashbash .claude/skills/cfn-expert-update/update-expert.sh --since=abc123
bashbash .claude/skills/cfn-expert-update/update-expert.sh --force
bashbash .claude/skills/cfn-expert-update/update-expert.sh --dry-run --since=HEAD~5
Other measured skills in the registry, with their headline benchmark lift.