algorithm-design
Design algorithms with LaTeX pseudocode and UML diagrams. Generate algorithmic environments, Mermaid class/sequence diagrams, and…
Write ML experiment code with iterative improvement. Generate training/evaluation pipelines, debug errors, and optimize results through code reflection. Use when implementing experiments for a research paper.
Claude Code
$ npx -y skills add lingzhi227/agent-research-skills --skill experiment-code --agent claude-code
Codex
$ npx skills add lingzhi227/agent-research-skills --skill experiment-code -a codex -y
Cursor
$ npx skills add lingzhi227/agent-research-skills --skill experiment-code -a cursor -y
Gemini CLI
$ npx skills add lingzhi227/agent-research-skills --skill experiment-code -a gemini-cli -y
GitHub Copilot
$ npx skills add lingzhi227/agent-research-skills --skill experiment-code -a github-copilot -y
OpenCode
$ npx skills add lingzhi227/agent-research-skills --skill experiment-code -a opencode -y
Windsurf
$ npx skills add lingzhi227/agent-research-skills --skill experiment-code -a windsurf -y
name: experiment-code description: Write ML experiment code with iterative improvement. Generate training/evaluation pipelines, debug errors, and optimize results through code reflection. Use when implementing experiments for a research paper. argument-hint: [plan-or-idea]
Generate and iteratively improve ML experiment code for research papers.
Generate initial experiment code following this structure:
1. **Plan experiments first** — List all runs needed (hyperparameter sweeps, ablations, baselines) 2. **Write self-contained code** — All code in project directory, no external imports from reference repos 3. **Include proper logging** — Save results to JSON, print intermediate metrics 4. **Generate figures** — At minimum Figure_1.png and Figure_2.png
project/ ├── experiment.py # Main experiment script ├── plot.py # Visualization script ├── notes.txt # Experiment descriptions and results ├── run_1/ # Results from run 1 │ └── final_info.json ├── run_2/ └── ...
Improve existing experiment code: 1. Read current code and results 2. Reflect on what worked and what didn't 3. Apply targeted edits (prefer small edits over full rewrites) 4. Re-run and compare scores 5. Keep the best-performing code variant
Fix experiment code errors: 1. Read the error message (truncate to last 1500 chars if very long) 2. Identify the root cause 3. Apply minimal fix 4. Up to 4 retry attempts before changing approach
Generate publication-quality plots from experiment results: 1. Read all `run_*/final_info.json` files 2. Generate comparison plots with proper labels 3. Use the figure-generation skill for styling
31 skills for Claude Code covering the full academic research paper lifecycle — from literature search to slide generation — plus GitHub repository analysis for research topics. Extracted from 17 GitHub repos studying LLM-agent-driven research automation.
Design algorithms with LaTeX pseudocode and UML diagrams. Generate algorithmic environments, Mermaid class/sequence diagrams, and…
Decompose research ideas into atomic, self-contained concepts with bidirectional math-code mapping. For each concept, extract the…
Make every number in the final PDF traceable to the exact code line that produced it. Uses \hypertarget/\hyperlink LaTeX commands…
Manage BibTeX citations for LaTeX papers. Harvest missing citations from a draft using Semantic Scholar, validate cite keys…
Debug experiment code with structured error analysis. Categorize errors, apply targeted fixes with retry logic, and use…
Generate statistical analysis code with 4-round review. Select appropriate statistical tests, interpret results, and produce…
Use this skill when the user requests to review, analyze, critique, or summarize academic papers, research articles, preprints,…
Research what people actually say about any topic in the last 30 days. Pulls posts and engagement from Reddit, X, YouTube,…
Estimates intracellular metabolic fluxes from steady-state carbon-13 isotope-tracing measurements using validated atom maps,…
Search literature across sources, verify or manage citations, and build MeSH strategies or citation-impact audits. Use for…