task-planning

task-planning is a skill for Claude Code, Codex from aiguicai/MCP-Gateway. It costs 32 tokens per session (979 once invoked), scanned A, original, MIT.

A planning helper that keeps a short task list in memory while an agent works with bundled tools. It requires the plan to be read and updated before those tool calls.

In plain words
What is it for?
Use it when a task requires several bundled tool calls and the planning system is enabled.
Why use it?
It makes multi-step tool work easier to track and keeps the agent's current task state consistent. The plan lasts only for the active session and is not saved after a gateway restart.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when a task requires several bundled tool calls and the planning system is enabled.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aiguicai/mcp-gateway/task-planning
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 aiguicai/MCP-Gateway --skill task-planning
Clone the repo
git clone --depth 1 https://github.com/aiguicai/MCP-Gateway

Made for: Claude Code, 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 task-planning

README.md
[![agentmods](https://agentmods.dev/badge/skills/aiguicai/mcp-gateway/task-planning/github.svg)](https://agentmods.dev/skills/aiguicai/mcp-gateway/task-planning)
Your own site
<a href="https://agentmods.dev/skills/aiguicai/mcp-gateway/task-planning"><img src="https://agentmods.dev/badge/skills/aiguicai/mcp-gateway/task-planning/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 task-planning

Your own site · 80×15
<a href="https://agentmods.dev/skills/aiguicai/mcp-gateway/task-planning"><img src="https://agentmods.dev/badge/skills/aiguicai/mcp-gateway/task-planning.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 979 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.00032 $0.00979
Opus 5 $0.00016 $0.00490
Sonnet 5 $0.00006 $0.00196
Haiku 4.5 $0.00003 $0.00098

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

Security

Grade A, and why

task-planning 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 9d 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.

mcp-gateway/crates/gateway-http/builtin-skills/task-planning/SKILL.md · 91 lines

How it starts

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

Task Planning

Use this skill when bundled tool calls require a plan. The gateway stores a lightweight in-memory plan state per client/session and per content-derived planningId. It does not persist plans across gateway restarts and it does not render UI.

Workflow

  1. First read this complete SKILL.md and use the returned skillToken.
  2. Before a real bundled tool call, call task-planning with action: "update" and the current todo list.
  3. Use the returned planningId on the next real bundled tool call.
  4. Reuse the same planningId across multiple tool calls while working through the plan. It does not expire after successful tool calls.
  5. Do not update the plan after every tool call just because a tool ran. A single plan step may require many tool calls.
  6. The gateway may include a single planningReminder field on successful bundled tool results. It only refers to the current in_progress item and may include a concise set_status call to mark that item completed.
  7. If the same planningId uses shell_command three or more times in a row without a plan update or another successful bundled tool, the gateway may include shellCommandReminder. Use it as a nudge to combine related shell commands, read multiple files in one pass when useful, or prefer efficient search commands such as rg and rg --files. A shell command that starts with rg resets this counter.
  8. If multi_edit_file fails three or more times in a row for the same planningId, the gateway may include editFailureReminder. Use it as a nudge to inspect exact file content, simplify the operation, split unrelated changes, or fall back to a focused shell script when structured edits keep failing.
  9. If the approach or step list changes, call action: "update" with the new plan and use the returned new planningId. Stop using the old planningId; clear it if needed.
  10. Use action: "set_status" for simple state changes. If item is omitted, it updates the current in_progress item. When that item is set to completed and pending items remain, the gateway automatically starts the next pending item as in_progress and returns it as nextItem.
  11. When every plan item is updated to completed, the gateway closes that planningId and it can no longer be used for real bundled tool calls. Then omit the temporary todo list from the final response unless the user asks for it.

Read the full file on GitHub · 91 lines

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. 9d ago First seen · 91 lines · 32 tokens per session scan A 10e7549ddd91

Subscribe to this mod's changes

task-planning is a skill published in the GitHub repository aiguicai/MCP-Gateway (154 stars, last pushed 3mo ago), licensed MIT. It adds 32 tokens to every session and 979 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.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens