loop-spec-to-implementation

loop-spec-to-implementation is a command for Cursor from Oriolshhh/runware-image-mcp. It costs 0 tokens per session (372 once invoked), scanned A, a copy of loop-context-compression, MIT.

A guided workflow for turning a request into an approved technical plan, then implementing and checking that plan.

In plain words
What is it for?
Use it to inspect context, ask focused questions, save a dependency-aware specification, wait for approval, implement it, and run verification checks.
Why use it?
It prevents coding from starting before the requirements, dependencies, and acceptance checks are clear.

Command for Cursor

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.

agentmods
npx agentmods add commands/oriolshhh/runware-image-mcp/loop-spec-to-implementation
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 loop-spec-to-implementation

README.md
[![agentmods](https://agentmods.dev/badge/commands/oriolshhh/runware-image-mcp/loop-spec-to-implementation.svg)](https://agentmods.dev/commands/oriolshhh/runware-image-mcp/loop-spec-to-implementation)
Your own site
<a href="https://agentmods.dev/commands/oriolshhh/runware-image-mcp/loop-spec-to-implementation"><img src="https://agentmods.dev/badge/commands/oriolshhh/runware-image-mcp/loop-spec-to-implementation.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 372 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 80% copy Near-identical to another mod 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.00000 $0.00372
Opus 5 $0.00000 $0.00186
Sonnet 5 $0.00000 $0.00074
Haiku 4.5 $0.00000 $0.00037

Measured yesterday against content hash 50d759539a45, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

loop-spec-to-implementation 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 yesterday.

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.

Origin

This is a copy

80% identical to loop-context-compression — 35 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.cursor/commands/loop-spec-to-implementation.md · 37 lines

What it actually says

/loop-spec-to-implementation — Adaptive spec planning, approve, implement, verify gates.

Follow this ordered workflow. Respect every human-approval gate and stop when instructed.

name: spec-to-implementation
description: Turn a request into an approved spec, then implement it with passing gates.
max_iterations: 3
steps:
  - name: spec
    command: /spec
    instruction: >-
      Inspect context, ask one minimal blocker batch, choose direct,
      specialist-assisted, or full-council planning, gather selected planning
      reviews when useful, and save a dependency-aware spec under .agent/specs/.
  - name: approve
    instruction: Wait for explicit human approval of the spec before coding.
    gate: human-approval
  - name: implement
    command: /implement
    instruction: >-
      Implement the approved spec with the smallest reasonable diff. Route
      user-facing rendered UI tasks to frontend-implementer with design-system,
      UI-state, responsive, accessibility, and frontend guideline skills;
      require visual-qa-tester browser validation afterward. Apply
      code-quality-guidelines for all implementation and architecture/backend/
      frontend guideline skills by surface. Load motion only when changed and
      return unresolved material direction to frontend-design before coding.
  - name: verify
    instruction: Run the configured gates and make them pass.
    gate: gates/default.yml

Apply context-discovery before broad scanning: use a supplied context capsule first; otherwise check context frontmatter freshness, read .agent/context/routing.md, load only relevant summaries, and verify critical claims against source.

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. yesterday First seen · 37 lines · 0 tokens per session scan A 50d759539a45

Subscribe to this mod's changes

loop-spec-to-implementation is a command published in the GitHub repository Oriolshhh/runware-image-mcp (0 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 372 tokens. A static security scan graded it A with 0 findings. It is 80% identical to loop-context-compression, differing in 35 lines, and is treated as a copy.