AnchoredAutoResearch adopt skill for Codex. Anchors the protocol to an in-progress project (existing LaTeX + git + logs). Imports state as read-only Cycle 1; real cycles start at Cycle 2.
Use this skill when the user invokes $research-adopt in Codex.
AGENTS.md for project rulesRSD.md if present — if it exists, REFUSE (ADOPT never overwrites).../research/references/adopt-protocol.md../research/references/rsd-schema.md../research/references/core-principles.md for anti-gaming rules../research/references/knowledge-sources.md scan logic for any
existing context/ sourcesFrom the user's invocation:
--mode strict|fully-auto — adopt mode. Default: strict.--from /path — source project path. Default: CWD.Run ADOPT pre-flight:
RSD.md exists.--from. Refuse if missing or not a directory.--from has no .tex, no .git, no logs/, and no
context/ — suggest INIT instead.--mode. Default to strict if omitted.Run the input scan:
Write RSD.md following the strict or fully-auto protocol in
adopt-protocol.md. Use the Imported Cycle Format. Set
## Status: WAITING_HUMAN, ## Phase: ADOPT, ## Cycle: 1.
Create missing directories: checkpoints/, logs/, outputs/,
context/papers/, context/notes/, context/prior_work/.
Run bash scripts/compile_rsd.sh.
Copy frozen state to checkpoints/cycle_1_adopt.md and
checkpoints/cycle_1_adopt.pdf.
Git commit:
"research: adopt existing project (strict)""research: adopt existing project (fully-auto)"If a .tex was found, offer the PAPER handoff (ask before copying to
outputs/paper/paper.tex; pick venue; invoke PAPER import-from-tex).
Stop and tell the human to read RSD.pdf, that Cycle 1 is the imported
read-only snapshot, that their first new cycle will be Cycle 2, and to
approve or revise in chat or RSD.md before running $research.
Stream all output live. Never run in background.