spec.plan

spec.plan is a skill for Claude Code from renanlido/tia-harness. It costs 154 tokens per session (899 once invoked), scanned A, original, MIT.

A dry-run planner that turns a validated project specification into an ordered list of build operations. It shows what project scaffolding would be created without touching the project.

In plain words
What is it for?
Preview the operations for creating a Siemens TIA Portal project after validation and before scaffolding it.
Why use it?
It lets a developer inspect the planned steps and assumptions before anything is built. This catches invalid specifications or unexpected ordering early.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the tia-harness plugin — 8 skills, 4 agents, 1 hook shipped together

Good fit Preview the operations for creating a Siemens TIA Portal project after validation and before scaffolding it.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/renanlido/tia-harness/spec.plan
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.

Any agent
npx skills add renanlido/tia-harness --skill spec.plan
Clone the repo
git clone --depth 1 https://github.com/renanlido/tia-harness

Made for: Claude Code.

Or install tia-harness, the plugin that ships this one along with the rest of its 8 skills, 4 agents, 1 hook.

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.plan

README.md
[![agentmods](https://agentmods.dev/badge/skills/renanlido/tia-harness/spec.plan/github.svg)](https://agentmods.dev/skills/renanlido/tia-harness/spec.plan)
Your own site
<a href="https://agentmods.dev/skills/renanlido/tia-harness/spec.plan"><img src="https://agentmods.dev/badge/skills/renanlido/tia-harness/spec.plan/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.plan

Your own site · 80×15
<a href="https://agentmods.dev/skills/renanlido/tia-harness/spec.plan"><img src="https://agentmods.dev/badge/skills/renanlido/tia-harness/spec.plan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 154 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 899 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.00154 $0.00899
Opus 5 $0.00077 $0.00449
Sonnet 5 $0.00031 $0.00180
Haiku 4.5 $0.00015 $0.00090

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

Security

Grade A, and why

spec.plan 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 10d 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.

codex/skills/spec.plan/SKILL.md · 65 lines

How it starts

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

spec.plan — spec → ordered build plan (class R, dry, no mutation)

Transform a structured project-spec (the project-spec model, §13.2) into the ordered sequence of offline operations that tia.scaffold would execute — without touching the project. This is the bridge between spec.validate (is the spec legal?) and tia.scaffold (build it): it shows the plan so a human can review it first.

It is class R. Both tools it uses — tia_spec_validate and tia_spec_plan — are pure: they run deterministically on the spec text and never call the serve API or open TIA. So this never mutates and never crosses a gate.

When to use

  • After spec.validate is green and before tia.scaffold, to preview the build.
  • The user says "plan / preview / dry-run / what would this create".
  • To review ordering + assumptions (e.g. which CPU is the tag/block target) before committing.

Inputs

  • A project-spec object (JSON) — inline, a file path, or pasted text.
  • (Implicit) the bundled schema + rules used by tia_spec_validate.

Outputs

  • statusplan_ok or invalid (with the validation violations if invalid).
  • steps[] — the ordered operations, each { op, method, path, body, summary } (subnets → devices → modules → network → tag tables → tags → blocks → compile).
  • assumptions[] — e.g. "tag/block target CLP = the first role:cpu device".
  • warnings[] — non-blocking spec warnings.
  • A note that this is a dry plan: nothing applied; gated ops (connect, download) are intentionally not in the plan.

Procedure (in order)

  1. Validate first. Call tia_spec_validate (or run the spec.validate skill). If it reports any error, STOP and return the violations — do not plan an invalid spec.
  2. Plan. Call tia_spec_plan with the spec. It returns the ordered steps + assumptions + warnings. (It is pure — no serve.)
  3. Present for review. Show the steps in order with their summary, surface the assumptions explicitly (especially the target CLP), and list any warnings. State that tia.scaffold (with a project open) is what actually applies this, and that a bare CPU will need the protection recipe to compile clean (see tia.scaffold/RECIPES.md).

Read the full file on GitHub · 65 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. 10d ago First seen · 65 lines · 154 tokens per session scan A 44ea6d8d1bf6

Subscribe to this mod's changes

spec.plan is a skill published in the GitHub repository renanlido/tia-harness (5 stars, last pushed 1mo ago), licensed MIT. It adds 154 tokens to every session and 899 once invoked, about $0.0008 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-08-31.