frenzymath/danus/direct-proving
Claude Code and agent skill by frenzymath/danus
- community
Checking that the SKILL.md file is still in the repository.
Screen a decomposition plan by first trying to prove all of its subgoals directly, then identifying the key stuck points if the plan does not fully go through. Use when a decomposition plan is created.
Install
npx vskill@latest install frenzymath/danus/direct-provingSKILL.md
Direct Proving
Use this skill to screen decomposition plans by first trying to carry the whole plan through, and if it does not fully go through, then identify the key stuck points.
Input Contract
Read:
- one decomposition plan from
subgoals - relevant
immediate_conclusions,toy_examples,counterexamples, andfailed_paths - relevant search results and references
- any previously identified external statements whose proofs may be adaptable
Procedure
- Take one decomposition plan at a time.
- For each subgoal, actively use the searched results, toy examples, and counterexamples that are most relevant to that subgoal.
- When a similar theorem has been found, try to adapt its proof idea, construction, or reduction to the current subgoal instead of treating it as a black-box citation.
- If the adapted theorem is only a partial result with extra hypotheses, first analyze why its method needs those hypotheses and where it fails for the current subgoal — do not skip this by merely trying to show the current object satisfies the extra hypotheses and applying the partial result directly.
- First attempt to prove all subgoals in that plan directly.
- Try to carry the whole plan through before switching into failure diagnosis mode.
- For each subgoal, record whether it is:
- already solved directly
- partially advanced
- blocked
- If a subgoal is blocked or you get stuck on it, FIRST invoke
$construct-counterexamplesfor that subgoal — test whether it is false, too strong, or missing hypotheses (not merely hard). If no counterexample emerges and the subgoal still resists after at least two genuine direct attempts, do not grind indefinitely: record the stuck point as anobstacle/dead_endfinding (gm_add) so siblings skip it and the next round'smaster_guidancecan bring fresh direction. - If a proof adaptation attempt fails, identify why the migration fails. Be concrete: for example, note which hypothesis is missing, which construction does not transfer, which step breaks, which counterexample blocks the migration, or which part of the searched proof depends on structure absent in the current setting.
- If a subgoal is solved with a self-contained partial result that the rest of the plan will USE downstream, partial-verify that result with
$verify-proofin partial-candidate mode before treating it as established. Adopting unverified partial results as building blocks is the single biggest correctness risk; the verifier is the sole authority on whether the partial result really holds. - If all subgoals are solved directly AND the partial results that compose into a full proof have each been partial-verified as needed, mark the plan as solved and assemble the proof draft.
- When a direction remains viable and supports sustained progress, work on it
deeply for 1–2 hours and try to establish one mathematically deep result that resolves a genuine obstacle or materially advances the main problem. Do not turn each routine calculation into its own fact, and do not bundle shallow observations merely to imitate depth; use supporting steps to prove the one substantive conclusion.
- If the plan does not fully go through, then identify the key stuck points as concretely as possible.
- Focus on locating the decisive failure modes of the plan after this first full attempt, not on polishing a full proof.
Output Contract
Publish one record per attempted subgoal to global memory with gm_add (kind proof_attempt): claim = the subgoal + its status, evidence = the attempt / the partial proof if solved, plus these fields:
Record the plan's updated status (screening / screened / solved) in your local memory or as a follow-up plan finding.
Tools
gm_add(publish the proof-attempt finding)gm_search(recall examples, counterexamples, dead-ends, and verified facts)fact_submit(verify any self-contained partial result before building on it; see$verify-proof)search_arxiv_theorems
Failure Logging
If a decomposition plan does not solve the problem directly after attempting all of its subgoals, publish a dead_end finding (gm_add) that summarizes the plan-local stuck points and any important proof-migration failures, so siblings skip them.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingagents/skills/worker/direct-proving/SKILL.md
Popularity
- Repository stars
- 488
- Repository forks
- 70
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/frenzymath/danus/direct-proving)