Sandbox
@fcakyon/phd-skills

Claude Code plugin for research guardrails

This plugin adds research-specific commands, auto-triggered skills, agents, and silent hooks to Claude Code. It is built around paper reproduction, experiment comparison, evidence-first debugging, citation checks, and launch checks that run around your work.

388 stars34 forksShellUpdated 2mo ago
Who it's for

Builders who use Claude Code to run experiments, read papers, and write research documents.

What it delivers

You can catch bad assumptions and risky actions before they waste days of compute or corrupt your results.

What it does

Paper reproduction workflow

A `/phd-skills:reproduce` command and a Reproduce skill help you take a paper from arXiv to replication runs.

Evidence-first debugging

The Debug skill activates when you describe failures like divergence, OOMs, or missing results, and it starts from artifacts instead of guesses.

Experiment comparison

The Compare skill aligns runs at the same epoch so you can compare them fairly instead of trusting mismatched metrics.

Paper and literature checks

Commands like `xray`, `factcheck`, `gaps`, and `fortify` help audit claims, verify citations, find gaps, and prepare reviewer defense.

Research guardrail hooks

Silent hooks and scripts catch fabricated paths, missing citation checks, unreviewed figures, unsafe edits, and other research mistakes.

Auto-triggered research skills

Skills cover reproduction, debugging, launch planning, experiment design, literature research, paper verification, paper writing, dataset curation, publishing, reviewer defense, and LaTeX setup.

Specialized agents

`paper-auditor` cross-checks claims against code and data, and `experiment-analyzer` reviews results from tools like wandb, neptune, tensorboard, mlflow, or local files.

How to get it

  1. 1Run
    claude plugin marketplace add fcakyon/phd-skills
    claude plugin install phd-skills@phd-skills
  2. 2"launch the new training run" the launch skill auto-triggers, runs the pre-flight…
    /loop 30m check experiment logs, notify me if metrics beat the baseline or if loss starts to diverge

README

phd-skills

Catch AI mistakes before they cost weeks of compute. Reproduce papers from arxiv. Debug runs evidence-first. Compare experiments at the right epoch. Launch with discipline.

Built by Fatih Cagatay Akyon (1500+ citations, 7 patents) after 300+ Claude Code sessions, tens of critical AI mistakes caught the hard way, and thousands of hours of PhD research. Every guardrail in this plugin traces to a real mistake.

Claude Code Plugin MIT License Zero Dependencies No MCP Required


Why This Plugin Exists

Claude Code is powerful, but it makes research-specific mistakes that cost weeks of compute:

  • It typed "done?" as "dont?" and launched an unwanted upload of thousands of files
  • It analyzed my full dataset when I asked for a specific 4k/2k/2k split
  • It claimed a test covered a bug it had never actually verified
  • It never once looked at a figure it generated, just trusted the numbers
  • It restarted a 50-hour training job without diffing the config against the reference run, lost three days
  • It claimed an experiment was diverging based on a non-converged proxy metric, killed it before downstream eval would have shown the truth
  • It ran rm -rf on a path it had hallucinated from memory, lost local checkpoints

Other plugins give you more commands. This plugin gives you guardrails.


Install

claude plugin marketplace add fcakyon/phd-skills
claude plugin install phd-skills@phd-skills

The plugin works correctly the moment it is installed. Optional: run /phd-skills:setup for a 30-second tour of what was auto-detected and to opt into extras (notifications, allowlist, LaTeX).


Usage

Open Claude Code in your project directory, then:

  • /phd-skills:reproduce arxiv 2508.12345 reproduce a paper from arxiv URL through replication runs
  • "why is my loss diverging?" the debug skill auto-triggers, runs evidence-first probes
  • "compare run alpha to baseline" the compare skill auto-triggers, aligns at the same epoch
  • "launch the new training run" the launch skill auto-triggers, runs the pre-flight checklist
  • /loop 30m check experiment logs, notify me if metrics beat the baseline or if loss starts to diverge

Notifications (task completion, background agents) forward to ntfy / Slack / email after /phd-skills:setup.


What You Get

Commands

CommandWhat it does
/phd-skills:xrayAudit paper against code and data (5 parallel dimensions)
/phd-skills:factcheckVerify BibTeX entries and cited claims against DBLP
/phd-skills:gaps <topic>Literature gap analysis with web confirmation
/phd-skills:fortify [venue]Select strongest ablations + anticipate reviewer questions
/phd-skills:setupAuto-detection tour + optional extras
/phd-skills:helpShow all features at a glance

Skills (auto-trigger, just describe what you need)

When you say...Skill activates
"reproduce this arxiv paper"Reproduce
"why is X failing / diverging / OOMing"Debug
"compare run A to baseline"Compare
"launch a new training run" / "kick off training"Launch
"design an ablation study"Experiment Design
"find related papers on X"Literature Research
"check if my numbers match the code"Paper Verification
"review my methods section for consistency"Paper Writing
"analyze dataset bias"Dataset Curation
"prepare code for open-source release"Research Publishing
"what will reviewers ask about this?"Reviewer Defense
"setup latex for CVPR"LaTeX Setup

Agents (Claude delegates automatically)

AgentWhat it doesSpecial
paper-auditorCross-checks paper claims vs code and dataRuns in isolated worktree, remembers patterns across sessions
experiment-analyzerAnalyzes results from wandb / neptune / tensorboard / mlflow / localHands off to compare and debug skills for discipline

Research Guardrails (run silently, you never invoke these)

What it catches
Conclusions reviewed against actual artifacts by a fresh-context research peer
In-place edits to git-tracked source over SSH
Unverified commands or paths in outbound teammate messages
Project-internal jargon shapes in commits and docs
Timezone tokens that do not match the system clock
Pre-flight checklist on long ML training launches
Fabricated paths in destructive commands (rm / mv / dd / force-push)
Missing citation verification when editing .tex/.bib
LaTeX compilation errors after .tex edits
Unreviewed generated images/figures
Research state loss before context overflow

How It Compares

phd-skillsflonat/claude-researchOthers
Commands to learn63913-20
Research integrity hooks11 (agent + 10 auto-detect)10
Paper reproduction (arxiv to runs)Yes (7-stage skill)NoNo
Paper-code consistency audit5-dimension parallelRead-only, no code cross-refNone
Experiment monitoring + SSH notificationsYes (ntfy / slack / email)NoNo
External dependenciesNonenpm + pip + MCP serversMCP required
Install time30 seconds10+ minutesVaries

Design Principles

  1. Methodology over scripts. Skills teach the approach, Claude generates code for your specific setup (wandb, neptune, local files, whatever)
  2. Human oversight first. Claude makes premature claims and jumps to conclusions. Every skill builds in verification checkpoints
  3. Actionable output. Ranked suggestions with specific fixes, never just a list of findings

License

MIT. Use it, fork it, adapt it to your research.

Thank you for the support!

Star History Chart

Contributors

Files in the repo

Repository payload4 top-level entries
  • .claude-plugin
  • plugin
  • LICENSE
  • README.md

Discussion (0)

Ask about usage, or say what you built with it

Sign in to join the discussion.

No comments yet. Be the first to say what this is good for.

More plugins

Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.

138k
1 add

Graphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.

82k
code-yeongyu/
oh-my-openagent

OmO: Just type "mass ulw" keyword with your prompt. Now you are the master of graph engineering.

69k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

94k

Opinionated Oxlint rules for rejecting low-evidence TypeScript and JavaScript patterns

4.3k