Skip to content
Agent Orchestration
Skill

/propose-subgoal-decomposition-plans

Propose multiple subgoal decomposition plans for the current theorem using the information already gathered. Use when enough information has been collected from examples, counterexamples, search results, and previous failures to break the problem into several materially

From plugin
danus
50712 skills20 agents

Claude Code

$ npx -y skills add frenzymath/Danus --skill propose-subgoal-decomposition-plans --agent claude-code

SKILL.md

propose-subgoal-decomposition-plans.SKILL.md
name: propose-subgoal-decomposition-plans
description: Propose multiple subgoal decomposition plans for the current theorem using the information already gathered. Use when enough information has been collected from examples, counterexamples, search results, and previous failures to break the problem into several materially different plans.

Propose Subgoal Decomposition Plans

Use this skill when the agent has enough context to propose several viable decomposition plans.

Input Contract

Read:

  • the current target theorem or branch goal
  • relevant `immediate_conclusions`, `toy_examples`, and `counterexamples`
  • relevant `failed_paths` and `branch_states`
  • recent search results and useful references from `events`

Procedure

1. Gather the current information that materially constrains the problem: useful examples, failed claims, known obstructions, and relevant search results. 2. Propose materially different decomposition plans. 3. For each plan, state:

  • the main idea of the plan
  • the ordered subgoals
  • why this plan is plausible given the current information
  • which earlier failures or counterexamples it tries to avoid

4. Hand each plan to `$direct-proving` for a quick screening pass.

Output Contract

Publish one plan per decomposition to global memory with `gm_add` (kind `plan`, a judgment — `verifiable=false`): `claim` = the plan's goal + summary, `evidence` = its motivation, plus these fields:

{
  "plan_id": "...",
  "record_type": "decomposition_plan",
  "goal": "...",
  "plan_summary": "...",
  "subgoals": ["..."],
  "motivation": ["..."],
  "uses_information_from": {
    "examples": ["..."],
    "counterexamples": ["..."],
    "key_failures": ["..."],
    "search_results": ["..."]
  },
  "status": "proposed|screening|screened|selected|failed|solved",
  "branch_id": "optional"
}

Also note the new plan set in your local memory (`events`).

Tools

  • `gm_add` (publish the plan findings)
  • `gm_search` (recall the examples/counterexamples/dead-ends the plans build on)
  • `search_arxiv_theorems`

Failure Logging

If the agent cannot yet propose meaningful decomposition plans, append an `events` record with:

  • `event_type="decomposition_plans_not_ready"`
  • the missing information
  • the blockers that prevent proposing plans
Read more
@frenzymath
Ships withdanus

🚀✨ News: This branch is the version that solved YTD. 🎉 Danus orchestrates mathematical reasoning agents with fact-graph memory.

50712 skills20 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
507
Star history of frenzymath/Danus on GitHub, a chart by star-history.com

Other skills on danus.

construct-counterexamples

construct-counterexamp…

Construct candidate counterexamples to test a proposed conjecture, lemma, or intermediate claim by keeping the assumptions true…

@frenzymath@frenzymathInstall Skill
construct-toy-examples

construct-toy-examples

Generate and analyze simpler examples that satisfy both the assumptions and the conclusion of a theorem statement or subgoal. Use…

@frenzymath@frenzymathInstall Skill
direct-proving

direct-proving

Screen a decomposition plan by first trying to prove all of its subgoals directly, then identifying the key stuck points if the…

@frenzymath@frenzymathInstall Skill

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw3d395k
@steipete@steipeteInstall Skill
jira-tickets

jira-tickets

Read and update Jira tickets through Orca's saved Jira connections. Use when a task comes from Jira or the user asks for Jira…

orca1d128k
@stablyai@stablyaiInstall Skill
agentmail

agentmail

Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…

paperclip2d114k
@paperclipai@paperclipaiInstall Skill
adr-create

adr-create

Create a new Architecture Decision Record with sequential numbering and AgentDB registration

@ruvnet@ruvnetInstall Skill

Questions about propose-subgoal-decomposition-plans.

Which coding agents can use propose-subgoal-decomposition-plans?
propose-subgoal-decomposition-plans installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.