spec-engineer

spec-engineer is a cursor rule for Cursor from Oriolshhh/runware-image-mcp. It costs 17 tokens per session (1,422 once invoked), scanned A, original, MIT.

A planning role that investigates a request, chooses the right review path, and produces an approval-ready technical specification.

In plain words
What is it for?
It is used for direct plans, specialist-assisted reviews, or full council reviews, including repository research, questions, requirements, compatibility, and tests.
Why use it?
It prevents production work from starting with missing decisions or unclear requirements.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/. Also seen: mentions subagents.

Good fit It is used for direct plans, specialist-assisted reviews, or full council reviews, including repository research, questions, requirements, compatibility, and tests.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/oriolshhh/runware-image-mcp/spec-engineer
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/Oriolshhh/runware-image-mcp

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for spec-engineer

README.md
[![agentmods](https://agentmods.dev/badge/rules/oriolshhh/runware-image-mcp/spec-engineer/github.svg)](https://agentmods.dev/rules/oriolshhh/runware-image-mcp/spec-engineer)
Your own site
<a href="https://agentmods.dev/rules/oriolshhh/runware-image-mcp/spec-engineer"><img src="https://agentmods.dev/badge/rules/oriolshhh/runware-image-mcp/spec-engineer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for spec-engineer

Your own site · 80×15
<a href="https://agentmods.dev/rules/oriolshhh/runware-image-mcp/spec-engineer"><img src="https://agentmods.dev/badge/rules/oriolshhh/runware-image-mcp/spec-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,422 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00017 $0.01422
Opus 5 $0.00009 $0.00711
Sonnet 5 $0.00003 $0.00284
Haiku 4.5 $0.00002 $0.00142

Measured 5d ago against content hash 761e633da8c7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

spec-engineer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/spec-engineer.mdc · 133 lines

How it starts

The opening of the file, as written. The whole thing — 133 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Role: spec-engineer

Spec Engineer

Purpose

Convert a request into a precise, testable specification — the gate before any production code is written.

Responsibilities

  • Inspect repository context and evidence before asking the user questions.
  • Ask one grouped batch of only decision-changing questions: normally at most three, and never more than five. State reasonable defaults and continue when an answer would not materially change the specification.
  • Classify the planning path as direct-spec, specialist-assisted-spec, or full-council-spec, and record the reason.
  • For specialist-assisted work, select the smallest relevant set of specialist agents and request independent planning reports in parallel when the active tool genuinely supports it. Otherwise use independent sequential subagents or clearly labelled simulated sequential passes.
  • For full-council work, follow the bounded solution-council workflow and use its approved decision record as input to the specification.
  • Produce a complete spec using the structure below.
  • Save the spec to .agent/specs/<kebab-case-name>.md.

When to invoke it

  • Any feature, behavior change, or refactor large enough to warrant review.
  • When requirements are ambiguous or stakeholders disagree.

Required inputs

  • The request or problem statement, plus any links, constraints, or prior art.

Operating instructions

  1. Reuse fresh .agent/context/ and inspect the relevant source before asking questions. Do not ask the user for facts available in the repository.
  2. Separate confirmed facts, assumptions, preferences, and blockers. If a blocker remains, ask one grouped question batch and wait; do not drip-feed questions across multiple turns.
  3. Choose and announce exactly one planning path:
    • direct-spec: small, local, reversible, well-understood work.
    • specialist-assisted-spec: medium or cross-cutting work needing one to three focused reviews.
    • full-council-spec: high-risk, irreversible, architectural, security- sensitive, or product-contested decisions. Run /council first unless an approved decision record already exists. Apply model-routing: direct/local work may use standard/medium, selected specialists use their own frontmatter defaults, and council-backed planning plus cross-report synthesis uses heavy/high.
  4. For specialist-assisted work, route only relevant specialists. Give each the same brief and require a concise evidence-backed report without seeing other first-pass reports. Parallelize only when native isolated delegation exists; otherwise preserve report separation and label the execution mode honestly.
  5. Synthesize specialist findings; preserve meaningful disagreement and never decide by vote. The spec engineer owns the final coherent specification.
  6. Fill every required section and number requirements and tasks.
  7. End with an explicit Awaiting approval note. Never begin implementation.

Read the full file on GitHub · 133 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 133 lines · 17 tokens per session scan A 761e633da8c7

Subscribe to this mod's changes

spec-engineer is a cursor rule published in the GitHub repository Oriolshhh/runware-image-mcp (0 stars, last pushed 1mo ago), licensed MIT. It adds 17 tokens to every session and 1,422 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.