specsmith: Skill for Claude Code

.agents/skills/windsurf-integration/SKILL.md

windsurf-integration is a skill for Claude Code, Codex from layer1labs/specsmith. It costs 0 tokens per session (245 once invoked), scanned A, original, MIT.

A Specsmith governance procedure for using the Windsurf coding environment. It defines setup steps and checks to run during each coding session.

In plain words
What is it for?
It helps configure Windsurf, run audits and checkpoints, perform a preflight check before edits, and save and close sessions safely.
Why use it?
It adds a consistent review trail and approval checkpoints before code changes, while keeping session state synchronized.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

This is layer1labs/specsmith's own configuration. It tells Claude Code and Codex how to work on specsmith itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything specsmith configures →

Reuse

Borrowing it

Nothing to install: this file belongs to layer1labs/specsmith. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/layer1labs/specsmith/main/.agents/skills/windsurf-integration/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/layer1labs/specsmith

Made for: Claude Code, Codex.

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 windsurf-integration

README.md
[![agentmods](https://agentmods.dev/badge/skills/layer1labs/specsmith/windsurf-integration/github.svg)](https://agentmods.dev/skills/layer1labs/specsmith/windsurf-integration)
Your own site
<a href="https://agentmods.dev/skills/layer1labs/specsmith/windsurf-integration"><img src="https://agentmods.dev/badge/skills/layer1labs/specsmith/windsurf-integration/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 windsurf-integration

Your own site · 80×15
<a href="https://agentmods.dev/skills/layer1labs/specsmith/windsurf-integration"><img src="https://agentmods.dev/badge/skills/layer1labs/specsmith/windsurf-integration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 245 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.00000 $0.00245
Opus 5.5 $0.00000 $0.00098
Sonnet 5.5 $0.00000 $0.00049
Haiku 4.5 $0.00000 $0.00024

Measured 2mo ago against content hash 5f5e0c787679, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

windsurf-integration 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 2mo 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.

.agents/skills/windsurf-integration/SKILL.md · 35 lines

What it actually says

Windsurf — specsmith Governance Integration

One-time setup

specsmith integrate windsurf   # generates .windsurfrules

For MCP in Windsurf (Settings → MCP Servers):

{
  "specsmith-governance": {
    "command": "specsmith",
    "args": ["mcp", "serve"]
  }
}

Every Windsurf session — mandatory protocol

  1. Run at session start:
specsmith kill-session  # idempotent; safe when no processes exist
specsmith audit --project-dir .
specsmith sync  --project-dir .
specsmith checkpoint --project-dir .
  1. Output checkpoint block verbatim.
  2. Before every code change: specsmith preflight "<intent>" --json
  3. Every 8–10 turns: specsmith checkpoint (output verbatim)
  4. Session end: specsmith save && specsmith kill-session

Key files

  • .windsurfrules — Windsurf global rules file
  • AGENTS.md — universal governance hub
  • .agents/skills/ — skill directory (Cascade agent reads these)
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. 2mo ago First seen · 35 lines · 0 tokens per session scan A 5f5e0c787679

Subscribe to this mod's changes

windsurf-integration is a skill published in the GitHub repository layer1labs/specsmith (8 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 245 tokens. 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.

Related

Other skills, from other repositories

arch-audit

Audit Claude Code architecture files against Anthropic docs and release notes, and verify internal ecosystem consistency. Run on demand to maintain compliance, catch new features, and keep the context system clean.

marcoguillermaz/Tierward · 41 tokens

pr-review

Autonomous local code review. Reviews either an open PR's diff (via gh) or the local working diff against a base branch (--local, auto-selected when no PR exists yet), spawns a dedicated review subagent with universal + stack-specific severity criteria, posts the review as a comment on the PR (audit trail; skipped in…

marcoguillermaz/Tierward · 0 tokens

security-audit

Security audit: auth/authz on API routes, input validation, row-level access control (RLS in Postgres, ORM scopes or app-level guards elsewhere), response shape review, secret exposure, HTTP headers. Native mode checks entitlements and Keychain. MCP-aware (v1.20+): when mcp-nvd server is wired, Step 3c queries live…

marcoguillermaz/Tierward · 0 tokens

skill-dev

Code quality audit: detect cross-module coupling, N+1 queries, dead exports, antipatterns, over-large components. Cross-checks against refactoring backlog.

marcoguillermaz/Tierward · 0 tokens

accessibility-audit

Unified accessibility audit - axe-core WCAG 2.2 scan, APCA contrast measurement, static a11y checks (aria-label, tabindex, form labels, focus visibility, onClick on non-interactive). Static and live modes.

marcoguillermaz/Tierward · 0 tokens

responsive-audit

Responsive audit: test pages at 375/768/1024px breakpoints via Playwright. Checks overflow, tap targets, sidebar collapse, text reflow, WCAG 1.4.4 zoom.

marcoguillermaz/Tierward · 0 tokens