com um clique
gpd-check-todos
List pending research todos and select one to work on
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
List pending research todos and select one to work on
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
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
Archive historical entries from STATE.md to keep it under the 150-line target
| name | gpd-check-todos |
| description | List pending research todos and select one to work on |
| argument-hint | [area filter] |
| context_mode | projectless |
| allowed-tools | ["read_file","write_file","shell","ask_user"] |
<codex_runtime_notes> Codex shell compatibility:
gpd on PATH.GPD_ACTIVE_RUNTIME=codex uv run gpd ....
</codex_runtime_notes><codex_questioning>
Routes to the check-todos workflow which handles:
Area filters can target research domains such as:
<execution_context> @.gpd/STATE.md @.gpd/ROADMAP.md
List all pending todos, allow selection, load full context for the selected todo, and route to appropriate action.<required_reading> Read all files referenced by the invoking prompt's execution_context before starting. </required_reading>
Load todo context:INIT=$(/Users/charlie/.gpd/venv/bin/python -m gpd.runtime_cli --runtime codex --config-dir ./.codex --install-scope local init todos)
if [ $? -ne 0 ]; then
echo "ERROR: gpd initialization failed: $INIT"
# STOP — display the error to the user and do not proceed.
fi
Extract from init JSON: todo_count, todos, pending_dir.
If todo_count is 0:
No pending todos.
Todos are captured during work sessions with $gpd-add-todo.
---
Would you like to:
1. Continue with current phase ($gpd-progress)
2. Add a todo now ($gpd-add-todo)
Exit.
Check for area filter in arguments: - `$gpd-check-todos` -> show all - `$gpd-check-todos analytical` -> filter to area:analytical only - `$gpd-check-todos numerical` -> filter to area:numerical only - `$gpd-check-todos formalism` -> filter to area:formalism only Use the `todos` array from init context (already filtered by area if specified).Parse and display as numbered list:
Pending Todos:
1. Check unitarity of S-matrix at two loops (analytical, 2d ago)
2. Compare numerical lattice results with continuum limit (numerical, 1d ago)
3. Look up Ward identity derivation in Peskin & Schroeder (literature, 5h ago)
---
Reply with a number to view details, or:
- `$gpd-check-todos [area]` to filter by area
- `q` to exit
Format age as relative time from created timestamp.
Wait for user to reply with a number.If valid: load selected todo, store its path as ${todo_file}, then proceed.
If invalid: "Invalid selection. Reply with a number (1-[N]) or q to exit."
## [title]
**Area:** [area]
**Created:** [date] ([relative time] ago)
**Files:** [list or "None"]
### Problem
[problem section content]
### Solution
[solution section content]
If files field has entries, read and briefly summarize each.
If .gpd/ROADMAP.md exists:
If no roadmap match:
Ask the user once using a single compact prompt block:
Add to phase plan: Note todo reference in phase planning notes. Keep in pending. Return to list or exit.
Create a phase:
Display: $gpd-add-phase [description from todo]
Keep in pending. User runs command in fresh context.
Brainstorm approach:
Keep in pending. Start discussion about problem and approaches. Maximum 4 brainstorm iterations. After 4 rounds, summarize approaches discussed and suggest creating a concrete plan (e.g., via $gpd-add-phase or $gpd-plan-phase).
Put it back: Return to list_todos step.
After any action that changes todo count:Re-run init todos to get updated count, then update STATE.md "### Pending Todos" section if exists.
git rm --cached "$todo_file" 2>/dev/null || true
PRE_CHECK=$(/Users/charlie/.gpd/venv/bin/python -m gpd.runtime_cli --runtime codex --config-dir ./.codex --install-scope local pre-commit-check --files "$done_file" .gpd/STATE.md 2>&1) || true
echo "$PRE_CHECK"
/Users/charlie/.gpd/venv/bin/python -m gpd.runtime_cli --runtime codex --config-dir ./.codex --install-scope local commit "docs: start work on todo - ${title}" --files "$done_file" .gpd/STATE.md
Tool respects commit_docs config and gitignore automatically.
Confirm: "Committed: docs: start work on todo - ${title}"
<success_criteria>
</success_criteria>
</execution_context>
**Follow the check-todos workflow** from `@./.codex/get-physics-done/workflows/check-todos.md`.The workflow handles all logic including: