Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By kklemonv0.1.4MITIn 1 marketplace
Interviews you one question at a time about gaps in a project specification prompt, then weaves your answers back in without rewording it. The TUI needs Python 3.12+ on macOS or Linux and a model API key or Codex login; the skill needs no configuration.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Fills the gaps in your project specification prompts: as an interactive TUI, or as a skill inside Claude Code, Codex, and other coding agents.
You paste a long project specification prompt that you intend to hand to a coding agent, or load it from a file. An LLM agent researches the topic with model-native web search and finds the aspects that are underspecified enough that the coding agent would have to guess. It then interviews you about them in plan-mode style: one question at a time, with concrete arrow-key options, multi-select where it makes sense, a free-text "Other" option, and skipping. Questions come in adaptive rounds and match the language of your prompt. The interview continues until the specification is complete, or until you press Finish now.
The result is your original prompt with the newly acquired information woven in, faithfully preserving your style and structure. If an answer contradicts the original prompt, the latest answer wins. Decisions you left unresolved stay exactly as ambiguous as you wrote them; nothing is invented.
Plan modes, as implemented in common coding agent CLIs, are less thorough and don't explicitly look for gaps in your specification. They produce a plan for the task at hand, but that plan can hardly be used to define the original project specification, which can serve as a valuable documentation artifact on its own. specfill borrows the question UX from plan mode, but its output is the specification itself: complete, in your own words, and reusable.
Requires Python ≥ 3.12 on macOS or Linux. Install as a uv tool:
uv tool install specfill # from a checkout: uv tool install .
On first launch, a configuration wizard collects your provider preset
(OpenAI API, OpenAI subscription, OpenAI-compatible, Anthropic,
or Google), model identifier, reasoning effort, API key, and an optional
custom base URL. The
OpenAI subscription option reuses a Codex login from ~/.codex/auth.json; run
codex login first. Other API keys are stored in the system keyring. If no
keyring backend is available, they fall back to the config file (chmod 600).
Prefer to stay inside your coding agent? Install the agent skill instead; it needs no configuration.
specfill # paste your prompt into the editor
specfill my-prompt.md # or prefill it from a file
Flow:
Ctrl+S to analyze
it. The agent researches with web search before asking questions, and the
progress is shown live. If your model has no native search, or search fails
during a session, specfill warns and continues without it.Enter or Space to
select, or type into Other / details… for a free-text answer.
Ctrl+N answers, Ctrl+K skips, Ctrl+F finishes early.c to copy it to
the clipboard (with confirmation), r to regenerate it from the same
answers, and p to quit and print the revised prompt, and only that,
to stdout.Skipped questions are treated as "implementer's discretion" and are never asked again.
specfill also ships as an Agent Skill for Claude Code, Codex, and other coding agents. The skill runs the same interview inside the agent you already use, with that agent's model, web search, and multiple-choice question UI, so it needs no API key or configuration. It also reads the codebase your prompt refers to instead of asking you about it.
Install it in Claude Code:
/plugin marketplace add kklemon/specfill
/plugin install specfill@specfill
On Claude Code 2.1.275 or later,
/plugin install specfill --marketplace kklemon/specfill does both in one step.
In Codex:
codex plugin marketplace add kklemon/specfill
codex plugin add specfill@specfill
In Cursor, Gemini CLI, GitHub Copilot, OpenCode, and many other agents, use the skills CLI, which also covers Claude Code and Codex:
npx skills add kklemon/specfill
Then point it at your prompt:
/specfill my-prompt.md # Claude Code (full name: /specfill:specfill)
$specfill my-prompt.md # Codex
use specfill to refine my-prompt.md # any agent
Anything you add after the file, such as "challenge me on UI/UX decisions", acts as custom instructions. Agents also pick the skill on their own when you ask them to refine or complete a project prompt.
How the skill differs from the TUI:
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub kklemon/specfill --plugin specfillPlugins from other owners that cover similar ground