Loading...
Loading...
Initialize a full ML research project control root with independent paper, code, and optional slide repositories, shared project memory, root-level agent guidance, code-owned worktree policy, and component handoffs. Use when starting a new research project, setting up a project root for agents, connecting paper/code/slides repos, or replacing a simple paper+code workspace with a lifecycle-aware research project structure.
npx skill4agent add a-green-hand-jack/ml-research-skills project-init<ProjectName>/paper/code/slides/research-project-memoryinit-latex-projectinit-python-projectnew-workspaceremote-project-controlsafe-git-ops<ProjectName>/
├── PROJECT.md
├── AGENTS.md
├── memory/
│ ├── project.yaml
│ ├── component-index.yaml
│ ├── current-status.md
│ ├── decision-log.md
│ ├── claim-board.md
│ ├── evidence-board.md
│ ├── risk-board.md
│ └── action-board.md
├── paper/ # independent LaTeX git repo
├── code/ # independent Python/ML git repo
├── code-worktrees/ # sibling worktree root for code repo branches
├── slides/ # optional independent git repo
├── reviewer/ # reviewer simulation state
├── rebuttal/ # real review and response state
├── artifact/ # artifact-evaluation and release handoff state
└── docs/
├── updates/
├── audits/
└── timelines/experiments/code/code/docs/results/ # stable result summaries, table notes, figure notes
code/docs/reports/ # experiment-report-writer outputs
code/docs/runs/ # run registry, job pointers, config and commit pointers<ProjectName>/paper/code/slides/code/code-worktrees/<ProjectName>/code-worktrees/<parent-dir>/<ProjectName>/
├── memory/
├── docs/updates/
├── docs/audits/
├── docs/timelines/
├── reviewer/.agent/
├── rebuttal/.agent/
├── artifact/.agent/
└── code-worktrees/slides/<ProjectName>/.gitignore/paper/
/code/
/slides/
/code-worktrees/research-project-memorymemory/project.yamlmemory/component-index.yamlmemory/current-status.mdmemory/decision-log.mdmemory/claim-board.mdmemory/evidence-board.mdmemory/risk-board.mdmemory/action-board.mdcomponents:
code:
path: code
worktree_root: code-worktrees
owns:
- algorithm implementation
- experiment execution
- code-side result reports
- remote execution state
paper:
path: paper
owns:
- paper claims and narrative
- figures and tables selected for submission
slides:
path: slides
status: optional
reviewer:
path: reviewer
rebuttal:
path: rebuttal
artifact:
path: artifact<ProjectName>/AGENTS.md<ProjectName>/git -C code ...git -C paper ...git -C slides ...code-worktrees/code/docs/results/code/docs/reports/code/docs/runs/update-docsadd-git-taginit-latex-project<ProjectName>/paper/paper/.agent/init-python-project<ProjectName>/code/code/docs/results/
code/docs/reports/
code/docs/runs/<ProjectName>/slides/slides/.agent/main code repo: <ProjectName>/code/
code worktree root: <ProjectName>/code-worktrees/
worktree path: <ProjectName>/code-worktrees/<branch-type>-<branch-name>/memory/project.yamlmemory/component-index.yaml<ProjectName>/AGENTS.mdcode/docs/ops/current-status.mdcode/infra/remote-projects.yamlcode/docs/ops/current-status.mdpaper/<ProjectName>/PROJECT.md# <ProjectName>
> <one-line research description>
## Project Control Root
Agents should start from this directory for cross-component work. Component repos are independent.
## Components
| Component | Path | Git | Purpose |
|---|---|---|---|
| paper | `paper/` | independent repo | LaTeX paper and paper-facing claims |
| code | `code/` | independent repo | implementation, experiments, code-side evidence |
| code worktrees | `code-worktrees/` | linked worktrees of code repo | isolated experiments, baselines, rebuttal fixes |
| slides | `slides/` | optional independent repo | talks and advisor/lab presentations |
| reviewer | `reviewer/` | root state dir | simulated reviews and pre-submission risk |
| rebuttal | `rebuttal/` | root state dir | real reviews, responses, promised revisions |
| artifact | `artifact/` | root state dir | artifact evaluation and release handoff |
## Code Evidence Policy
- runnable experiment logic lives in `code/experiments/`
- stable code-side result summaries live in `code/docs/results/`
- experiment reports live in `code/docs/reports/`
- run pointers and job summaries live in `code/docs/runs/`
- raw outputs, logs, checkpoints, and wandb/tensorboard caches stay outside Git or in ignored paths
- paper-facing evidence is promoted through `paper-evidence-board` or `project-sync`
## Worktree Policy
- default root: `code-worktrees/`
- naming: `<branch-type>-<branch-name>`
- every research worktree needs `.agent/worktree-status.md`
- exit condition: merge, continue, park, or kill
## Memory Policy
- project-level durable summaries live in `memory/`
- component details live in `<component>/.agent/`
- code-side run details live in `code/docs/`
- volatile scheduler or job state must be re-verified before actionProject initialized: <ProjectName>
Control root: <path>
Components:
paper: <created|connected|skipped>
code: <created|connected|skipped>
slides: <created|connected|skipped>
reviewer/rebuttal/artifact state: <created|deferred>
Code worktree root:
<ProjectName>/code-worktrees/
Next skills:
research-project-memory -> inspect or update project state
new-workspace -> create a code branch/worktree
remote-project-control -> configure SSH/HPC execution for code
experiment-design-planner -> plan first experiment matrixpaper/code/slides/code-worktrees/experiments/code/docs/