Init Project
Create an idempotent LabMate skeleton through the bundled interface. The model infers project metadata; the script owns filesystem layout and parity.
Workflow
Inspect the repository and infer project name, description, domain,
generalorresearch, compute environment, and host target.Show the inferred values once. Ask only about a value that would materially change the generated project.
Resolve
<plugin-root>from this file and preview:python3 <plugin-root>/scripts/init_project.py plan \ --type <general|research> --target <codex|claude|both> \ --project-name <name> --description <description> --domain <domain>If the plan would overwrite or semantically conflict with existing project instructions, stop and explain. Otherwise rerun with
apply, thencheck.Report created, updated, skipped, and missing paths from the JSON results.
Contract
- Existing project files are never replaced. Missing instruction sections may be appended; existing sections remain authoritative.
- When both hosts are selected, project-skill mirrors must match.
- A dirty worktree is not an automatic blocker. Preserve unrelated changes and call out overlapping target files before applying.
- Do not initialize LabMate merely because a session hook mentions it.