propose-subgoal-decomposition-plans

propose-subgoal-decomposition-plans is a skill for Codex from frenzymath/Danus. It costs 55 tokens per session (532 once invoked), scanned A, original, Apache-2.0.

A method for proposing several different ways to split a mathematical theorem into smaller goals. It uses earlier examples, counterexamples, search results, and failed approaches to shape the plans.

In plain words
What is it for?
Use it after gathering evidence about a theorem to outline ordered subgoals, explain why each plan might work, and screen the plans before deeper proving.
Why use it?
It helps choose a proof direction when the available information supports more than one plausible route.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: $skill-name invocation.

Good fit Use it after gathering evidence about a theorem to outline ordered subgoals, explain why each plan might work, and screen the plans before deeper proving.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/frenzymath/danus/propose-subgoal-decomposition-plans
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add frenzymath/Danus --skill propose-subgoal-decomposition-plans
Clone the repo
git clone --depth 1 https://github.com/frenzymath/Danus

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for propose-subgoal-decomposition-plans

README.md
[![agentmods](https://agentmods.dev/badge/skills/frenzymath/danus/propose-subgoal-decomposition-plans/github.svg)](https://agentmods.dev/skills/frenzymath/danus/propose-subgoal-decomposition-plans)
Your own site
<a href="https://agentmods.dev/skills/frenzymath/danus/propose-subgoal-decomposition-plans"><img src="https://agentmods.dev/badge/skills/frenzymath/danus/propose-subgoal-decomposition-plans/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for propose-subgoal-decomposition-plans

Your own site · 80×15
<a href="https://agentmods.dev/skills/frenzymath/danus/propose-subgoal-decomposition-plans"><img src="https://agentmods.dev/badge/skills/frenzymath/danus/propose-subgoal-decomposition-plans.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 532 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00055 $0.00532
Opus 5.5 $0.00022 $0.00213
Sonnet 5.5 $0.00011 $0.00106
Haiku 4.5 $0.00006 $0.00053

Measured 3mo ago against content hash 47fba96ab5cc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

propose-subgoal-decomposition-plans scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/skills/worker/propose-subgoal-decomposition-plans/SKILL.md · 70 lines

What it actually says

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
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 70 lines · 55 tokens per session scan A 47fba96ab5cc

Subscribe to this mod's changes

propose-subgoal-decomposition-plans is a skill published in the GitHub repository frenzymath/Danus (516 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 55 tokens to every session and 532 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

propose-subgoal-decomposition-plans compared with skills from other repositories

propose-subgoal-decomposition-plans next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
propose-subgoal-decomposition-plansfrenzymath/DanusSkill5163mo agoApache-2.0A55Codex
personal-genomicssammcj/agentic-codingSkill1744d agoApache-2.0A56Claude Code
post-processingHeshamFS/materials-simulation-skillsSkill9515d agoApache-2.0A130Claude Code
nonlinear-solversHeshamFS/materials-simulation-skillsSkill9515d agoApache-2.0A153Claude Code
numerical-integrationHeshamFS/materials-simulation-skillsSkill9515d agoApache-2.0A142Claude Code
numerical-stabilityHeshamFS/materials-simulation-skillsSkill9515d agoApache-2.0A92Claude Code
slurm-job-script-generatorHeshamFS/materials-simulation-skillsSkill9515d agoApache-2.0A145Claude Code