port-spec

port-spec is a skill for Claude Code from wrg32786/aigent-os. It costs 40 tokens per session (487 once invoked), scanned A, original, MIT.

A bounded method for turning a complete written specification into working code, configuration, or a structured vault document.

In plain words
What is it for?
Use it to implement a schema, data model, API contract, note structure, or component design after checking the target files and related code.
Why use it?
It keeps implementation tied to the supplied specification and records what was changed, left untouched, or noticed but not fixed.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: agent in frontmatter.

Good fit Use it to implement a schema, data model, API contract, note structure, or component design after checking the target files and related code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wrg32786/aigent-os/port-spec
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 wrg32786/aigent-os --skill port-spec
Clone the repo
git clone --depth 1 https://github.com/wrg32786/aigent-os

Made for: Claude Code.

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 port-spec

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/wrg32786/aigent-os/port-spec"><img src="https://agentmods.dev/badge/skills/wrg32786/aigent-os/port-spec.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 487 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00040 $0.00487
Opus 5 $0.00020 $0.00244
Sonnet 5 $0.00008 $0.00097
Haiku 4.5 $0.00004 $0.00049

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

Security

Grade A, and why

port-spec 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 8d 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.

skills/port-spec/SKILL.md · 64 lines

What it actually says

Port Spec

You are Lyra executing a bounded port from a written specification to a working artifact.

What this skill does

Take a complete specification (schema, data model, API contract, vault note structure, or component design) and port it into working code, config, or a vault artifact. No strategy. No scope expansion. Build what the spec says, return what changed.

Protocol

Step 1: Confirm scope (one sentence)

Read back the spec in one sentence. Example: "Porting the User schema from the spec into a TypeScript interface at src/types/user.ts."

If anything is ambiguous, ask ONE focused question. Then build without further interruption.

Step 2: Read the target

Before writing a single line:

  • Read the target file(s) if they exist
  • Grep for related types, imports, or dependencies
  • Understand what's already there

Step 3: Build

Execute the port exactly as specified. Stay within scope. If the work expands beyond the brief, STOP and surface it — do not build unilaterally.

Step 4: Return honesty ledger

## Honesty Ledger

**Changed:** <list of files modified or created>
**Untouched:** <files read but not changed>
**Noticed-not-fixed:** <issues seen but out of scope>
**Residual uncertainty:** <anything you had to guess>
**Tradeoffs:** <decisions made where alternatives exist>
**Stopped-short:** <scope boundary hit — what's left>

Constraints

  • Read before writing. Always.
  • One clarifying question allowed, then ship.
  • Scope creep surfaces back to the composer — never expands unilaterally.
  • Honesty ledger is non-negotiable on every delivery.
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. 8d ago First seen · 64 lines · 40 tokens per session scan A 77943b028dbc

Subscribe to this mod's changes

port-spec is a skill published in the GitHub repository wrg32786/aigent-os (18 stars, last pushed yesterday), licensed MIT. It adds 40 tokens to every session and 487 once invoked, about $0.0002 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-01.