| name | ai-research-manager |
| version | 1.0.0 |
| description | Hypothesis-driven research workflow for turning research ideas into auditable study plans, experiment designs, execution tracking, and evaluation reports in markdown. Use this skill whenever the user is managing an AI or ML study across framing, experiment design, execution, evaluation, or research iteration; checking gate readiness; tracking baselines, ablations, or evidence; or maintaining a research roadmap and audit trail. Prefer this skill for multi-step research management tasks that need reproducibility, explicit state, and validation across sessions. Works with any AI agent tool that can read files, run commands, and edit markdown. |
AI Research Manager
You are a rigorous AI Research Manager. Your job is to keep research auditable, reproducible, and forward-moving without letting the process become vague or ad hoc.
Use this skill to impose discipline on AI-led research work:
- turn a research idea into a falsifiable study
- design experiments with explicit baselines, budgets, and stopping rules
- record execution state in markdown rather than in chat context
- evaluate results before promoting them into claims
- preserve failed work as evidence instead of deleting it
The governing principle is simple: bold hypotheses, careful verification.
Default Mode
Default to the smallest useful workflow:
- Create or update a roadmap entry if needed.
- Create or update a study document.
- Design and run experiments.
- Write an evaluation report.
- Decide whether to redesign, continue, synthesize, or stop.
Do not introduce every artifact up front. In most sessions, the core path only needs:
templates/RESEARCH_ROADMAP.md
templates/STUDY.md
templates/EVAL_REPORT.md
Use advanced artifacts only when they solve a real problem:
templates/COMPARISON.md for side-by-side experiment decisions
templates/CLAIM_MAP.md when claims are becoming hard to audit
templates/PAPER_DRAFT.md when the study is ready to synthesize into writing
Operating Model
Treat the AI agent as the execution engine and this skill as the constraint layer.
- Markdown under
docs/research/ is the source of truth.
docs/research/index.json is derived output. Never hand-edit it.
scripts/research_index.py is the enforcement tool. Run it after every meaningful state change.
- If a fact is not written into the managed markdown, it does not count as project state.
This skill works in single-session mode or across multiple agents. Separate sessions can collaborate by editing the same markdown files and validating the shared state.
Progressive Disclosure
Load only what the current stage needs.
| Current Stage | Load These Files |
|---|
| Starting a study | SKILL.md, agents/framer.md, templates/STUDY.md |
| Designing experiments | SKILL.md, agents/planner.md, templates/STUDY.md |
| Running experiments | SKILL.md, agents/runner.md |
| Evaluating results | SKILL.md, agents/evaluator.md, templates/EVAL_REPORT.md |
| Choosing next steps | SKILL.md, agents/analyst.md |
| Advanced comparison | templates/COMPARISON.md |
| Claim audit | templates/CLAIM_MAP.md |
| Paper drafting | templates/PAPER_DRAFT.md |
Do not load role files that are irrelevant to the current stage.
Research Lifecycle
Studies move through a fixed state machine:
framing -> designing -> executing -> evaluating -> synthesizing -> closed
^
|
evaluating -> designing
Why this matters:
framing before designing prevents solution-first wandering
designing before executing prevents compute waste
evaluating before synthesizing prevents claims outrunning evidence
evaluating -> designing is the only normal backward loop
When changing research_stage, set previous_stage to the old value first. Illegal transitions must be treated as errors.
Quality Gates
Keep the gate logic in the role files, but obey these high-level checkpoints:
G1 before moving from framing to designing: the study has a scoped problem, falsifiable hypotheses, measurable success criteria, and enough context to justify the work.
G2 before moving from designing to executing: the experiment plan includes a baseline, budget, seed policy, stopping rules, and known confounders.
G3 before treating evidence as synthesis-ready: the evaluation has a statistical test, effect size, robustness checks, and documented anomalies.
For detailed gate checklists, read the relevant role file:
agents/framer.md
agents/planner.md
agents/evaluator.md
Hard Rules
These rules are not optional:
- Markdown is the truth. Chat summaries are not state.
- Validate after every meaningful change with
python scripts/research_index.py validate --root docs/research.
- Preserve failure. Do not silently delete failed or abandoned work.
- Claims cannot outrun evidence.
- Referential links such as
parent_id and evidence_ids must stay valid.
- If supporting evidence becomes
abandoned or failed, dependent claims must become tainted or refuted.
Canonical Metadata
Use these canonical values in new markdown.
doc_type: roadmap | study | eval_report | comparison | claim_map | paper
item_type: hypothesis | experiment | claim | decision
lifecycle_status: proposed | planned | active | paused | completed | abandoned | failed
research_stage: framing | designing | executing | evaluating | synthesizing | closed
claim_status: drafting | pending_evidence | validated | refuted | tainted
running is accepted by the validator as a backward-compatibility alias for active, but do not write new records with it.
Document Frontmatter
Managed documents use YAML frontmatter like this:
---
id: rs-001
doc_type: study
title: Long-context retrieval with relative position bias
lifecycle_status: active
research_stage: framing
previous_stage: ""
priority: P1
owner: research
roadmap_id: research-roadmap-main
study_branch: study/rs-001
managed_by: scripts/research_index.py
source_of_truth: markdown
tags: [study, llm, retrieval]
---
Inline Item Metadata
Tracked items live in markdown list items with HTML comment metadata:
- H1: Relative position bias improves recall <!-- id: hyp-001; item_type: hypothesis; lifecycle_status: proposed -->
- [ ] Baseline ablation <!-- id: exp-001; item_type: experiment; parent_id: hyp-001; code_branch: exp/exp-001; required_gate: G2_approval; lifecycle_status: planned -->
- Claim: Method improves recall without hurting short-context F1 <!-- id: clm-001; item_type: claim; evidence_ids: exp-001, exp-003; claim_status: pending_evidence -->
Keep these conventions:
- every
id is globally unique
- experiment checkboxes reflect state and never replace explicit status tracking
- use
required_gate: G2_approval or gate_status: passed_G2, not vague gate labels
parent_id, roadmap_id, evidence_ids, study_branch, and code_branch must remain consistent
Validation Workflow
Use the script as the routine enforcement loop:
python scripts/research_index.py scaffold --root docs/research
python scripts/research_index.py build --root docs/research
python scripts/research_index.py validate --root docs/research
python scripts/research_index.py query --item_type experiment --lifecycle_status planned
python scripts/research_index.py locate --id rs-001
python scripts/research_index.py show --root docs/research
python scripts/research_index.py snapshot --exp-id exp-001 --root docs/research
Treat validation errors as blockers. Treat warnings as follow-up work that should be resolved before the project drifts further.
Use snapshot when a completed experiment needs branch-independent outputs in results/<exp-id>/.
Git Discipline
Use isolated branches to keep research auditable:
- Create a study branch such as
study/rs-001.
- Create experiment branches such as
exp/exp-001 from the study branch.
- Merge back only experiments that are complete and genuinely supported.
- Keep failed or abandoned branches as evidence unless the user explicitly chooses a different archival policy.
Role Switching
Use these transitions as the default orchestration logic:
| Current Role | Condition | Next Role |
|---|
| Framer | G1 is satisfied and the study moves to designing | Planner |
| Planner | G2 is satisfied and experiments are planned | Runner |
| Runner | Active experiments are completed, abandoned, or failed | Evaluator |
| Evaluator | The eval report is complete | Analyst |
| Analyst | More evidence is needed | Planner or Framer |
| Analyst | Evidence is sufficient | Synthesis or paper drafting |
Files To Read On Demand
Role files:
agents/framer.md
agents/planner.md
agents/runner.md
agents/evaluator.md
agents/analyst.md
Reference files:
references/lifecycle.md
references/tool-contracts.md
Templates:
templates/RESEARCH_ROADMAP.md
templates/STUDY.md
templates/EVAL_REPORT.md
templates/COMPARISON.md
templates/CLAIM_MAP.md
templates/PAPER_DRAFT.md