一键导入
gpd-help
Show available GPD commands and usage guide
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Show available GPD commands and usage guide
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Add research phase to end of current milestone in roadmap
Capture idea or task as todo from current research conversation context
Prepare a paper for arXiv submission with validation and packaging
Audit research milestone completion against original research goals
Create a hypothesis branch for parallel investigation of an alternative approach
List pending research todos and select one to work on
基于 SOC 职业分类
| name | gpd-help |
| description | Show available GPD commands and usage guide |
| argument-hint | [--all] |
| context_mode | global |
<codex_runtime_notes> Codex shell compatibility:
gpd on PATH.GPD_ACTIVE_RUNTIME=codex uv run gpd ....
</codex_runtime_notes>Output ONLY the reference content below. Do NOT add:
<execution_context>
Display the complete GPD command reference. Output ONLY the reference content. Do NOT add project-specific analysis, git status, next-step suggestions, or any commentary beyond the reference. ## Contextual Help (State-Aware Variant)When a state-aware help view is requested, show guidance based on project state:
No project exists:
Getting started:
$gpd-new-project — Start a new research project
$gpd-new-project --minimal — Quick start with minimal setup
$gpd-map-research — Map an existing research project
Project exists, no plans yet:
Phase {N}: {name}
$gpd-discuss-phase {N} — Gather context before planning
$gpd-plan-phase {N} — Create execution plan
$gpd-progress --full — See full project status
Plans exist, not executed:
Ready to execute:
$gpd-execute-phase {N} — Execute phase {N} plans
$gpd-show-phase {N} — Review phase details first
Phase complete:
Phase {N} complete:
$gpd-verify-work — Verify results
$gpd-plan-phase {N+1} — Plan next phase
$gpd-complete-milestone — If all phases done
Manuscript exists, no referee report yet:
Publication workflow:
$gpd-peer-review — Run manuscript peer review inside the current project
$gpd-arxiv-submission — Package only after review passes
Referee report exists:
Revision workflow:
$gpd-respond-to-referees — Draft responses and revise the manuscript
$gpd-peer-review — Re-run peer review after revision
For full command reference: $gpd-help --all
GPD organizes physics research into a clear hierarchy:
Project ─── the overall research goal
└─ Milestone ─── a major research objective (e.g., "v1.0: derive and validate")
└─ Phase ─── one investigation step (e.g., "Phase 3: Monte Carlo validation")
└─ Plan ─── a concrete execution plan (e.g., "Plan 01: implement Metropolis")
└─ Task ─── an atomic work unit (e.g., "Task 2: run thermalization")
Typical workflow:
$gpd-new-project — Define research question, survey literature, create roadmap$gpd-plan-phase N — Create detailed plans for phase N$gpd-execute-phase N — Run all plans (derivations, simulations, analysis)$gpd-verify-work — Verify physics correctness$gpd-write-paper — Generate publication from results$gpd-peer-review — Run manuscript review before submission inside the current project$gpd-respond-to-referees — Address reviewer comments if needed$gpd-arxiv-submission — Package the approved manuscriptExample: Studying the 3D Ising critical exponent:
GPD (Get Physics Done) creates hierarchical research plans optimized for solo agentic physics research with AI research agents.
$gpd-new-project - Initialize research project (includes literature survey, objectives, roadmap)$gpd-plan-phase 1 - Create detailed plan for first phase$gpd-execute-phase 1 - Execute the phase$gpd-new-project -> $gpd-plan-phase -> $gpd-execute-phase -> repeat
$gpd-new-project
Initialize new research project through unified flow.
One command takes you from research idea to ready-for-investigation:
Creates all .gpd/ artifacts:
PROJECT.md — research question, theoretical framework, key parametersconfig.json — workflow settings (autonomy, research_mode, agent toggles)research/ — literature survey (if selected)REQUIREMENTS.md — scoped research requirements with REQ-IDsROADMAP.md — phases mapped to requirementsSTATE.md — project memoryFlags:
--minimal — Skip deep questioning and literature survey. Creates project from a single description. Asks one question ("Describe your research project and phases"), then generates all .gpd/ artifacts with sensible defaults. Same file set as full mode, so all downstream commands work identically.--minimal @file.md — Create project directly from a markdown file describing your research and phases. Parses research question, phase list, and key parameters from the file. No interactive questions asked.--auto — Automatic mode with full depth. Expects research proposal via @ reference. Runs literature survey, requirements, and roadmap without interaction.Usage: $gpd-new-project
Usage: $gpd-new-project --minimal
Usage: $gpd-new-project --minimal @plan.md
$gpd-map-research
Map an existing research project — theoretical framework, computations, conventions, and open questions.
.gpd/research-map/ with 7 structured documents$gpd-new-project on existing research projectsUsage: $gpd-map-research
$gpd-discuss-phase <number>
Help articulate your vision for a research phase before planning.
Usage: $gpd-discuss-phase 2
$gpd-research-phase <number>
Comprehensive literature survey for a specific phase.
Usage: $gpd-research-phase 3
$gpd-list-phase-assumptions <number>
See what the agent plans to do before it starts.
Usage: $gpd-list-phase-assumptions 3
$gpd-discover [phase or topic] [--depth quick|medium|deep]
Run discovery phase to investigate methods, literature, and approaches before planning.
Usage: $gpd-discover 3
Usage: $gpd-discover "finite-temperature RG flow" --depth deep
Usage: $gpd-discover 3 --depth deep
$gpd-show-phase <number>
Inspect a single phase's artifacts, status, and results.
Usage: $gpd-show-phase 3
$gpd-plan-phase <number>
Create detailed execution plan for a specific phase.
.gpd/phases/XX-phase-name/XX-YY-PLAN.mdFlags:
--research — Force literature research even if RESEARCH.md already exists--skip-research — Skip literature research entirely--gaps — Gap closure mode: plan from VERIFICATION.md issues instead of fresh research--skip-verify — Skip plan checker verification after planning--light — Produce simplified strategic outline (contract, constraints, high-level approach only)--inline-discuss — Run discuss-phase inline before planning (skip if already done)Usage: $gpd-plan-phase 1
Usage: $gpd-plan-phase 3 --research
Usage: $gpd-plan-phase 5 --light --skip-verify
Result: Creates .gpd/phases/01-framework-setup/01-01-PLAN.md
$gpd-execute-phase <phase-number>
Execute all plans in a phase.
Usage: $gpd-execute-phase 5
$gpd-derive-equation
Perform a rigorous physics derivation with systematic verification at each step.
Usage: $gpd-derive-equation
$gpd-quick
Execute small, ad-hoc calculations with GPD guarantees but skip optional agents.
Quick mode uses the same system with a shorter path:
.gpd/quick/ separate from planned phasesUse when you know exactly what to calculate and the task is small enough to not need literature survey or validation.
Usage: $gpd-quick
Result: Creates .gpd/quick/NNN-slug/PLAN.md, .gpd/quick/NNN-slug/SUMMARY.md
$gpd-add-phase <description>
Add new phase to end of current milestone.
Usage: $gpd-add-phase "Compute finite-temperature corrections"
$gpd-insert-phase <after> <description>
Insert urgent work as decimal phase between existing phases.
Usage: $gpd-insert-phase 7 "Fix sign error in vertex function"
Result: Creates Phase 7.1
$gpd-remove-phase <number>
Remove a future phase and renumber subsequent phases.
Usage: $gpd-remove-phase 17
Result: Phase 17 deleted, phases 18-20 become 17-19
$gpd-revise-phase <number> "<reason>"
Supersede a completed phase and create a replacement for iterative revision.
Usage: $gpd-revise-phase 3 "Sign error in vertex correction"
Result: Phase 3 superseded, Phase 3.1 created with inherited context
$gpd-merge-phases <source> <target>
Merge results from one phase into another.
Usage: $gpd-merge-phases 2.1 2
$gpd-new-milestone <name>
Start a new research milestone through unified flow.
Mirrors $gpd-new-project flow for continuation projects (existing PROJECT.md).
Usage: $gpd-new-milestone "v2.0 Higher-order corrections"
$gpd-complete-milestone <version>
Archive completed milestone and prepare for next direction.
Usage: $gpd-complete-milestone 1.1.0
$gpd-progress
Check research status and intelligently route to next action.
Usage: $gpd-progress
Usage: $gpd-progress --full (detailed view with all phase artifacts)
Usage: $gpd-progress --brief (compact one-line status)
Usage: $gpd-progress --reconcile (fix diverged STATE.md and state.json)
$gpd-resume-work
Resume research from previous session with full context restoration.
Usage: $gpd-resume-work
$gpd-pause-work
Create context handoff when pausing work mid-phase.
Usage: $gpd-pause-work
$gpd-add-todo [description]
Capture idea or task as todo from current conversation.
.gpd/todos/pending/Usage: $gpd-add-todo (infers from conversation)
Usage: $gpd-add-todo Check if vertex correction satisfies Ward identity
$gpd-check-todos [area]
List pending todos and select one to work on.
$gpd-check-todos numerical)Usage: $gpd-check-todos
Usage: $gpd-check-todos analytical
$gpd-verify-work [phase]
Validate research results through systematic checks.
Usage: $gpd-verify-work 3
$gpd-debug [issue description]
Systematic debugging of physics calculations with persistent state across context resets.
.gpd/debug/.gpd/debug/resolved/Usage: $gpd-debug Sign error in self-energy diagram
$gpd-dimensional-analysis
Check dimensional consistency of equations and expressions.
Usage: $gpd-dimensional-analysis
$gpd-limiting-cases
Verify results reduce correctly in known limiting cases.
Usage: $gpd-limiting-cases
$gpd-numerical-convergence
Run systematic convergence tests on numerical computations.
Usage: $gpd-numerical-convergence
$gpd-compare-experiment
Compare theoretical/numerical results against experimental data.
Usage: $gpd-compare-experiment
$gpd-validate-conventions [phase]
Validate convention consistency across all phases.
Usage: $gpd-validate-conventions
Usage: $gpd-validate-conventions 3
$gpd-regression-check [phase]
Re-verify all previously verified claims and checks to catch regressions after changes.
Usage: $gpd-regression-check
Usage: $gpd-regression-check 3
$gpd-parameter-sweep [phase]
Systematic parameter sweep with parallel execution and result aggregation.
Usage: $gpd-parameter-sweep 3 --param coupling --range 0:1:20
Usage: $gpd-parameter-sweep 3 --adaptive
$gpd-sensitivity-analysis
Determine which input parameters most strongly affect output quantities.
Usage: $gpd-sensitivity-analysis --target cross_section --params g,m,Lambda
Usage: $gpd-sensitivity-analysis --method numerical
$gpd-error-propagation
Track how uncertainties propagate through multi-step calculations.
Usage: $gpd-error-propagation --target final_mass
Usage: $gpd-error-propagation --phase-range 1:5
$gpd-write-paper [title or topic] [--from-phases 1,2,3]
Structure and write a physics paper from research results.
Usage: $gpd-write-paper "Critical exponents via RG"
Usage: $gpd-write-paper --from-phases 1,3,5 (subset of phases)
$gpd-peer-review [paper directory or manuscript path]
Run skeptical peer review on an existing manuscript within the current GPD project.
.gpd/review/ plus .gpd/REFEREE-REPORT.md and .gpd/REFEREE-REPORT.tex (or revision-round follow-up pairs)$gpd-respond-to-referees or $gpd-arxiv-submission.gpd/PROJECT.md workspace; manuscript paths do not bypass project preflightUsage: $gpd-peer-review
Usage: $gpd-peer-review paper/
$gpd-respond-to-referees
Structure point-by-point response to referee reports and revise the manuscript.
.gpd/review/REVIEW-LEDGER*.json and .gpd/review/REFEREE-DECISION*.json when present to preserve blocking-issue contexttemplates/paper/referee-response.mdUsage: $gpd-respond-to-referees
$gpd-arxiv-submission
Prepare a completed paper for arXiv submission with validation and packaging.
\input resolution into single .tex file (optional).tar.gzUsage: $gpd-arxiv-submission
$gpd-explain [concept]
Explain a concept, method, notation, result, or paper in project context or from a standalone question.
gpd-explainer agent and grounds the explanation in the active phase, manuscript, or local workflow when available.gpd/explanations/gpd-bibliographer and includes a reading path with openable linksUsage: $gpd-explain "Ward identity"
$gpd-literature-review [topic]
Structured literature review for a physics research topic.
gpd-literature-reviewer for the structured reviewUsage: $gpd-literature-review "Sachdev-Ye-Kitaev model thermodynamics"
$gpd-branch-hypothesis <description>
Create a hypothesis branch for parallel investigation of an alternative approach.
.gpd/ stateUsage: $gpd-branch-hypothesis "Try perturbative RG instead of exact RG"
$gpd-compare-branches
Compare results across hypothesis branches side-by-side.
Usage: $gpd-compare-branches
$gpd-decisions [phase or keyword]
Display and search the cumulative decision log.
.gpd/DECISIONS.mdUsage: $gpd-decisions
Usage: $gpd-decisions 3
Usage: $gpd-decisions "gauge"
$gpd-graph
Visualize dependency graph across phases and identify gaps.
Usage: $gpd-graph
Note: Wave dependency validation runs automatically when executing phases. To validate manually, use
gpd phase validate-waves <phase>— checks depends_on targets, file overlap within waves, wave consistency, and circular dependencies.
$gpd-export [--format html|latex|zip|all]
Export research results to HTML, LaTeX, or ZIP package.
Usage: $gpd-export --format html
Usage: $gpd-export --format all
$gpd-slides [topic, audience, or source path]
Create presentation slides from a GPD project or the current folder.
slides/Usage: $gpd-slides "Group meeting update on finite-temperature RG"
Usage: $gpd-slides -- "20 minute seminar for condensed matter theorists"
$gpd-error-patterns [category]
View accumulated physics error patterns for this project.
Usage: $gpd-error-patterns
Usage: $gpd-error-patterns sign
$gpd-record-insight [description]
Record a project-specific learning or pattern to the insights ledger.
.gpd/INSIGHTS.mdUsage: $gpd-record-insight
Usage: $gpd-record-insight Sign error in Wick contractions with mostly-minus metric
$gpd-audit-milestone [version]
Audit milestone completion against original objectives.
Usage: $gpd-audit-milestone
$gpd-plan-milestone-gaps
Create phases to close gaps identified by audit.
$gpd-plan-phase on new phasesUsage: $gpd-plan-milestone-gaps
$gpd-settings
Configure workflow toggles, model profile, and runtime-specific tier model overrides interactively.
tier-1, tier-2, and tier-3.gpd/config.jsonUsage: $gpd-settings
$gpd-set-profile <profile>
Quick switch model profile for GPD agents. Use $gpd-settings to pin concrete runtime model IDs per tier.
deep-theory — tier-1 (highest capability) for all reasoning-intensive agents (formal derivations, proofs)numerical — tier-1 for planning/verification, tier-2 for execution (simulations, numerics)exploratory — tier-1 for planner/researchers, tier-2 for execution (hypothesis generation)review (default) — tier-1 for verifier/checker/debugger, tier-2 for execution (validation focus)paper-writing — tier-1 for planner/executor/synthesizer, tier-2 for verificationUsage: $gpd-set-profile deep-theory
$gpd-compact-state
Archive historical entries from STATE.md to keep it lean.
Usage: $gpd-compact-state
Usage: $gpd-compact-state --force (skip line-count check)
$gpd-sync-state
Reconcile diverged STATE.md and state.json after manual edits or corruption.
Usage: $gpd-sync-state
$gpd-undo
Rollback last GPD operation with safety checkpoint.
Usage: $gpd-undo
$gpd-update
Update GPD to latest version with changelog display.
$gpd-reapply-patches after if needed)Usage: $gpd-update
$gpd-reapply-patches
Reapply local modifications after a GPD update.
$gpd-update if you have local workflow or template modificationsUsage: $gpd-reapply-patches
$gpd-help
Show this command reference.
.gpd/
|-- PROJECT.md # Research question, framework, parameters
|-- REQUIREMENTS.md # Scoped research requirements with REQ-IDs
|-- ROADMAP.md # Current phase breakdown
|-- STATE.md # Project memory & context
|-- MILESTONES.md # Milestone history
|-- config.json # Workflow mode & gates
|-- research/ # Literature survey results
| |-- PRIOR-WORK.md # Established results in the field
| |-- METHODS.md # Standard methods and tools
| |-- COMPUTATIONAL.md # Computational approaches and tools
| |-- PITFALLS.md # Known pitfalls and open problems
| +-- SUMMARY.md # Synthesized survey
|-- research-map/ # Theory map (existing research projects)
| |-- FORMALISM.md # Mathematical framework and key equations
| |-- REFERENCES.md # Key papers and their relationships
| |-- ARCHITECTURE.md # Computation flow and methodology
| |-- STRUCTURE.md # Project layout, key files
| |-- CONVENTIONS.md # Notation standards, unit systems
| |-- VALIDATION.md # Known results for benchmarking
| +-- CONCERNS.md # Open questions, known issues
|-- todos/ # Captured ideas and research tasks
| |-- pending/ # Todos waiting to be worked on
| +-- done/ # Completed todos
|-- debug/ # Active debug sessions
| +-- resolved/ # Archived resolved issues
|-- quick/ # Ad-hoc task plans and summaries
|-- milestones/ # Archived milestone data
+-- phases/
|-- 01-analytical-setup/
| |-- 01-01-PLAN.md
| |-- 01-01-SUMMARY.md
| +-- 01-VERIFICATION.md
+-- 02-numerical-validation/
|-- 02-01-PLAN.md
+-- 02-01-SUMMARY.md
Set during $gpd-new-project or changed later with $gpd-settings:
Supervised
Balanced (Recommended)
YOLO
Configure how planning artifacts are managed in .gpd/config.json:
planning.commit_docs (default: true)
true: Planning artifacts committed to git (standard workflow)false: Planning artifacts kept local-only, not committedWhen commit_docs: false:
.gpd/ to your .gitignoreExample config:
{
"planning": {
"commit_docs": false
}
}
Starting a new research project:
$gpd-new-project # Unified flow: questioning -> survey -> objectives -> roadmap
/clear
$gpd-plan-phase 1 # Create plans for first phase
/clear
$gpd-execute-phase 1 # Execute all plans in phase
Fast project bootstrap (skip deep questioning):
$gpd-new-project --minimal # One question, then auto-generate everything
$gpd-new-project --minimal @plan.md # Generate from existing research plan file
Resuming work after a break:
$gpd-progress # See where you left off and continue
Adding urgent mid-milestone work:
$gpd-insert-phase 5 "Fix sign error in renormalization group equation"
$gpd-plan-phase 5.1
$gpd-execute-phase 5.1
Completing a milestone:
$gpd-complete-milestone 1.1.0
/clear
$gpd-new-milestone # Start next milestone (questioning -> survey -> objectives -> roadmap)
Capturing ideas during work:
$gpd-add-todo # Capture from conversation context
$gpd-add-todo Check finite-size scaling exponent # Capture with explicit description
$gpd-check-todos # Review and work on todos
$gpd-check-todos numerical # Filter by area
.gpd/PROJECT.md for research question and framework.gpd/STATE.md for current context and key results.gpd/ROADMAP.md for phase status$gpd-progress to check where you are
<success_criteria>
</execution_context>
Check if the user passed --all as an argument.
$ARGUMENTS contains --all: display the Full Command Reference (step 3).$ARGUMENTS is empty or does not contain --all: display the Quick Start (step 2) only.Output this and STOP (do not display the full reference):
GPD (Get Physics Done) — agentic physics research with AI research agents.
$gpd-new-project — Initialize research project$gpd-plan-phase <N> — Plan a research phase$gpd-execute-phase <N> — Execute phase plans$gpd-verify-work [phase] — Verify research results$gpd-progress — Check status and get next action$gpd-complete-milestone — Archive completed milestone$gpd-help --all — Full command referenceWorkflow: new-project → plan-phase → execute-phase → verify-work → repeat → complete-milestone Publication: write-paper → peer-review → respond-to-referees → arxiv-submission
Run $gpd-help --all for all 61 commands.
--- END of default output. STOP here. ---
Output the complete GPD command reference from the loaded help workflow. Display the reference content directly — no additions or modifications.
GPD (Get Physics Done) creates hierarchical research plans optimized for solo agentic physics research with AI research agents.
$gpd-new-project - Initialize research project (includes literature survey, objectives, roadmap)$gpd-plan-phase 1 - Create detailed plan for first phase$gpd-execute-phase 1 - Execute the phase$gpd-new-project -> $gpd-plan-phase -> $gpd-execute-phase -> repeat
$gpd-new-project
Initialize new research project through unified flow.
One command takes you from research idea to ready-for-investigation:
Creates all .gpd/ artifacts:
PROJECT.md — research question, theoretical framework, key parametersconfig.json — workflow settings (autonomy, research_mode, agent toggles)research/ — literature survey (if selected)REQUIREMENTS.md — scoped research requirements with REQ-IDsROADMAP.md — phases mapped to requirementsSTATE.md — project memoryFlags:
--minimal — Skip deep questioning and literature survey. Creates project from a single description. Asks one question ("Describe your research project and phases"), then generates all .gpd/ artifacts with sensible defaults. Same file set as full mode, so all downstream commands work identically.--minimal @file.md — Create project directly from a markdown file describing your research and phases. Parses research question, phase list, and key parameters from the file. No interactive questions asked.--auto — Automatic mode with full depth. Expects research proposal via @ reference. Runs literature survey, requirements, and roadmap without interaction.Usage: $gpd-new-project
Usage: $gpd-new-project --minimal
Usage: $gpd-new-project --minimal @plan.md
$gpd-map-research
Map an existing research project — theoretical framework, computations, conventions, and open questions.
.gpd/research-map/ with 7 structured documents$gpd-new-project on existing research projectsUsage: $gpd-map-research
$gpd-discuss-phase <number>
Help articulate your vision for a research phase before planning.
Usage: $gpd-discuss-phase 2
$gpd-research-phase <number>
Comprehensive literature survey for a specific phase.
Usage: $gpd-research-phase 3
$gpd-list-phase-assumptions <number>
See what the agent plans to do before it starts.
Usage: $gpd-list-phase-assumptions 3
$gpd-discover [phase or topic] [--depth quick|medium|deep]
Run discovery phase to investigate methods, literature, and approaches before planning.
Usage: $gpd-discover 3
Usage: $gpd-discover "finite-temperature RG flow" --depth deep
Usage: $gpd-discover 3 --depth deep
$gpd-show-phase <number>
Inspect a single phase's artifacts, status, and results.
Usage: $gpd-show-phase 3
$gpd-plan-phase <number>
Create detailed execution plan for a specific phase.
.gpd/phases/XX-phase-name/XX-YY-PLAN.mdFlags:
--research — Force literature research even if RESEARCH.md already exists--skip-research — Skip literature research entirely--gaps — Gap closure mode: plan from VERIFICATION.md issues instead of fresh research--skip-verify — Skip plan checker verification after planning--light — Produce simplified strategic outline (contract, constraints, high-level approach only)--inline-discuss — Run discuss-phase inline before planning (skip if already done)Usage: $gpd-plan-phase 1
Usage: $gpd-plan-phase 3 --research
Usage: $gpd-plan-phase 5 --light --skip-verify
Result: Creates .gpd/phases/01-framework-setup/01-01-PLAN.md
$gpd-execute-phase <phase-number>
Execute all plans in a phase.
Usage: $gpd-execute-phase 5
$gpd-derive-equation
Perform a rigorous physics derivation with systematic verification at each step.
Usage: $gpd-derive-equation
$gpd-quick
Execute small, ad-hoc calculations with GPD guarantees but skip optional agents.
Quick mode uses the same system with a shorter path:
.gpd/quick/ separate from planned phasesUse when you know exactly what to calculate and the task is small enough to not need literature survey or validation.
Usage: $gpd-quick
Result: Creates .gpd/quick/NNN-slug/PLAN.md, .gpd/quick/NNN-slug/SUMMARY.md
$gpd-add-phase <description>
Add new phase to end of current milestone.
Usage: $gpd-add-phase "Compute finite-temperature corrections"
$gpd-insert-phase <after> <description>
Insert urgent work as decimal phase between existing phases.
Usage: $gpd-insert-phase 7 "Fix sign error in vertex function"
Result: Creates Phase 7.1
$gpd-remove-phase <number>
Remove a future phase and renumber subsequent phases.
Usage: $gpd-remove-phase 17
Result: Phase 17 deleted, phases 18-20 become 17-19
$gpd-revise-phase <number> "<reason>"
Supersede a completed phase and create a replacement for iterative revision.
Usage: $gpd-revise-phase 3 "Sign error in vertex correction"
Result: Phase 3 superseded, Phase 3.1 created with inherited context
$gpd-merge-phases <source> <target>
Merge results from one phase into another.
Usage: $gpd-merge-phases 2.1 2
$gpd-new-milestone <name>
Start a new research milestone through unified flow.
Mirrors $gpd-new-project flow for continuation projects (existing PROJECT.md).
Usage: $gpd-new-milestone "v2.0 Higher-order corrections"
$gpd-complete-milestone <version>
Archive completed milestone and prepare for next direction.
Usage: $gpd-complete-milestone 1.1.0
$gpd-progress
Check research status and intelligently route to next action.
Usage: $gpd-progress
Usage: $gpd-progress --full (detailed view with all phase artifacts)
Usage: $gpd-progress --brief (compact one-line status)
Usage: $gpd-progress --reconcile (fix diverged STATE.md and state.json)
$gpd-suggest-next
Suggest the most impactful next action based on current project state.
Usage: $gpd-suggest-next
$gpd-resume-work
Resume research from previous session with full context restoration.
Usage: $gpd-resume-work
$gpd-pause-work
Create context handoff when pausing work mid-phase.
Usage: $gpd-pause-work
$gpd-add-todo [description]
Capture idea or task as todo from current conversation.
.gpd/todos/pending/Usage: $gpd-add-todo (infers from conversation)
Usage: $gpd-add-todo Check if vertex correction satisfies Ward identity
$gpd-check-todos [area]
List pending todos and select one to work on.
$gpd-check-todos numerical)Usage: $gpd-check-todos
Usage: $gpd-check-todos analytical
$gpd-verify-work [phase]
Validate research results through systematic checks.
Usage: $gpd-verify-work 3
$gpd-debug [issue description]
Systematic debugging of physics calculations with persistent state across context resets.
.gpd/debug/.gpd/debug/resolved/Usage: $gpd-debug Sign error in self-energy diagram
$gpd-dimensional-analysis
Check dimensional consistency of equations and expressions.
Usage: $gpd-dimensional-analysis
$gpd-limiting-cases
Verify results reduce correctly in known limiting cases.
Usage: $gpd-limiting-cases
$gpd-numerical-convergence
Run systematic convergence tests on numerical computations.
Usage: $gpd-numerical-convergence
$gpd-compare-experiment
Compare theoretical/numerical results against experimental data.
Usage: $gpd-compare-experiment
$gpd-validate-conventions [phase]
Validate convention consistency across all phases.
Usage: $gpd-validate-conventions
Usage: $gpd-validate-conventions 3
$gpd-regression-check [phase]
Re-verify all previously verified claims and checks to catch regressions after changes.
Usage: $gpd-regression-check
Usage: $gpd-regression-check 3
$gpd-parameter-sweep [phase]
Systematic parameter sweep with parallel execution and result aggregation.
Usage: $gpd-parameter-sweep 3 --param coupling --range 0:1:20
Usage: $gpd-parameter-sweep 3 --adaptive
$gpd-sensitivity-analysis
Determine which input parameters most strongly affect output quantities.
Usage: $gpd-sensitivity-analysis --target cross_section --params g,m,Lambda
Usage: $gpd-sensitivity-analysis --method numerical
$gpd-error-propagation
Track how uncertainties propagate through multi-step calculations.
Usage: $gpd-error-propagation --target final_mass
Usage: $gpd-error-propagation --phase-range 1:5
$gpd-write-paper [title or topic] [--from-phases 1,2,3]
Structure and write a physics paper from research results.
Usage: $gpd-write-paper "Critical exponents via RG"
Usage: $gpd-write-paper --from-phases 1,3,5 (subset of phases)
$gpd-peer-review [paper directory or manuscript path]
Run skeptical peer review on an existing manuscript within the current GPD project.
.gpd/review/ plus .gpd/REFEREE-REPORT.md and .gpd/REFEREE-REPORT.tex (or revision-round follow-up pairs)$gpd-respond-to-referees or $gpd-arxiv-submission.gpd/PROJECT.md workspace; manuscript paths do not bypass project preflightUsage: $gpd-peer-review
Usage: $gpd-peer-review paper/
$gpd-respond-to-referees
Structure point-by-point response to referee reports and revise the manuscript.
.gpd/AUTHOR-RESPONSE.md for structured issue tracking plus .gpd/paper/REFEREE_RESPONSE.md for the journal-facing response letter.gpd/review/REVIEW-LEDGER*.json and .gpd/review/REFEREE-DECISION*.json when present to preserve blocking-issue contexttemplates/paper/referee-response.mdUsage: $gpd-respond-to-referees
$gpd-arxiv-submission
Prepare a completed paper for arXiv submission with validation and packaging.
\input resolution into single .tex file (optional).tar.gzUsage: $gpd-arxiv-submission
$gpd-literature-review [topic]
Structured literature review for a physics research topic.
Usage: $gpd-literature-review "Sachdev-Ye-Kitaev model thermodynamics"
$gpd-branch-hypothesis <description>
Create a hypothesis branch for parallel investigation of an alternative approach.
.gpd/ stateUsage: $gpd-branch-hypothesis "Try perturbative RG instead of exact RG"
$gpd-compare-branches
Compare results across hypothesis branches side-by-side.
Usage: $gpd-compare-branches
$gpd-decisions [phase or keyword]
Display and search the cumulative decision log.
.gpd/DECISIONS.mdUsage: $gpd-decisions
Usage: $gpd-decisions 3
Usage: $gpd-decisions "gauge"
$gpd-graph
Visualize dependency graph across phases and identify gaps.
Usage: $gpd-graph
Note: Wave dependency validation runs automatically when executing phases. To validate manually, use
gpd phase validate-waves <phase>— checks depends_on targets, file overlap within waves, wave consistency, and circular dependencies.
$gpd-export [--format html|latex|zip|all]
Export research results to HTML, LaTeX, or ZIP package.
Usage: $gpd-export --format html
Usage: $gpd-export --format all
$gpd-slides [topic, audience, or source path]
Create presentation slides from a GPD project or the current folder.
slides/Usage: $gpd-slides "Group meeting update on finite-temperature RG"
Usage: $gpd-slides -- "20 minute seminar for condensed matter theorists"
$gpd-error-patterns [category]
View accumulated physics error patterns for this project.
Usage: $gpd-error-patterns
Usage: $gpd-error-patterns sign
$gpd-record-insight [description]
Record a project-specific learning or pattern to the insights ledger.
.gpd/INSIGHTS.mdUsage: $gpd-record-insight
Usage: $gpd-record-insight Sign error in Wick contractions with mostly-minus metric
$gpd-audit-milestone [version]
Audit milestone completion against original objectives.
Usage: $gpd-audit-milestone
$gpd-plan-milestone-gaps
Create phases to close gaps identified by audit.
$gpd-plan-phase on new phasesUsage: $gpd-plan-milestone-gaps
$gpd-settings
Configure workflow toggles, model profile, and runtime-specific tier model overrides interactively.
tier-1, tier-2, and tier-3.gpd/config.jsonUsage: $gpd-settings
$gpd-set-profile <profile>
Quick switch model profile for GPD agents. Use $gpd-settings to pin concrete runtime model IDs per tier.
deep-theory — tier-1 (highest capability) for all reasoning-intensive agents (formal derivations, proofs)numerical — tier-1 for planning/verification, tier-2 for execution (simulations, numerics)exploratory — tier-1 for planner/researchers, tier-2 for execution (hypothesis generation)review (default) — tier-1 for verifier/checker/debugger, tier-2 for execution (validation focus)paper-writing — tier-1 for planner/executor/synthesizer, tier-2 for verificationUsage: $gpd-set-profile deep-theory
$gpd-compact-state
Archive historical entries from STATE.md to keep it lean.
Usage: $gpd-compact-state
Usage: $gpd-compact-state --force (skip line-count check)
$gpd-sync-state
Reconcile diverged STATE.md and state.json after manual edits or corruption.
Usage: $gpd-sync-state
$gpd-undo
Rollback last GPD operation with safety checkpoint.
Usage: $gpd-undo
$gpd-update
Update GPD to latest version with changelog display.
$gpd-reapply-patches after if needed)Usage: $gpd-update
$gpd-reapply-patches
Reapply local modifications after a GPD update.
$gpd-update if you have local workflow or template modificationsUsage: $gpd-reapply-patches
$gpd-health
Run comprehensive project health checks, including storage-path policy auditing.
--fix to auto-repair detected issuesUsage: $gpd-health
Usage: $gpd-health --fix
$gpd-help
Show this command reference.
.gpd/
|-- PROJECT.md # Research question, framework, parameters
|-- REQUIREMENTS.md # Scoped research requirements with REQ-IDs
|-- ROADMAP.md # Current phase breakdown
|-- STATE.md # Project memory & context
|-- MILESTONES.md # Milestone history
|-- config.json # Workflow mode & gates
|-- research/ # Literature survey results
| |-- PRIOR-WORK.md # Established results in the field
| |-- METHODS.md # Standard methods and tools
| |-- COMPUTATIONAL.md # Computational approaches and tools
| |-- PITFALLS.md # Known pitfalls and open problems
| +-- SUMMARY.md # Synthesized survey
|-- research-map/ # Theory map (existing research projects)
| |-- FORMALISM.md # Mathematical framework and key equations
| |-- REFERENCES.md # Key papers and their relationships
| |-- ARCHITECTURE.md # Computation flow and methodology
| |-- STRUCTURE.md # Project layout, key files
| |-- CONVENTIONS.md # Notation standards, unit systems
| |-- VALIDATION.md # Known results for benchmarking
| +-- CONCERNS.md # Open questions, known issues
|-- todos/ # Captured ideas and research tasks
| |-- pending/ # Todos waiting to be worked on
| +-- done/ # Completed todos
|-- debug/ # Active debug sessions
| +-- resolved/ # Archived resolved issues
|-- quick/ # Ad-hoc task plans and summaries
|-- milestones/ # Archived milestone data
+-- phases/
|-- 01-analytical-setup/
| |-- 01-01-PLAN.md
| |-- 01-01-SUMMARY.md
| +-- 01-VERIFICATION.md
+-- 02-numerical-validation/
|-- 02-01-PLAN.md
+-- 02-01-SUMMARY.md
Set during $gpd-new-project:
Interactive Mode
YOLO Mode
Change anytime by editing .gpd/config.json
Configure how planning artifacts are managed in .gpd/config.json:
planning.commit_docs (default: true)
true: Planning artifacts committed to git (standard workflow)false: Planning artifacts kept local-only, not committedWhen commit_docs: false:
.gpd/ to your .gitignoreExample config:
{
"planning": {
"commit_docs": false
}
}
Starting a new research project:
$gpd-new-project # Unified flow: questioning -> survey -> objectives -> roadmap
/clear
$gpd-plan-phase 1 # Create plans for first phase
/clear
$gpd-execute-phase 1 # Execute all plans in phase
Fast project bootstrap (skip deep questioning):
$gpd-new-project --minimal # One question, then auto-generate everything
$gpd-new-project --minimal @plan.md # Generate from existing research plan file
Resuming work after a break:
$gpd-progress # See where you left off and continue
Adding urgent mid-milestone work:
$gpd-insert-phase 5 "Fix sign error in renormalization group equation"
$gpd-plan-phase 5.1
$gpd-execute-phase 5.1
Completing a milestone:
$gpd-complete-milestone 1.1.0
/clear
$gpd-new-milestone # Start next milestone (questioning -> survey -> objectives -> roadmap)
Capturing ideas during work:
$gpd-add-todo # Capture from conversation context
$gpd-add-todo Check finite-size scaling exponent # Capture with explicit description
$gpd-check-todos # Review and work on todos
$gpd-check-todos numerical # Filter by area
.gpd/PROJECT.md for research question and framework.gpd/STATE.md for current context and key results.gpd/ROADMAP.md for phase status$gpd-progress to check where you are