# Mt spec

> Mt spec is an open-source agent skill for developer tools. Turns discovery notes into a testable spec with acceptance criteria before coding. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/switch-dimension/molten-loop/tree/main/skills/mt-spec
- **Repository:** https://github.com/switch-dimension/molten-loop
- **GitHub stars:** 74
- **License:** MIT
- **Skill name:** mt-spec
- **Collection:** https://github.com/switch-dimension/molten-loop
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

This skill guides an agent through writing a feature specification before any implementation begins. It takes discovery notes and an optional prototype as inputs, lists assumptions for the user to confirm, and drafts a structured document covering goals, non-goals, user stories, functional requirements, Given/When/Then acceptance criteria with IDs, data shape, edge cases and testing approach.

The workflow asks the agent to rewrite vague requirements into observable criteria, keep open questions visible rather than guessing, and carry forward decisions from earlier prototype or mockup steps. It also sets explicit boundaries of what is always, ask-first and never allowed, and it does not write application code while active.

The skill is part of the Molten Loop development sequence and writes its output to a molten-docs/loop folder, with the next step handled by a separate task-breakdown skill. It is intended for interactive use and includes an automated mode that records assumptions instead of asking.

## When your agent uses it

> Molten Loop — Agent Development Loop step 2. Turns discovery (and any prototype) into a testable spec: acceptance criteria, data shape, edge cases and non-goals. Writes `molten-docs/loop/<slug>/03-spec.md`. Use for a spec, PRD, requirements or acceptance criteria. Not for task breakdown (use mt-plan).

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/switch-dimension/molten-loop/tree/HEAD/skills/mt-spec)
- [License: MIT](https://github.com/switch-dimension/molten-loop/tree/HEAD/skills/mt-spec)

## Features

- **Testable acceptance criteria:** Turns requirements into numbered Given/When/Then criteria that plans and verification can reference.
- **Assumption listing:** Surfaces assumptions about stack, scope, users and data for the user to confirm early.
- **Structured spec template:** Provides a fixed document layout covering goals, non-goals, data shape, edge cases and testing.
- **Explicit boundaries:** Records what the agent may always do, must ask about first, and must never do.
- **Open question tracking:** Keeps unresolved questions visible in the document instead of resolving them with guesses.
- **Prototype carry-forward:** Brings prototype and mockup decisions into the spec and flags any contradictions.

## Good for

- Write a spec for a new feature from discovery notes
- Turn a vague feature idea into testable acceptance criteria
- Draft a PRD with requirements and non-goals
- Document edge cases and error states before implementation
- List assumptions to confirm before building

## Install

### Claude Code

This skill ships in the `molten-loop` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add switch-dimension/molten-loop
/plugin install molten-loop@molten-loop
```

Or copy only this skill to `~/.claude/skills/mt-spec`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/switch-dimension/molten-loop.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/mt-spec &&
cp -R "$tmp/skills/mt-spec" ~/.claude/skills/mt-spec &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/mt-spec` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/mt-spec` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/switch-dimension/molten-loop.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/mt-spec &&
cp -R "$tmp/skills/mt-spec" ~/.agents/skills/mt-spec &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/mt-spec` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/mt-spec` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/switch-dimension/molten-loop.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/mt-spec &&
cp -R "$tmp/skills/mt-spec" ~/.cursor/skills/mt-spec &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/mt-spec` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/switch-dimension/molten-loop.git --path skills/mt-spec
```

Or copy the folder to `~/.gemini/skills/mt-spec` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/mt-spec`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/switch-dimension/molten-loop.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/mt-spec &&
cp -R "$tmp/skills/mt-spec" ~/.copilot/skills/mt-spec &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/mt-spec` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/switch-dimension/molten-loop.git
```

Then copy `molten-loop/skills/mt-spec` into your agent's skills folder as `mt-spec`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Mt spec need to run?

It reads a discovery file at molten-docs/loop/<slug>/01-discovery.md and an optional prototype file. If neither exists, it gathers the essentials directly or suggests running the discovery skill first.

### What does Mt spec write?

It writes a spec to molten-docs/loop/<slug>/03-spec.md and creates the folder if needed. It does not write application code while active.

### When does Mt spec trigger?

It is meant for requests about a spec, PRD, requirements or acceptance criteria. It is not for task breakdown, which the plan skill handles.

### Which clients does Mt spec support?

The content does not tie it to specific clients beyond being a Claude Code plugin marketplace entry, so it is listed for the shared agent skills format.

### How do I install Mt spec in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/mt-spec to use it in all your projects, or to .claude/skills/mt-spec in one project. Or install the molten-loop plugin, which includes it: /plugin marketplace add switch-dimension/molten-loop, then /plugin install molten-loop@molten-loop.

### Does Mt spec run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Mt spec?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Mt spec?

The closest alternatives to Mt spec are Spec, Requirements to spec, Spec coding, Create specification and Test.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Spec](https://ai-powered.com/skills/spec-jasgujral): Spec is an open-source agent skill for developer tools.
- [Requirements to spec](https://ai-powered.com/skills/requirements-to-spec): Requirements to spec is an open-source agent skill for productivity.
- [Spec coding](https://ai-powered.com/skills/spec-coding): Spec coding is an open-source agent skill for developer tools.
- [Create specification](https://ai-powered.com/skills/create-specification): Create specification is an open-source agent skill for developer tools.
- [Test](https://ai-powered.com/skills/test): Test is an open-source agent skill for developer tools.
- [Mt prototype](https://ai-powered.com/skills/mt-prototype): Mt prototype is an open-source agent skill for developer tools.
- [Mt plan](https://ai-powered.com/skills/mt-plan): Mt plan is an open-source agent skill for developer tools.
- [Update specification](https://ai-powered.com/skills/update-specification): Update specification is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/mt-spec
