Plan Prep logo

Plan Prep

Organization
gleanwork
plan-prep

Research enterprise context before plan mode — surface design docs, similar implementations, stakeholders, and related systems before architecting or designing a feature.

Overview

Publishergleanwork
Repositoryclaude-plugins
Skill nameplan-prep
Stars
25
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 gleanwork on GitHub. Read the source before you install it.

Installation

Install the Plan Prep 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/gleanwork/claude-plugins/tree/main/plugins/glean/skills/plan-prep
  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/gleanwork/claude-plugins.git /tmp/claude-plugins
mkdir -p .claude/skills
cp -r /tmp/claude-plugins/plugins/glean/skills/plan-prep .claude/skills/plan-prep
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Plan Prep 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 Plan Prep 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 Plan Prep 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.

Planning Preparation via Glean

Research enterprise context before entering plan mode by gathering design docs, similar implementations, stakeholders, and related systems.

When This Applies

Use plan prep when users:

  • Want to research before entering plan mode
  • Are planning architectural or strategic changes
  • Need to understand related systems before designing
  • Want to identify stakeholders and code owners early
  • Ask: "plan with glean", "prep for plan", "research before planning"

Why This Matters

Better planning comes from enterprise context:

  • Design Decisions: Understand what was tried before, why it worked or didn't
  • Similar Implementations: Find proven patterns and learn from past approaches
  • Stakeholders: Identify who needs to be involved or has relevant knowledge
  • Related Systems: Understand dependencies and integration points

Local tools only see your current repo. This workflow searches your entire organization for existing decisions, patterns, and knowledge.

BE SKEPTICAL

Filter aggressively for relevant, current information.

Test✅ Include⚠️ Note❌ Exclude
Freshness<6 months6-12 months12+ months
RelevanceDirectly appliesSimilar contextKeyword match only
AuthorityApproved RFCs, official docsTeam wiki, proposalsRejected/abandoned work
QualityWell-reasoned, provenHas tradeoffsExperimental, hacky

Quality over quantity: 3-4 high-quality findings beat 10 weak ones.

Tool Selection

Research NeedGlean Tool
Find design docs, RFCs, architecturesearch
Find similar code implementationscode_search
Find code owners and stakeholderscode_search + employee_search
Find related/dependent systemscode_search
Read full document contentread_document

Workflow

Phase 1: Search for Design & Architecture

Find design documents, RFCs, and architectural decisions related to the task:

search "[task] architecture OR design doc"
search "[task] RFC OR proposal"
search "[task] pattern OR best practice"

Look for:

  • Existing design decisions that apply
  • Architectural patterns already in use
  • Why past decisions were made
  • Rejected approaches and lessons learned

Phase 2: Find Code Implementations & Patterns

Search for similar implementations across the codebase:

code_search "[task] implementation OR pattern"
code_search "[related systems] updated:past_month"

Look for:

  • How other teams solved similar problems
  • Existing code to learn from
  • Patterns already in use
  • Quality and maintenance level of examples

Phase 3: Identify Stakeholders & Owners

Find who's actively working on related systems:

code_search "[relevant systems] owner:* updated:past_month"
employee_search "[systems and names identified]"

Look for:

  • Active code owners and maintainers
  • People with recent commits in related areas
  • Team leads and architects
  • Documentation authors

Phase 4: Find Related Systems

Identify upstream and downstream dependencies:

code_search "[main system] calls OR depends OR imports"
code_search "[main system] updated:past_month"

Phase 5: Vet All Research

For each piece of research, apply the vetting criteria above. Reject stale, tangential, or low-quality content.

Phase 6: Generate Planning Context Report

Present vetted research findings organized by category:

markdown
# Planning Context: [Task]

## Design & Architecture
### Current Standards & Patterns
| Pattern | Description | Source | Updated |
|---------|-------------|--------|---------|
| [pattern] | [what it is and why] | [doc link] | [date] ✅ |

### Relevant Design Documents
| Document | Type | Key Takeaway | Updated |
|----------|------|--------------|---------|
| [Title] | RFC | [1-2 sentence summary] | [date] ✅ |

## Implementations & Patterns
### Recommended Examples
| Location | What It Does | Why It's Good | Status |
|----------|--------------|---------------|--------|
| [repo/path] | [brief description] | [Why recommend] | Active ✅ |

## Stakeholders & Ownership
### Active Owners
| Name | Role | Involvement | Contact |
|------|------|-------------|---------|
| [Name] | [Title] | [X] commits past month in [system] | [email] |

### Teams & Channels
- **Primary Team**: [team name]
- **Slack Channel**: [#channel] for questions

## Related Systems
- **Upstream** (depend on this): [systems]
- **Downstream** (this depends on): [systems]

## Key Insights
- [Important constraint or opportunity]
- [Proven pattern or anti-pattern]
- [Stakeholders who must be involved]

## Sources
| Document | Type | Relevance | Currency |
|----------|------|-----------|----------|
| [Title](URL) | RFC | [how it applies] | [date] ✅ |

If Limited Context Found

Don't pad with weak results:

markdown
# Planning Context: [Task]

## Limited Research Available

Found limited enterprise context for this task.

**What was searched:** Design docs, similar implementations, related systems
**Gaps:** No recent design docs, limited prior art

**Suggested next steps:**
1. Check with [suggested team] about prior attempts
2. Enter plan mode and design initial approach, then validate with stakeholders

Frequently asked questions

What does the Plan Prep AI skill do?

Research enterprise context before plan mode — surface design docs, similar implementations, stakeholders, and related systems before architecting or designing a feature.

Why use Plan Prep on TypingMind?

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

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/gleanwork/claude-plugins/tree/main/plugins/glean/skills/plan-prep. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Plan Prep?

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 Plan Prep?

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

Is the Plan Prep AI skill free?

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