preregister
Draft a structured preregistration document (OSF, AsPredicted, or AEA RCT Registry style) from a research spec or free-form study description. Output is a Markdown file with hypotheses, design, sampling plan, analysis plan, exclusions, and inference criteria — annotated with MUST
Install
npx skills add https://github.com/pedrohcgs/claude-code-my-workflow/tree/main/.agents/skills/preregister
claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install pedrohcgs-claude-code-my-workflow@llmmart
git clone https://github.com/pedrohcgs/claude-code-my-workflow.git
The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole pedrohcgs/claude-code-my-workflow collection as a plugin from our marketplace. Git is the plain clone.
Skill manifest
preregister
This skill's instructions live in .claude/skills/preregister/SKILL.md.
Read that file now and follow it, with the files it points to. Read AGENTS.md
first if you have not already.
It was written for Claude Code. Running it from Codex, Antigravity or another agent:
- Arguments. Where it says
$ARGUMENTS, use what the user asked for. - Claude Code agents. Where a step hands work to an agent in
.claude/agents/(through theAgentorTasktool), do that step where it appears in the procedure: never later, and never skip it. A step that gates what follows still gates it (/commitruns its verifier before it commits). Read the agent's file for what the step checks. - Fresh context. If the step needs a context that has not seen your work, for example a claim
verifier that must never see the draft, run it in a separate session or worker that has not
seen the draft, if your tool can start one, and give it only what the step says to pass. If it
cannot, do the step yourself, mark every result it produced not independently verified, and
tell the user to repeat that check in Claude Code (
/verify-claimsfor citations) before relying on it. - Claude Code settings.
allowed-tools,model,effort,argument-hintanddisable-model-invocationin the source's frontmatter configure Claude Code. Ignore them. - Guards. Claude Code's guard hooks do not run for you. Follow the rules in
AGENTS.mdyourself; the git pre-commit gate and CI still apply to your commits.
Files (claude-code-my-workflow)
-
agents
-
openai.yaml 134 B
Loading…
-
-
SKILL.md 2.4 KB
--- name: preregister description: Draft a structured preregistration document (OSF, AsPredicted, or AEA RCT Registry style) from a research spec or free-form study description. Output is a Markdown file with hypotheses, design, sampling plan, analysis plan, exclusions, and inference criteria — annotated with MUST / SHOULD / MAY clarity flags. Use when user says "preregister", "draft a preregistration", "OSF preregistration", "AsPredicted", "AEA RCT registry", "PAP", "preanalysis plan", or before launching an experiment / data collection / analysis on data the analyst has not yet seen. NOT a registry submission tool — produces a document the user uploads to OSF / AsPredicted / AEA themselves. --- <!-- Generated by scripts/sync-agent-skills.py from .claude/skills/preregister/SKILL.md. Do not edit: change the source and re-run the script. --> # preregister This skill's instructions live in [`.claude/skills/preregister/SKILL.md`](../../../.claude/skills/preregister/SKILL.md). Read that file now and follow it, with the files it points to. Read [`AGENTS.md`](../../../AGENTS.md) first if you have not already. It was written for Claude Code. Running it from Codex, Antigravity or another agent: - **Arguments.** Where it says `$ARGUMENTS`, use what the user asked for. - **Claude Code agents.** Where a step hands work to an agent in `.claude/agents/` (through the `Agent` or `Task` tool), do that step where it appears in the procedure: never later, and never skip it. A step that gates what follows still gates it (`/commit` runs its verifier before it commits). Read the agent's file for what the step checks. - **Fresh context.** If the step needs a context that has not seen your work, for example a claim verifier that must never see the draft, run it in a separate session or worker that has not seen the draft, if your tool can start one, and give it only what the step says to pass. If it cannot, do the step yourself, mark every result it produced *not independently verified*, and tell the user to repeat that check in Claude Code (`/verify-claims` for citations) before relying on it. - **Claude Code settings.** `allowed-tools`, `model`, `effort`, `argument-hint` and `disable-model-invocation` in the source's frontmatter configure Claude Code. Ignore them. - **Guards.** Claude Code's guard hooks do not run for you. Follow the rules in `AGENTS.md` yourself; the git pre-commit gate and CI still apply to your commits.
Comments (0)
Sign in to join the conversation.
Reviews (0)
No reviews yet.
No comments yet.