Runs drift detection on all design documents to check for document and code consistency. Produces an actionable report with differences. Use when the user asks to detect drift or check for consistency across all design documents or READMEs in a directory.
When running in Codex or ChatGPT Work, first read Codex integration.
In Claude Code or Cowork, read ${CLAUDE_PLUGIN_ROOT}/docs/claude.md first.
When the user asks to detect drift across all designs or a set of READMEs, the goal is to identify all instances where the codebase has diverged or failed to implement the specifications described by those designs or READMEs.
Check Input: Verify a directory containing design documents or READMEs is provided. If not provided, ask the user to specify the target directory.
List Documents: List all files in the design directory.
Analyze: For EACH design document:
Report: Produce a single report listing all discrepancies found.
Append the analysis for each file to {YYYY-MM-DD}_DRIFT_REPORT.md
using your file-writing tool.
Strict Format:
## <DESIGN_DOC_NAME>
<Bulleted list of specific divergences found>
<Or "No drift detected">
Guidance
Copy a source-pinned command for your client. You run it yourself.
Destination: .claude/skills/egm-drift-report · pinned to the source commit
# Run from your project root
git clone https://github.com/google/elephant-goldfish-model.git .skillboard-tmp
git -C .skillboard-tmp checkout bdcfe8cdaee99699c4b2cb7ad4e3b2c1a6b56a31
mkdir -p ".claude/skills"
cp -r ".skillboard-tmp/distributions/claude/skills/egm-drift-report" ".claude/skills/"
rm -rf .skillboard-tmpReview the source before running. This copies files into your project; it is not a one-click install and does not verify runtime safety.
sudo apt update && sudo apt install -y gitnpm install -g @anthropic-ai/claude-code# Run from your project root
git clone https://github.com/google/elephant-goldfish-model.git .skillboard-tmp
git -C .skillboard-tmp checkout bdcfe8cdaee99699c4b2cb7ad4e3b2c1a6b56a31
mkdir -p ".claude/skills"
cp -r ".skillboard-tmp/distributions/claude/skills/egm-drift-report" ".claude/skills/"
rm -rf .skillboard-tmpDestination: .claude/skills/egm-drift-report
Scanner static-checks@0.1.0 · commit bdcfe8cdaee9. Static checks cannot prove runtime safety – review the source and the exact diff before installing. How checks work.
References parent-directory traversal, which can escape a target directory.
Evidence: ../· fingerprint fa08499e14d0113b