# script-registry

script-registry maintains an R Markdown script catalog across academic projects, tracks data dependencies, and prevents duplicate analysis files.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 165 repo stars
- Author: aspi6246
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/aspi6246/Claude-Code-Skills-for-Academics/tree/HEAD/script-registry/SKILL.md
- Updated: 2026-08-21
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/script-registry

## What it 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.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add aspi6246/Claude-Code-Skills-for-Academics --skill script-registry -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/script-registry/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/script-registry/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add aspi6246/Claude-Code-Skills-for-Academics --skill script-registry -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/script-registry/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add aspi6246/Claude-Code-Skills-for-Academics --skill script-registry -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/script-registry/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install aspi6246/Claude-Code-Skills-for-Academics script-registry
```

2. **Manually: put the files in place**
- File: `.github/skills/script-registry/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add aspi6246/Claude-Code-Skills-for-Academics --skill script-registry -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/aspi6246/Claude-Code-Skills-for-Academics --path script-registry
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/script-registry/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/aspi6246/Claude-Code-Skills-for-Academics/tree/HEAD/script-registry/SKILL.md

## When to use it
- 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
- Which script makes table_name.tex?
- Update registry and check for drift warnings
- Review REGISTRY.md before drafting a new script for summary stats

## Similar
- [quarto-authoring](https://affpapa.org/en/nevibecode/skills/quarto-authoring.md) — skill · 1500 installs
- [dril-dataset-construction](https://affpapa.org/en/nevibecode/skills/dril-dataset-construction.md) — skill · ★ 240 repo stars
- [nobleblocks-mcp](https://affpapa.org/en/nevibecode/mcp/nobleblocks-mcp.md) — MCP server · ★ 1 repo stars
- [academic-pipeline](https://affpapa.org/en/nevibecode/skills/academic-pipeline.md) — skill · 7800 installs
- [asta](https://affpapa.org/en/nevibecode/skills/asta.md) — skill · 3100 installs
- [journal-abbrev](https://affpapa.org/en/nevibecode/skills/journal-abbrev.md) — skill · 3000 installs

From the same set: [aspi6246/claude-code-skills-for-academics](https://affpapa.org/en/nevibecode/by/aspi6246/claude-code-skills-for-academics.md) — 17 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
