Execplan Improve logo

Execplan Improve

Community
grp06
execplan-improve

Read an existing ExecPlan, deeply analyze every referenced file and code path, and rewrite the plan with concrete, code-grounded improvements. Prefer work-item plans under `.agent/work/`, while preserving backward-compatible support for older singleton plan files.

Overview

Publishergrp06
Repositoryuseful-codex-skills
Skill nameexecplan-improve
Stars
78
Forks
6
Bundled files
Instructions only
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.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

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

Installation

Install the Execplan Improve 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/grp06/useful-codex-skills/tree/main/execplan-improve
  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/grp06/useful-codex-skills.git /tmp/useful-codex-skills
mkdir -p .claude/skills
cp -r /tmp/useful-codex-skills/execplan-improve .claude/skills/execplan-improve
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Execplan Improve 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 Execplan Improve 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 Execplan Improve 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.

Improve ExecPlan

Core philosophy: Every improvement must trace back to something found in the actual code. No speculative additions. No surface-level rewording.

Ousterhout Lens

Use John Ousterhout's design philosophy as the design-quality lens:

  • prefer deep modules over shallow wrappers
  • prefer interfaces that hide sequencing and policy details
  • prefer fewer concepts, fewer knobs, and fewer special cases
  • prefer simpler mental models over visually tidy decomposition
  • prefer moving complexity behind a stable boundary over redistributing it

Treat these as the main forms of complexity:

  • change amplification
  • cognitive load
  • unknown unknowns

Resolving the Base Repo

You may be running from a Codex worktree such as ~/.codex/worktrees/<id>/<repo>/.

  1. If the current path contains /.codex/worktrees/, set the base repo to ~/<repo-name>.
  2. Otherwise the base repo is the current working directory.

Check both the worktree .agent/ and the base repo .agent/. Prefer the worktree copy if both exist.

Input Resolution

Preferred target resolution order:

  1. explicit plan path supplied by the user
  2. explicit work-item path supplied by the user
  3. .agent/active when it points to a work item with stage="plan" and state="completed"
  4. the most recently updated work item under .agent/work/ with stage="plan" and state="completed"
  5. legacy fallback: .agent/execplan-pending.md
  6. explicit legacy fallback: .agent/potential-bugs/<plan-name>.md

If no ExecPlan exists in any supported location, tell the user and stop.

Understand the Purpose of ExecPlans

Read .agent/PLANS.md from the base repo or worktree before modifying the plan.

Workflow

Step 0: Short-Circuit Low-Value Repeats

Before doing repo work, inspect only the immediately previous assistant turn.

  • If the previous execplan-improve result was exactly skip, return exactly skip.
  • If it ended with Usefulness score: N/10 - ... and N <= 3, return exactly skip.

Step 1: Resolve the plan path and work-item metadata

If operating on a work item, read:

  • meta.json
  • decision.md when present
  • execplan.md

Otherwise read the legacy plan path directly.

Step 2: Parse the ExecPlan

Extract:

  • file paths
  • symbols
  • commands
  • milestones
  • acceptance criteria
  • assumptions

Step 3: Deep-read referenced and adjacent code

Read the referenced files and nearby importers/importees. Look for:

  • wrong paths or signatures
  • missing tests or dependencies
  • project conventions the plan misses
  • leaked sequencing or policy the plan should hide
  • shallow abstractions the plan preserves without reason
  • duplicate concepts or special-case branches the plan could absorb

Step 4: Audit the plan

Check:

  • accuracy
  • completeness
  • self-containment
  • feasibility
  • testability
  • safety
  • design quality

Step 5: Rewrite the plan in place

Rewrite at the same path:

  • work-item format: execplan.md
  • legacy format: the original singleton path

Preserve existing Progress, Surprises & Discoveries, Decision Log, and Outcomes & Retrospective.

Apply only code-grounded improvements:

  • fix inaccuracies
  • add missing files, tests, dependencies, milestones, and commands
  • split oversized milestones
  • define jargon
  • make acceptance criteria observable
  • add recovery guidance where missing
  • strengthen the intended simplicity boundary and complexity dividend

Do not change the plan's intent.

Step 6: Finalize metadata

If using a work item, keep:

  • stage="plan"
  • state="completed"
  • updated_at=<now>

Step 7: Score usefulness and summarize

Report:

  • Fixed
  • Added
  • Strengthened
  • Flagged
  • final line: Usefulness score: X/10 - <specific reason>

If a real pass found no material improvements, return exactly skip.

Anti-Patterns

  • surface-level rewording without code evidence
  • speculative additions
  • changing the plan's goal
  • ignoring existing progress
  • preserving shallow or leaky abstractions just because they were already in the draft

Frequently asked questions

What does the Execplan Improve AI skill do?

Read an existing ExecPlan, deeply analyze every referenced file and code path, and rewrite the plan with concrete, code-grounded improvements. Prefer work-item plans under `.agent/work/`, while preserving backward-compatible support for older singleton plan files.

Why use Execplan Improve on TypingMind?

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

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/grp06/useful-codex-skills/tree/main/execplan-improve. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Execplan Improve?

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 Execplan Improve?

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

Is the Execplan Improve AI skill free?

Yes. It is published on GitHub by grp06 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 👇