with one click
interactive
Fill a sorry one step at a time, directed by the user.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Fill a sorry one step at a time, directed by the user.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Prove a specific sorry'd lemma iteratively using Lean LSP tools.
Improve Claude Code workflow by updating assistants.md, skills, memory, or CLAUDE.md.
Fix warnings line by line and bring code into compliance with Mathlib style standards.
Improve an existing working proof for structural clarity, succinctness, or reusability.
Draft sorry'd theorem/lemma structure for a larger result from a proof sketch.
Read and discuss proofs, strategies, or math concepts without making any edits.
| name | interactive |
| description | Fill a sorry one step at a time, directed by the user. |
Work through a proof one step at a time, with the user directing each move.
Target: $ARGUMENTS
/fill-sorry/fill-sorry is autonomous — the agent tries tactics, searches Mathlib, and drives the proof to completion. /interactive is user-driven — the agent executes exactly what the user asks, shows the result, and waits.
lean_goal at the sorry.lean_diagnostic_messages with severity="error" on the edited line(s) (start_line/end_line) to confirm no errors, then show the new goal state with lean_goal. Use severity="error" to avoid linter warnings and infos bloating the output. A tactic can fail (e.g., "simp made no progress") while lean_goal on the next line still shows a goal (the unchanged one) — diagnostics catch this.lean_diagnostic_messages (with severity="error") on the edited line(s) first, then lean_goal. Never trust lean_goal alone — it shows a goal even when the tactic errored.lean_state_search unless the user asks (e.g., "search for a lemma about X" or "what closes this?").obtain ⟨a, b⟩ := h — don't also rename variables, reorder goals, or add annotations.h — which one?"), but don't over-ask.