script-registry — Claude Code skill: what it does, how to install
script-registry maintains an R Markdown script catalog across academic projects, tracks data dependencies, and prevents duplicate analysis files.
no license ★ 165 updated 2026-08-21
npx skills add aspi6246/Claude-Code-Skills-for-Academics --skill script-registry -a claude-codeWhat script-registry does
The skill enforces structured YAML metadata inside Code/*.Rmd front-matter to keep research pipelines organized. Claude inspects declared inputs and outputs, compares them against disk operations in the code, and builds an overview document at Code/REGISTRY.md.
Before writing fresh code, the assistant reviews the existing script inventory to check whether a table or figure already exists. Pipeline regeneration relies on an active R setup: executing Rscript "Code/_Claude Scripts/build_registry.R" is required to detect metadata drift and update dependencies.
Files placed inside _Archive/ directories are intentionally bypassed during scanning. Moving an old script automatically cleans it from the active pipeline summary.
What it helps with
- locate which script produces a specific figure or regression table
- map input and output relationships across intermediate datasets
- catch discrepancies between front-matter declarations and actual read or write calls
- avoid authoring duplicate analysis scripts
Example prompts for the agent
- Which script makes table_name.tex?
- Update registry and check for drift warnings
- Review REGISTRY.md before drafting a new script for summary stats
How to install script-registry
1Skills CLI (Vercel)
npx skills add aspi6246/Claude-Code-Skills-for-Academics --skill script-registry -a claude-code2Manually: put the files in place
~/.claude/skills/script-registry/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/script-registry/
1Skills CLI (Vercel)
npx skills add aspi6246/Claude-Code-Skills-for-Academics --skill script-registry -a codex2Manually: put the files in place
.agents/skills/script-registry/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add aspi6246/Claude-Code-Skills-for-Academics --skill script-registry -a cursor2Manually: put the files in place
.cursor/skills/script-registry/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install aspi6246/Claude-Code-Skills-for-Academics script-registry2Manually: put the files in place
.github/skills/script-registry/SKILL.md1Skills CLI (Vercel)
npx skills add aspi6246/Claude-Code-Skills-for-Academics --skill script-registry -a gemini-cli2Platform CLI
gemini skills install https://github.com/aspi6246/Claude-Code-Skills-for-Academics --path script-registryManually: put the files in place
.devin/skills/script-registry/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about script-registry
How to install script-registry in Claude Code?
Run npx skills add aspi6246/Claude-Code-Skills-for-Academics --skill script-registry -a claude-code in your terminal.
What does script-registry do?
It guides Claude to register pipeline inputs and outputs in .Rmd front-matter, recompile dependency graphs, and verify artifact usage against paper drafts.
What happens if code calls do not match the YAML block?
The builder script flags undeclared or unused file paths in a dedicated drift warnings section in Code/REGISTRY.md without modifying your files automatically.