Detects documentation drift in docs/ai/, AGENTS.md, and CLAUDE.md, then proposes targeted edits. Use when session-start warnings flag stale docs or after significant code changes.
Ships in ai-asset-pricing. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Detect and fix documentation drift across the repo's AI context layer.
/sync-context — scan all mappings and propose updates/sync-context pybondlab — scan only PyBondLab-related mappings"<PYTHON>" tools/context_drift.py --json
Parse the JSON output. Each entry has: source (glob), doc (file path), days_stale (float).
If $ARGUMENTS contains a keyword (e.g., pybondlab), filter to entries where
either source or doc contains that keyword. Otherwise process all entries.
For each drift warning, in order:
Read the current doc using the Read tool.
Identify what changed in the source since the doc was last updated:
git log --oneline --since="<days_stale> days ago" -- <source_files>
Then read the relevant source files to understand the current state.
Compare what the doc says against the current source state. Identify specific lines in the doc that are now inaccurate, incomplete, or misleading.
Propose a targeted edit — show the old text and the proposed replacement. Use the Edit tool format (old_string → new_string). Explain the reason for each change in one sentence.
Wait for user approval before applying each edit.
After processing all mappings, print a summary table:
| Doc | Status | Action |
|------------------------|----------|-------------------------------------------|
| docs/ai/onboarding.md | Updated | bootstrap.py uv changes reflected |
| docs/ai/pybondlab.md | Current | no drift detected |
| AGENTS.md | Skipped | user declined update |
If any edits were applied, suggest committing with:
Sync context: update [list of docs] to reflect recent code changes
Do not commit automatically.
What SKILL.md sets; muted values are Claude Code's defaults
38 skills in this plugin
/bond-dataReference for the Dickerson corporate bond dataset: column mappings between WRDS and PyBondLab, rating encoding, return definitions, signal clusters, and data gotchas. Auto-apply when loading bond data for PyBondLab analysis./ai-asset-pricing:sync-contextfrom ai-asset-pricing
ai-asset-pricing@fin-skills is listed by howard-lynn-ye/fin-rsi — review the source before installing
npx claudepluginhub howard-lynn-ye/fin-rsi --plugin ai-asset-pricingOther plugins' skills for the same job