Maker Mdap logo

Maker Mdap

Community
coco-research
maker-mdap

Knowledge base from "Solving a Million-Step LLM Task with Zero Errors" (Meyerson, Paolo, Dailey, Shahrzad, Francon, Hayes, Qiu, Hodjat, Miikkulainen — arXiv:2511.09030). Use when designing long-horizon, multi-step agentic LLM pipelines that need very high reliability, applying Maximal Agentic Decomposition (MAD), first-to-ahead-by-k voting, or red-flagging error correction, estimating cost/reliability scaling laws for multi-agent systems, or studying Massively Decomposed Agentic Processes (MDAPs).

Overview

Publishercoco-research
Repositorycoco
Skill namemaker-mdap
Stars
550
Forks
12
Bundled files
11
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 11 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by coco-research on GitHub. Read the source before you install it.

Installation

Install the Maker Mdap AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/coco-research/coco/tree/main/skills/maker-mdap
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/coco-research/coco.git /tmp/coco
mkdir -p .claude/skills
cp -r /tmp/coco/skills/maker-mdap .claude/skills/maker-mdap
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Maker Mdap in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Maker Mdap on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Maker Mdap is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Solving a Million-Step LLM Task with Zero Errors

Authors: Elliot Meyerson, Giuseppe Paolo, Roberto Dailey, Hormoz Shahrzad, Olivier Francon, Conor F. Hayes, Xin Qiu, Babak Hodjat, Risto Miikkulainen (Cognizant AI Lab / UT Austin) Source: arXiv:2511.09030 (Nov 2025) (Notice) | Pages: ~29 | Chapters: 7 | Generated: 2026-08-26

How to Use This Skill

  • Without arguments — load core frameworks below for reference
  • With a topic — ask about voting, red-flagging, cost scaling, decomposition, or another indexed topic; I find and read the relevant chapter
  • With a chapter — ask for ch03; I load that specific chapter
  • Browse — ask "what chapters do you have?" to see the full index

When you ask about a topic not covered in Core Frameworks below, I will read the relevant chapter file before answering.


Core Frameworks & Mental Models

The problem: LLMs have a persistent per-step error rate. A 1%-per-step error rate is expected to fail by step ~100. Standard benchmarks (independent examples, averaged accuracy) hide this — they don't expose what happens once you chain thousands or millions of dependent steps. This paper solves a task requiring over one million dependent LLM steps with zero errors, and argues the fix is architectural, not "wait for a smarter model."

MDAP (Massively Decomposed Agentic Process) — the general paradigm: decompose a task into the smallest possible subtasks, then apply subtask-level error correction. MAKER is this paper's concrete implementation: Maximal Agentic decomposition + first-to-ahead-by-K Error correction + Red-flagging.

1. Maximal Agentic Decomposition (MAD) — set subtask size m=1 (one action per LLM call). Each agent gets only (current state, fixed strategy) — never the accumulated history of past actions. This avoids the reliability degradation single agents suffer as their own context grows, and lets you use small, cheap, non-reasoning models. Use X when Y: use MAD whenever a task decomposes into a chain/recursion of minimal, independently-checkable actions.

2. First-to-ahead-by-k voting — resample a subtask until one candidate has been chosen k more times than every other candidate. Grounded in the Sequential Probability Ratio Test and the gambler's-ruin problem. Critically, k_min (the smallest k hitting a target success probability) grows only Θ(ln s) — logarithmically in total step count s.

3. Red-flagging — discard (don't repair) any response whose structure signals confusion: overlong output, or output that fails a strict format parser. Its main benefit is suppressing correlated errors (independent votes colliding on the same wrong answer), not just raising average per-step success rate.

The scaling-law punchline (the single most important equation): total expected cost is Θ(p^-m · c · s · ln s) — exponential in subtask size m, but only log-linear in total step count s. Corollary: decompose maximally (small m); don't fear long tasks (large s). Bundling steps "for efficiency" is the single biggest cost mistake this framework warns against.

Model/cost selection rule: rank candidate models by c/p (cost per token ÷ per-step success rate), not by raw price or "reasoning" reputation. Calibrate p on a small, cheap, ground-truth-known sample before committing to a large-scale run. In this paper's experiments, small non-reasoning models matched or beat reasoning models on cost-effectiveness.

Verify voting is actually working: don't trust average error rate alone — explicitly count collisions (steps whose first two independent votes are both wrong). A low average error rate can still hide dangerous correlated failures that only collision-counting exposes.

Scope: this paper covers execution (faithfully carrying out a given strategy) — not insight (generating the strategy/plan itself). Know which one your problem needs.


Chapter Index

#TitleKey Frameworks
ch01Introduction — Why Million-Step Tasks Break LLMsMDAP, MAKER, multi-agent advantage
ch02Background — Error Correction and the Hanoi TestbedLbAs, voting/ensembling, decomposition granularity
ch03Methods — MAD, Voting, Red-FlaggingMAD, first-to-ahead-by-k voting, red-flagging, cost/scaling equations
ch04Experiments — The 20-Disk Zero-Error RunCalibrate-then-scale, model/cost selection, convergence behavior
ch05Red-Flagging Impact, Discussion, Future WorkCollision counting, insight-vs-execution, microservices analogy, safety
ch06Appendix A/B — k_min DerivationFull derivation of k_min = Θ(ln s)
ch07Appendix C/D — Prompts, Parsers, SamplesReusable prompt template, repairing vs. red-flagging parsers

Topic Index

  • Calibrate-then-scale workflow → ch04
  • Collision counting / correlated errors → ch05
  • Cost scaling laws (Θ(s ln s), Θ(p^-m)) → ch03, ch04, ch06
  • Decomposition granularity (m) → ch02, ch03
  • First-to-ahead-by-k voting → ch03, ch06
  • Insight vs. execution → ch05
  • k_min derivation → ch03, ch06
  • MAD (Maximal Agentic Decomposition) → ch01, ch03
  • MAKER (the implementation) → ch01, ch03, ch04
  • MDAP (the general framework) → ch01
  • Microservices analogy → ch05
  • Model selection / cost projection → ch04
  • Multi-agent advantage → ch01
  • Parsers (repairing vs. red-flagging) → ch03, ch07
  • Prompt template (Towers of Hanoi agent) → ch07
  • Red-flagging → ch03, ch05, ch07
  • Safety implications of decomposition → ch05
  • Towers of Hanoi benchmark → ch02, ch04
  • Voting theory (SPRT, gambler's ruin) → ch02, ch03

Supporting Files

  • glossary.md — all key terms with definitions
  • patterns.md — MAD, voting, red-flagging, calibrate-then-scale, collision counting
  • cheatsheet.md — decision rules, thresholds, model-selection matrix

Scope & Limits

This skill covers this single paper's content only (arXiv:2511.09030, v1, Nov 2025). It addresses execution of long-horizon agentic tasks, not open-ended plan/strategy generation ("insight"). Numeric thresholds cited (e.g. the ~700-token red-flagging cutoff) are specific to this paper's Towers-of-Hanoi setup and prompt design — re-derive them empirically for any other domain rather than reusing them as universal constants. For applying these ideas to your own codebase or agent framework, combine with project-specific tools; for topics beyond this paper, ask directly.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Maker Mdap AI skill do?

Knowledge base from "Solving a Million-Step LLM Task with Zero Errors" (Meyerson, Paolo, Dailey, Shahrzad, Francon, Hayes, Qiu, Hodjat, Miikkulainen — arXiv:2511.09030). Use when designing long-horizon, multi-step agentic LLM pipelines that need very high reliability, applying Maximal Agentic Decomposition (MAD), first-to-ahead-by-k voting, or red-flagging error correction, estimating cost/reliability scaling laws for multi-agent systems, or studying Massively Decomposed Agentic Processes (MDAPs).

Why use Maker Mdap on TypingMind?

Because you install it once and use it with any model. Maker Mdap is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Maker Mdap in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/coco-research/coco/tree/main/skills/maker-mdap. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Maker Mdap?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Maker Mdap?

As many as you like. As long as a model supports skills, you can use Maker Mdap with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Maker Mdap AI skill free?

It is published on GitHub by coco-research. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇