Agent Planning Loop logo

Agent Planning Loop

Community
MiaoDX
agent-planning-loop

Review unsettled plans with independent scouts when the user requests multi-agent planning or alignment.

Overview

PublisherMiaoDX
Repositoryintuitive-flow
Skill nameagent-planning-loop
Stars
48
Forks
3
Bundled files
2
LicenseMIT
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.

  • 2 bundled files

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

  • Open source

    Published by MiaoDX on GitHub. Read the source before you install it.

Installation

Install the Agent Planning Loop 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/MiaoDX/intuitive-flow/tree/main/skills/agent-planning-loop
  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/MiaoDX/intuitive-flow.git /tmp/intuitive-flow
mkdir -p .claude/skills
cp -r /tmp/intuitive-flow/skills/agent-planning-loop .claude/skills/agent-planning-loop
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Agent Planning Loop 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 Agent Planning Loop 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 Agent Planning Loop 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.

Agent Planning Loop

Run a bounded planning debate when requested and return one judged recommendation. Implementation and approval happen after the loop, and questions for the user go through the main session, not the scouts. Preserve the full intended scope of a supplied plan unless the user selects a subset or a material decision blocks honest full-plan execution.

Plan artifact ownership

For a normal planning request, the canonical artifact is the target repository's existing plan path. When the repository convention is docs/plans/, use one docs/plans/<slug>.md file and reconcile the loop's accepted decisions into that file. A planning loop reviews or updates the canonical plan; it does not create .planning/, ROADMAP.md, STATE.md, phase CONTEXT.md, or a GSD PLAN.md as a side effect.

Mentioning GSD, agents, or a planning loop does not itself authorize a GSD handoff. Stop at the canonical plan checkpoint for a planning-only request. A GSD artifact may be generated only when the user requests implementation/GSD handoff or an existing GSD phase already owns execution, and the named GSD workflow has actually been invoked.

Set a brief charter: goal, non-goals, context, permitted worker actions, and stop condition. Use scouts when preparing worker prompts and judging their evidence. Main-session judgment owns the recommendation.

Default to at most two rounds: discovery/challenge, then a narrowed follow-up only if it can change the recommendation. Stop sooner when a plan has clear acceptance and proof, the remaining items are implementation defaults, or a user decision blocks progress. A deeper autonomous loop requires the user's request.

Output

Return a review packet, not a transcript.

Include: planning loop status, what ran, rejected/parked items, one recommended plan with scope/non-goals/acceptance/verification/risk, alternatives only when material, user decisions, Plan artifact:, Recommended next action:, and Shortcut:.

For plan-file loops, the Recommended next action should normally execute or preflight the whole plan through the appropriate route. It may name the first phase as the starting point, but should not make that phase the whole approved scope unless the user asked for that narrowing or a stop gate blocks the rest.

For a repository plan-file loop, Plan artifact: must identify the canonical plan path (normally docs/plans/<slug>.md), not a review log or a newly-created GSD phase file.

If no material plan remains, say so directly and explain what evidence caused the stop; a short packet beats weak alternatives. Still include Recommended next action and Shortcut; use park/none when there is genuinely no useful next step.

Approval Handling

If the user approves the review packet, the loop is done unless their approval changes scope. Route to the single Recommended next action. Treat short replies such as LGTM, approve, sounds good, or do it as approval for that action and preserve the packet's plan artifact, scope, verification, user decisions, parked items, and stop condition.

If the user pushes back on part of the recommendation, treat that as new charter input. Rerun only the affected scout stage, not the whole loop.

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 Agent Planning Loop AI skill do?

Review unsettled plans with independent scouts when the user requests multi-agent planning or alignment.

Why use Agent Planning Loop on TypingMind?

Because you install it once and use it with any model. Agent Planning Loop 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 Agent Planning Loop in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/MiaoDX/intuitive-flow/tree/main/skills/agent-planning-loop. 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 Agent Planning Loop?

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 Agent Planning Loop?

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

Is the Agent Planning Loop AI skill free?

Yes. It is published on GitHub by MiaoDX under the MIT license. 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 👇