identify-key-failures

identify-key-failures is a skill for Codex from frenzymath/Danus. It costs 41 tokens per session (510 once invoked), scanned A, original, Apache-2.0.

A method for finding recurring reasons why software or mathematical decomposition plans fail. It compares failed attempts, obstacles, counterexamples, and missing background information.

In plain words
What is it for?
Reviewing failed decomposition plans, identifying common sticking points, and recording reusable failure patterns for future planning.
Why use it?
It turns repeated failed attempts into guidance that can improve the next planning round instead of restarting without learning from them.

Skill for Codex

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

Good fit Reviewing failed decomposition plans, identifying common sticking points, and recording reusable failure…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/frenzymath/danus/identify-key-failures
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 identify-key-failures
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 identify-key-failures

README.md
[![agentmods](https://agentmods.dev/badge/skills/frenzymath/danus/identify-key-failures.svg)](https://agentmods.dev/skills/frenzymath/danus/identify-key-failures)
Your own site
<a href="https://agentmods.dev/skills/frenzymath/danus/identify-key-failures"><img src="https://agentmods.dev/badge/skills/frenzymath/danus/identify-key-failures.svg" alt="Measured on agentmods" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 510 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.
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.00041 $0.00510
Opus 5 $0.00020 $0.00255
Sonnet 5 $0.00008 $0.00102
Haiku 4.5 $0.00004 $0.00051

Measured 7d ago against content hash d0415be93a8e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

identify-key-failures 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 7d 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/identify-key-failures/SKILL.md · 63 lines

How it starts

The opening of the file, as written. The whole thing — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Identify Key Failures

Use this skill to turn many failed attempts into reusable guidance for the next planning round.

Input Contract

Read:

  • the failed decomposition plans
  • direct-proving stuck points
  • existing failed_paths
  • relevant counterexamples and toy_examples

Procedure

  1. Gather the reports from all failed plans. If only direct proving has run so far, work directly from the direct-proving failures.
  2. List the key stuck points for each plan.
  3. Identify common points across those failures:
    • recurring obstructions or counterexamples
    • decomposition patterns that keep breaking
    • search gaps or missing background facts
  4. Summarize what the failures suggest for the next generation of decomposition plans.
  5. When all current decomposition plans have failed and no pattern is leading anywhere, publish the synthesized dead_end (below): the main agent reasons or launches exploratory subagents, then delivers a fresh direction as master_guidance.
  6. Save the synthesized failure knowledge to failed_paths so later planning skills can use it.
  7. After recording the failure synthesis, return control to $propose-subgoal-decomposition-plans.

Output Contract

Publish the failure synthesis to global memory with gm_add (kind dead_end): claim = the common stuck points, evidence = the per-plan failures, so siblings skip these paths. Carry these fields:

{
  "record_type": "key_failures_summary",
  "failed_plan_ids": ["..."],
  "plan_failures": [
    {
      "plan_id": "...",
      "stuck_points": ["..."]
    }
  ],
  "common_failures": ["..."],
  "implications_for_next_plans": ["..."]
}

Also note in your local memory (events) that a new planning round is needed.

Tools

  • gm_add (publish the dead_end synthesis)
  • gm_search (gather the failed plans and stuck points across the swarm)

Failure Logging

If the reports are too weak to identify meaningful common failures, note in local memory (events) event_type="key_failures_inconclusive" and state what information is still missing.

Read the full file on GitHub · 63 lines

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. 7d ago First seen · 63 lines · 41 tokens per session scan A d0415be93a8e

Subscribe to this mod's changes

identify-key-failures is a skill published in the GitHub repository frenzymath/Danus (403 stars, last pushed 10d ago), licensed Apache-2.0. It adds 41 tokens to every session and 510 once invoked, about $0.0002 per session on Opus 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.