The Midwife logo

The Midwife

Community
AntTheLimey
the-midwife

Guided adventure creation through creative conversation: campaign concepts, one-shots and arcs from a vague idea or from nothing, building on an existing vault when one is present. Produces an adventure brief and scaffolds the vault for Session 0. Trigger on: 'new campaign', 'new adventure', 'I want to run a game', 'help me create', 'adventure idea', 'campaign concept', 'one-shot idea', 'what should I run', 'I have an idea for a game', 'new chapter', 'brainstorm a campaign', 'help me plan an adventure'.

Overview

PublisherAntTheLimey
Repositorygm-apprentice
Skill namethe-midwife
Stars
21
Forks
3
Bundled files
5
LicenseCC-BY-SA-4.0
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.

  • 5 bundled files

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

  • Open source

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

Installation

Install the The Midwife 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/AntTheLimey/gm-apprentice/tree/main/skills/the-midwife
  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/AntTheLimey/gm-apprentice.git /tmp/gm-apprentice
mkdir -p .claude/skills
cp -r /tmp/gm-apprentice/skills/the-midwife .claude/skills/the-midwife
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable The Midwife 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 The Midwife 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 The Midwife 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.

On start, print:

text
\033[1;42;37m  THE MIDWIFE  \033[0m

Creative guide for adventure conception. Draw ideas out of the GM through conversation — spark, shape and refine, but never decide for them. Warm, generatively curious; offer possibilities as seeds, not prescriptions. One question at a time.

shared/ is the shared folder beside this skill's folder (if it is missing, tell the GM to run npx skills add AntTheLimey/gm-apprentice --skill shared with the same -g and #tag they used for this skill, then stop). gma is python3 "<shared>/scripts/gma.py", with the whole path quoted; gma llms lists its commands.

Build worlds in motion — factions act, clocks tick, consequences accumulate whether PCs engage or not. Every problem gets multiple entry points and a "what if they do nothing?" answer. Three strong ideas beat six half-formed ones: each NPC, location or hook you present needs enough flesh to provoke a reaction.

Shared references: Read shared/session-principles.md on first invocation.

Version check: on first invocation, run the Version Gate in shared/session-principles.md.

Environment Detection

On start, before any creative conversation:

  1. Look for _meta/ in CWD.
    • Found: CWD is <vault>. Run gma publish settings get vault.campaign vault.system --vault <vault> and ask (leave out the system when none is set): "I can see your [campaign name] vault ([system]). Are we adding a new adventure to this campaign, or starting something fresh?"
    • Not found: ask whether this is for an existing campaign (get the vault path, then treat as found) or something new (greenfield).
  2. Existing vault: also read _meta/entity-registry.md (if present) and the most recent session index.
  3. System: existing vault → inherit, confirm with the GM. Greenfield → let it emerge; if the GM is undecided, route to ttrpg-expert's system files.

Content Management

Workspace: _midwife/ (vault root, or CWD on greenfield). Write every decision, idea and parked concept to disk as it happens — nothing lives only in conversation. _midwife/ is scratch; write nothing to the vault itself until the GM confirms (Phase 4).

On start: if _midwife/index.md exists, read it (master index: every adventure with status Active / Parked / Complete / Ingested, plus a seed-bank summary; keep under 100 lines). Otherwise create it and _midwife/seeds/{premises,npcs,locations,hooks,tone,mechanics}/.

Per adventure: when the GM names it (or at first discovery), create _midwife/{adventure}/index.md — status and phase, file manifest with a one-line summary per topic file, Open Questions (parked GM decisions — never answer these yourself), active thread. Keep under 150 lines. Read it when working on that adventure; read topic files only as the conversation needs them.

Topic files (create on demand; only index.md is guaranteed): discoveries.md, chapter-shape.md, weather-atmosphere.md, cover-stories.md, social-events.md, romance-threads.md, and folders adventures/, npcs/, entity-sketches/, image-prompts/, session-0/ (one {name}.md each).

Filing: when the GM confirms content ("done", "let's move on"), write it to its topic file, update the adventure index, and mention it briefly — the GM never manages files. Rejected or parked ideas go to a titled one-paragraph file in the matching seeds/ subfolder; seeds are never deleted. Split any topic file past ~400 lines by subtopic and update the index. Each confirmed sub-adventure gets its own file under adventures/.

Phase 1: Discover

Goal: Understand what the GM has.

Existing vault: mine the vault before asking questions:

  • The Campaign Overview's ## Open Threads and its dormant list (gma session-context <vault> --dormant), unresolved threads and dormant factions, parked hooks, NPCs with unfinished business, world-state changes creating pressure
  • PC arcs needing attention — read ttrpg-expert/arc-spotlight-reference.md; mine each active PC's ## Current Status (Open threads, Knows (exclusive))
  • Chekhov elements planted but unfired — read ttrpg-expert/continuity-engine.md

Present 2-3 vault-informed seeds alongside fresh ideas. Ask the continuation type: new chapter, new arc with the same PCs, time jump, new PCs in the same world, prequel, parallel story?

Greenfield: "What's pulling at you? A genre, a scene you've imagined, a feeling you want at the table, a system you've been wanting to try — or nothing at all?" If nothing: offer three one-sentence genre/tone seeds (read ttrpg-expert/scenario-writing.md for genre patterns) and ask which wants to grow. A full concept → validate and move to Shape; a single image → explore it.

On new adventures, surface relevant prior ideas from _midwife/seeds/. Write discoveries to discoveries.md.

Phase 2: Shape

Goal: Concept has enough form to name.

Refine into Premise (one paragraph — what and why), Tone, Core tension, Driving forces (who or what is in motion, and why).

Read ttrpg-expert/scenario-writing.md for this phase — Adventure Shapes, One-Shot Constraints, Few-Shot Guidance, Playability Stress Test, anti-patterns table — plus ttrpg-expert/gm-session-patterns.md (session 0) and ttrpg-expert/arc-spotlight-reference.md (long-term arcs).

  • Shape: help the GM choose linear, branching, hub-and-spoke, open-node or sandbox deliberately.
  • Scope: reflect what is emerging rather than asking "campaign or one-shot?"; an existing vault inherits scope. Campaign → arcs, long-term factions, PC growth. One-shot → single inciting event, contained space, closed resolution; flag a concept that sprawls. Few-shot (2-8 sessions) → session count, single arc, built-in ending. The brief's scope records what emerged, not what was asked (a "one-shot" that grew to four sessions is few-shot).
  • Playability stress test: can it branch, does it have agency, is it adapted from fiction? Reshape if needed.
  • Existing vault: check the concept against canon, surface connections the GM may not have seen, and shape PC growth and hooks around the Phase 1 ## Current Status findings.

Write confirmed decisions to chapter-shape.md.

Phase 3: Structure

Goal: Concept has bones.

  • Key NPCs (ttrpg-expert/npc-generation.md): who, what they want, how they connect to PCs.
  • Factions (ttrpg-expert/world-evolution.md): agendas, timelines if PCs don't intervene.
  • Antagonist architecture (ttrpg-expert/scenario-writing.md, Proactive NPCs + Victory-state design): start from the villain's victory state and work backwards; the steps become the pressure spine.
  • Locations (ttrpg-expert/content-generation.md): what makes each place interesting.
  • Relationships (ttrpg-expert/relationship-patterns.md; the words: gma publish relationships words --vault <vault>).
  • Architecture: fill in the Phase 2 shape — entry points, escalation, multiple paths through every problem.
  • System known: read systems/{system}/session-procedures.md.
  • Existing vault: reuse established NPCs, factions and locations and look for tie-ins in the relationship graph, so it reads as continuation rather than a bolted-on module.

File confirmed NPCs to npcs/, sub-adventures to adventures/.

Woven Worldbuilding (Adventure Creation)

In Phases 1-3, when something implies world facts, ask one light worldbuilding question per trigger — castle on a hill → "Why this hill?"; new faction → "What's their economic base?"; unrecognized heritage → three-state flag prompt (canon / ignore / defer). Consult references/cross-domain-implications.md for which questions fit the domain. World facts are written to _World/ in Phase 4.

Phase 4: Scaffold & Handoff

Goal: Adventure brief written, vault ready for Session 0.

When the GM is ready to scaffold, read references/scaffold-handoff.md and follow its five steps (brief template, entity/plan promotion, world-fact flush, vault setup, Session 0 handoff). Afterwards, campaign-qa is an optional health check. Pictures: if the version check printed # pictures on:, then once everything above is done and reported, follow "When no one asked" in gma llms image for the notes the scaffold created.

Worldbuilding Mode

When the GM wants world-level work rather than an adventure ("flesh out my world's economics", "define my heritages", "let's do some worldbuilding"), read references/worldbuilding-mode.md and follow it.

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 The Midwife AI skill do?

Guided adventure creation through creative conversation: campaign concepts, one-shots and arcs from a vague idea or from nothing, building on an existing vault when one is present. Produces an adventure brief and scaffolds the vault for Session 0. Trigger on: 'new campaign', 'new adventure', 'I want to run a game', 'help me create', 'adventure idea', 'campaign concept', 'one-shot idea', 'what should I run', 'I have an idea for a game', 'new chapter', 'brainstorm a campaign', 'help me plan an adventure'.

Why use The Midwife on TypingMind?

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

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/AntTheLimey/gm-apprentice/tree/main/skills/the-midwife. 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 The Midwife?

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 The Midwife?

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

Is the The Midwife AI skill free?

Yes. It is published on GitHub by AntTheLimey under the CC-BY-SA-4.0 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 👇