Agent skill

Propose Subgoal Decomposition Plans

by frenzymath in frenzymath/Danus

Propose multiple subgoal decomposition plans for the current theorem using the information already gathered.

Apache-2.0Auto-check passed

Install Propose Subgoal Decomposition Plans

skills CLI
$ npx skills add frenzymath/Danus --skill propose-subgoal-decomposition-plans -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install frenzymath/Danus propose-subgoal-decomposition-plans --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/frenzymath/Danus.git skills-src && mkdir -p .claude/skills && cp -r skills-src/agents/skills/worker/propose-subgoal-decomposition-plans .claude/skills/propose-subgoal-decomposition-plans && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
propose-subgoal-decomposition-plans
GitHub stars
476
Token cost
~580 tokens
SKILL.md length
196 words
Files
2
Skills in repo
16
Repo updated
First seen
Licence
Apache-2.0

At a glance

Propose multiple subgoal decomposition plans for the current theorem using the information already gathered.

  • Works in 4 steps: Gather the current information that… → Propose materially different… → For each plan, state → …
  • Enough information has been collected from examples
  • SKILL.md covers Input Contract, Procedure, Output Contract and Tools, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Propose Subgoal Decomposition Plans is an agent skill from frenzymath/Danus. 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.

Its SKILL.md is about 580 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

The repository describes itself as: Orchestrating Mathematical Reasoning Agents with Fact-Graph Memory. The licence is Apache-2.0.

When your agent uses it

  • Enough information has been collected from examples
  • Counterexamples
  • Previous failures to break the problem into several materially different plans

Example prompts

  • “/propose-subgoal-decomposition-plans”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Gather the current information that materially constrains the problem: useful examples, failed claims, known obstructions, and relevant…
  2. Propose materially different decomposition plans.
  3. For each plan, state
  4. Hand each plan to $direct-proving for a quick screening pass.

What it can do on your machine

Read from SKILL.md and the folder at commit 6d92e8d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are json).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Propose Subgoal Decomposition Plans loads about 580 tokens when it runs. Until then it costs about 81 tokens; SKILL.md has 196 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~81
When it runs · the whole SKILL.md, loaded when a task matches
~580

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from frenzymath/Danus at commit 6d92e8d, republished under its Apache-2.0 licence (© frenzymath). 196 words, ~580 tokens.

Download SKILL.mdSave it as .claude/skills/propose-subgoal-decomposition-plans/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
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:

json
{
  "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

© frenzymath, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in agents/skills/worker/propose-subgoal-decomposition-plans of frenzymath/Danus.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit 6d92e8d

Compare with similar skills

Propose Subgoal Decomposition Plans next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Propose Subgoal Decomposition Plans compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Propose Subgoal Decomposition Plans this skillfrenzymath/Danus476—~580Automated safety check: PassApache-2.0
Plancodewhale-hq/Codewhale41k—~213Automated safety check: PassMIT
Planningn8n-io/n8n207k—~2.5kAutomated safety check: PassCustom licence
Decomposition Planning Roadmaptech-leads-club/agent-skills7k—~4.3kAutomated safety check: PassCustom licence
Planasgeirtj/system_prompts_leaks69k—~5.1kAutomated safety check: PassCC0-1.0
Review Planpenpot/penpot61k—~841Automated safety check: PassMPL-2.0

Similar skills

  • Plan

    codewhale-hq/Codewhale

    Turn a sufficiently understood task into an ordered implementation plan with dependencies and verification.

    41k GitHub stars~213 tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Planning

    n8n-io/n8n

    Official

    ONLY for coordinated multi-artifact work: multiple workflows with dependencies, shared data-table schema/migration across tasks, or the user explicitly asked to review a plan first.

    207k GitHub stars~2.5k tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Decomposition Planning Roadmap

    tech-leads-club/agent-skills

    Creates step-by-step decomposition plans and migration roadmaps for breaking apart monolithic applications.

    7k GitHub stars~4.3k tokensUpdated yesterday
    Product & Project ManagementAuto-check passed
  • Plan

    asgeirtj/system_prompts_leaks

    On an explicit planning request, always call readskill for this skill before answering.

    69k GitHub stars~5.1k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Review Plan

    penpot/penpot

    Plan review flow — evaluate an implementation plan before it is executed, delegating the review to a subagent that follows the plan-review-criteria skill.

    61k GitHub stars~841 tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Make A Plan

    penpot/penpot

    Planning flow — research the subject of this session, produce an implementation plan with the planner skill, resolve open questions with the user in plain language, and save the final plan to…

    61k GitHub stars~1.6k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed

More from frenzymath/Danus

All 16 skills in this repo
  • Validate externally referenced theorems by querying arXiv theorem search first and Codex's built-in web search second.

    476 GitHub stars~852 tokensUpdated 1 mo ago
    Auto-check passed
  • Construct candidate counterexamples to test a proposed conjecture, lemma, or intermediate claim by keeping the assumptions true while making the claimed conclusion fail.

    476 GitHub stars~790 tokensUpdated 1 mo ago
    Auto-check passed
  • Construct Toy Examples

    frenzymath/Danus

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

    476 GitHub stars~541 tokensUpdated 1 mo ago
    Auto-check passed
  • Direct Proving

    frenzymath/Danus

    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.

    476 GitHub stars~1.3k tokensUpdated 1 mo ago
    Auto-check passed
  • Identify Key Failures

    frenzymath/Danus

    Synthesize the common stuck points across failed decomposition plans.

    476 GitHub stars~586 tokensUpdated 1 mo ago
    Auto-check passed
  • Derive immediate mathematical consequences from a theorem statement or subgoal.

    476 GitHub stars~587 tokensUpdated 1 mo ago
    Auto-check passed

Questions about Propose Subgoal Decomposition Plans

What does Propose Subgoal Decomposition Plans do?

Propose multiple subgoal decomposition plans for the current theorem using the information already gathered. Propose Subgoal Decomposition Plans is an agent skill from frenzymath/Danus. Propose multiple subgoal decomposition plans for the current theorem using the information already gathered.

When should I use Propose Subgoal Decomposition Plans?

Propose Subgoal Decomposition Plans fits situations like: enough information has been collected from examples; counterexamples; previous failures to break the problem into several materially different plans.

How do I install Propose Subgoal Decomposition Plans in Claude Code?

Run `npx skills add frenzymath/Danus --skill propose-subgoal-decomposition-plans -a claude-code`. Or copy the skill folder (agents/skills/worker/propose-subgoal-decomposition-plans in frenzymath/Danus) into .claude/skills/propose-subgoal-decomposition-plans in your project. Claude Code loads it when a task matches its description.

How do I install Propose Subgoal Decomposition Plans in Codex?

Run `npx skills add frenzymath/Danus --skill propose-subgoal-decomposition-plans -a codex`. Or copy the skill folder (agents/skills/worker/propose-subgoal-decomposition-plans in frenzymath/Danus) into .agents/skills/propose-subgoal-decomposition-plans in your project. Codex loads it when a task matches its description.

Can I use Propose Subgoal Decomposition Plans in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add frenzymath/Danus --skill propose-subgoal-decomposition-plans -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/propose-subgoal-decomposition-plans, .gemini/skills/propose-subgoal-decomposition-plans, .github/skills/propose-subgoal-decomposition-plans and .opencode/skills/propose-subgoal-decomposition-plans in your project.

What does Propose Subgoal Decomposition Plans need to run?

SKILL.md names no scripts, command-line tools or credentials: Propose Subgoal Decomposition Plans is instructions for the agent only.

Does Propose Subgoal Decomposition Plans access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Propose Subgoal Decomposition Plans safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Propose Subgoal Decomposition Plans use?

Propose Subgoal Decomposition Plans is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Propose Subgoal Decomposition Plans use?

About 580 tokens (SKILL.md is roughly 2.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Propose Subgoal Decomposition Plans?

Skills that share tags, products or a category with Propose Subgoal Decomposition Plans: Plan (codewhale-hq/Codewhale, 41k stars), Planning (n8n-io/n8n, 207k stars), Decomposition Planning Roadmap (tech-leads-club/agent-skills, 7k stars) and Plan (asgeirtj/system_prompts_leaks, 69k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Propose Subgoal Decomposition Plans?

frenzymath (a GitHub organization) maintains it in frenzymath/Danus, which has 476 GitHub stars. The repository holds 16 skills in this directory. The repository was last updated on August 27, 2026.

Source: frenzymath/Danus on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.