ワンクリックで
init-project-research
Use when you need to bootstrap a full research project with directory scaffold and Overleaf symlink.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use when you need to bootstrap a full research project with directory scaffold and Overleaf symlink.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Use when you need to audit a research project against the init-project-research template.
Use when you need to validate a paper's bibliography — cross-references \cite{} keys against .bib files or embedded \bibitem entries, finds missing/unused/typo'd keys, and checks every key against the Paperpile library via the local resolver. Deep verification mode spawns parallel agents for DOI/metadata validation at scale. Fix mode rekeys drifted keys to canonical and stages missing entries for Paperpile.
Use when you need to create a preprint / working-paper variant of a paper currently in conference or journal format. Forks the existing Overleaf project — adds a `preprint/` subfolder using the user's `your-template` Template, ports the body content from the source paper. The preprint is accessed locally via the existing `paper-{venue}/paper/preprint/` path (subfolder under the conference paper's symlink); no separate `paper-wp/` directory. Trigger on "set up a working paper", "create a preprint", "WP version", "arXiv-ready version", "ready to preprint". Never creates a new top-level Overleaf project — always nests inside the existing one. Never uses the conference's own style (.sty / .cls); always swaps to `your-template`.
Use when you need academic proofreading of a LaTeX paper (11 check categories).
Use when you need to assemble, anonymize, or audit a replication package.
Use when you need a mid-draft adversarial review of a paper — runs paper-critic + domain-reviewer + claim-verify + blindspot in parallel, then auto-synthesises into a prioritised revision plan. Distinct from /pre-submission-report (final-gate kitchen sink, 13 sub-agents) — this is the active-drafting feedback loop. Triggers: 'review my draft', 'adversarial review', 'cluster review', 'mid-draft critique', 'feedback before pre-submission'.
| name | init-project-research |
| description | Use when you need to bootstrap a full research project with directory scaffold and Overleaf symlink. |
| allowed-tools | Bash(mkdir*), Bash(ln*), Bash(ls*), Bash(git*), Bash(touch*), Bash(jq*), Bash(uv*), Bash(curl*), Bash(wget*), Read, Write, Edit, Glob, Grep, Task, WebSearch, WebFetch, AskUserQuestion |
| argument-hint | [project-name or no arguments for guided setup] |
Interview-driven skill that scaffolds a research project directory, creates an Atlas topic, syncs to vault (Atlas + Pipeline + Venues), and integrates with the user's Task Management system.
Scope pre-flight. During the interview (Phase 1), read the global paper scope checklist at ~/Task-Management/.context/paper-scope-checklist.md (resolve the TM root via cat ~/.config/task-mgmt/path) and apply its eight gates to the proposed project — confirm a one-sentence research question and right-sized contributions before scaffolding. Flag (don't block) any failed gate so the project starts with scope discipline set.
| Invocation | Behaviour |
|---|---|
/init-project-research (no args) | Guided: full interview, no auto-detection unless CWD already contains project files |
/init-project-research <name> | Targeted: uses <name> as the proposed slug, runs auto-detection if the directory exists, still walks the interview |
Both modes execute Phases 1–10 in order. The argument only seeds the slug guess in Round 1.
Ten phases, in order:
paper/ to Overleaf folder via mkdir + symlink/literature + in parallelUse AskUserQuestion for structured input. Three rounds to avoid overwhelming.
Before asking questions, scan the project directory (if it already exists) for metadata:
\title{}, \author{}, \begin{abstract}, \begin{keyword} from .tex filesREADME.md, notes.md with # Title headings.bib presence for later phasespaper/ is a symlink, follow and scan the targetPresent detected values as the first option (marked "Detected from paper") in interview questions. Always allow override. If the directory doesn't exist yet, skip auto-detection.
costly-voice). Folder name on disk is Title Case with spaces (Costly Voice). Confirm the derived folder name.references/round-1-venue.md.~/.config/task-mgmt/overleaf-root (fallback ~/Apps/Overleaf/). Creating a folder under that root auto-creates the Overleaf project. Symlink details deferred to Phase 5.Task Management/templates/ for options. Default: Working Paper (templates/latex-wp/). Also offer "None".references/round-2-github.md.code/, data/, output/) / Computational (src/, tests/, experiments/, results/) / Theoretical (minimal) / Mixed.references/round-2-hpc.md.Paper type, abstract, key research questions, then paper-type-specific questions (empirical/theoretical/methodological/mixed) adapted from Lopez-Lira's idea evaluation template.
Full question set: references/interview-round3.md.
Pre-scaffold checks. Run before any directory creation. If any near-match is found, present the list to the user and confirm whether to proceed, merge, or extend. Do not silently scaffold alongside a duplicate.
grep -ril "<title-keyword>" ~/vault/atlas/ 2>/dev/null
ls -d "$RESEARCH_ROOT/<theme>/"*/ 2>/dev/null
paper-{venue}/ inside an existing project, list existing paper*/ dirs and check for manuscript-content overlap (not just venue) before creating..claude/), read documents, present a reorganisation plan: keep in place / move to docs/ / move to docs/readings/ / move to paper/ / move to to-sort/ / absorb into seed files. Wait for approval, execute, double-check before deletions. Use any extracted interview content to reduce Round 3 questions.If the directory doesn't exist, create it and proceed.
example-project — citation keys, git refs.Example Project — directory on disk.paper/ is for LaTeX source files ONLY. No code, data, scripts, computational artifacts. See .claude/rules/overleaf-separation.md..tex), never Markdown. Seed paper-{venue}/paper/main.tex from the LaTeX working-paper template. No Markdown drafts under paper*/ — papers compile via /latex and sync to Overleaf. Markdown is reserved for README, notes, and context files outside paper*/.Common core (always created): CLAUDE.md, README.md, MEMORY.md, .gitignore, .context/, .claude/, docs/ (literature-review, readings, venues), log/, paper-{venue}/ (with symlink + correspondence/referee-reviews/), github-repo/ (optional), knowledge/, reviews/INDEX.md (manifest only — per-scope/per-check subdirs created lazily, per rules/review-artefact-routing.md), correspondence/editorial/, correspondence/referee-reviews/, to-sort/.
Note: the legacy
REVIEW-STATE.mdat project root +reviews/empty dir +correspondence/internal-reviews/layout is superseded byrules/review-artefact-routing.md. New projects scaffold the new layout directly; existing projects retrofit via/tidy-project-reviews. Per-paperbackup/directories are created lazily by the LaTeX-compile PostToolUse hook and are gitignored viapaper-*/backup/.
| Project type | Adds |
|---|---|
| Experimental | code/python/, code/R/, data/raw/, data/processed/, output/{figures,tables,logs}/ |
| Computational | src/<project>/, tests/, experiments/configs/, results/, pyproject.toml, .python-version |
| Theoretical | — |
| Mixed | Prompt user |
HPC scaffold (optional, when Round 2 Q7 = Yes): adds hpc/{submit.sbatch,sweep.sbatch,env-setup.sh,sync-up.sh,sync-down.sh,README.md}. Full template list and sbatch invariants: references/round-2-hpc.md.
Venues: seed docs/venues/<venue-slug>/submission/; conference venues also get a submission checklist.
Preprint targets (arXiv / SSRN / OSF / institutional repos): seed the atlas topic's outputs[*] with venue: arXiv (or equivalent), format: Preprint, status: Planned, plus an optional internal target date. Do NOT seed a vault submission file for the preprint target — preprint posts are not venue submissions per rules/preprint-vs-submission.md. Vault submissions are reserved for events with reviewer pipelines (journals, conferences). A project with only a preprint target gets zero vault submission files at init.
Conference/journal targets: seed each outputs[*] with venue: '[[Name]]' (slug must resolve to a ~/vault/venues/ file) + format + status + paper_title (kept in sync with the registry canonical_title). When you seed a near-term Conference/Workshop target at a submission-active status (or with a known edition), also set cycle: <Venue> <edition-year> (e.g. cycle: NeurIPS 2026) per rules/atlas-status-vocabulary.md § submission-join completeness — journals get no cycle. Idea-stage targets may omit cycle until an edition is committed.
Python tooling: always uv — never bare pip, python, or requirements.txt.
Full scaffold tree, hook details, .gitkeep placement, implementation commands: references/scaffold-tree.md.
lean-claude-md rule.Both overlap on basic metadata but diverge in purpose.
Full templates: templates/seed-files.md.
| File | Purpose |
|---|---|
CLAUDE.md | Claude instructions: overview, venue, RQs, setup, conventions |
README.md | Human overview: title, authors, abstract, links, status |
.gitignore | Standard ignores: OS, IDE, data, paper, Python, R, LaTeX |
MEMORY.md | Knowledge base: notation, estimands, decisions, pitfalls |
reviews/INDEX.md | Review-artefact manifest. Header only at scaffold; populated by review-producing skills/agents writing to reviews/<scope>/<check>/<YYYY-MM-DD-HHMM>.md where <scope> is the paper name (e.g. paper-jtp) or _project for project-level reviews, and <check> is the producer slug (e.g. paper-critic, proofread). Maintained by /review-recap. See rules/review-artefact-routing.md. Supersedes the legacy REVIEW-STATE.md at project root. |
.context/current-focus.md | Initial "just initialised" state |
.context/field-calibration.md | Per-project domain profile placeholder (/interview-me populates) |
.context/project-recap.md | Research design notes |
.claude/hooks/copy-paper-pdf.sh | PDF copy hook |
log/YYYY-MM-DD-HHMM-setup.md | Initial setup log |
docs/pipeline-manifest.md | Experimental/Computational only — script/data/figure manifest. Template: templates/pipeline-manifest.md |
run_all.sh | Experimental/Computational only — multi-language pipeline executor. Template: templates/run-all.sh. chmod +x after creation. |
After writing .claude/settings.local.json, merge global permissions from ~/.claude/settings.json into it so the new project starts with full permissions from day one. jq union command and deny-array handling: references/paper-directory.md § Permissions Sync.
Nested pattern: each paper submission is a real directory at project root (e.g., paper-ccs/) containing a paper/ symlink to the Overleaf folder. Venue-specific files (checklists, cover letters, R&R responses) live alongside the symlink without being synced to Overleaf.
Overleaf naming: Paper {THEME_PREFIX} {Title Cased Slug} ({VENUE}) — theme prefix AND venue suffix both required, even for single-venue papers. Examples: Paper T1 Example Topic One (CCS), Paper T2 Example Topic Two (NeurIPS 26).
Create the Overleaf folder via mkdir under the root from ~/.config/task-mgmt/overleaf-root. Overleaf auto-creates a project from a new folder. Never rename or delete Overleaf folders — see .claude/rules/overleaf-separation.md.
Backup: create backup/<paper-dir-name>/ for each paper. Daily backup-overleaf-papers.sh populates them.
Full nested structure, theme-prefix table, symlink commands, backup loop: references/paper-directory.md.
Skip entirely if the user chose "No git" in Round 2.
cd "<project-path>" && git init && git branch -m main
# Activate the shared Paperpile citation pre-commit hook (per rules/paperpile-citations.md):
git config core.hooksPath "$(cat ~/.config/task-mgmt/path)/scripts/git-hooks"
git add . && git commit -m "Initialize project: <working-title>"
Setting core.hooksPath points this project's git hooks at the shared body in Task-Management (scripts/git-hooks/), so the citation lint runs on every commit with a single, centrally-maintained hook. core.hooksPath lives in .git/config (not committed), so it is re-set here at init for each project/checkout.
If GitHub remote requested: gh repo create "user/<project-name>" --private --source=. --remote=origin --push.
If local git only: remind to push before switching machines. Do NOT push unless a remote was explicitly requested.
Creates the research topic in all systems: local file → vault atlas → Venues → project folder → documentation.
Full steps, Atlas defaults, and Atlas anti-patterns ("Never Do These"): references/atlas-sync.md.
Three sub-steps writing into the Task Management context library: index update, paper context file, current-focus integration.
Full sub-steps, templates, edit policies: references/task-mgmt-sync.md.
After scaffolding and syncing, run /literature and in parallel via sub-agents for initial literature review + novelty assessment.
Full steps and error handling: references/literature-discovery.md.
Print the structured confirmation after all phases complete.
Full template: references/confirmation-report.md.
Per the multi-system-completeness rule, partial state is the dominant failure mode for this skill. Track which phases completed, surface incomplete state, do not silently move on.
| Error | Response |
|---|---|
| Overleaf path doesn't exist | Create symlink anyway (resolves when Overleaf syncs). Warn user. |
gh CLI not available | Skip GitHub remote, note in Phase 10 report. |
taskflow MCP server fails | Skip vault entry, offer to retry. Note as incomplete in Phase 10. |
| Directory already exists with files | Phase 2 handles via reorganisation plan, not an error. |
| Duplicate Atlas slug | Flag and skip Atlas creation — may need merge into existing topic. |
| Phase fails after a previous phase wrote to disk | Phase 10 must list which systems were touched (local dir / Overleaf / vault / atlas / git remote) and which were not, so manual cleanup is targeted, not a guess. |
| Skill | Relationship |
|---|---|
/literature | Runs in Phase 9 — initial literature review |
| Runs in Phase 9 — novelty assessment | |
/project-safety | Already handled — .gitignore and settings created during init |
/save-context | Context library entries created during Phase 8 |
/session-log | Offer to create a session log after init completes |
/interview-me | To develop the research idea before scaffolding |
packages/atlas-vault/generate_recap.py | Optional after init — regenerates RECAP.md portfolio index. Not required for atlas.example.com (atlas-workspace reads vault directly via Syncthing). |
/atlas-deploy | Manual-only skill — user can run for schema validation + Mac Mini launchd restart. NOT needed for atlas.example.com to surface a new topic; that's automatic via Syncthing. |
/audit-project-research | Must mirror this scaffold. When init adds a new directory or convention, add a matching audit phase there and update /atlas-audit SA1. |
/atlas-audit | Drift trigger: new projects change theme dir counts — see atlas-audit/references/drift-checks.md. SA1 structure checks must stay consistent with this scaffold. |
references/domain-profile-template.md | Template for economics/field-specific domain profiles — copy to project's docs/domain-profile.md during init for economics papers. |
\cite{key}, verify with paperpile get-item key and paperpile export-bib key.refpile semantic search → Paperpile verify.\CiteTodo{slug}{title/author/year/DOI hint} — never a guessed key..bib; only the orchestrator regenerates it from Paperpile exports..paperpile-import/ for manual Paperpile import; don't cite until Paperpile mints the key.scripts/bib/citation_lint.py before commit; zero placeholders, zero non-Paperpile keys, zero hand-authored metadata.See rules/paperpile-citations.md for the full workflow.
Scaffold paper-<venue>/submission/archive/ (empty, with .gitkeep) and a top-level presentations/ dir. Do NOT create PAPER-HISTORY.md — it is generated by scripts/generate-paper-history.py once the paper has events (rules/submission-file-archive.md § Topic-folder layout).