specrew-local-build

specrew-local-build is a skill for Claude Code, Codex from alonf/specrew. It costs 42 tokens per session (1,456 once invoked), scanned A, original, MIT.

A procedure for installing and updating Specrew from local source in a real project. It explains that the installed Specrew module and the project using it are two separate parts that must be updated together.

In plain words
What is it for?
Use it to perform local Specrew builds, install them correctly, verify what is installed, and troubleshoot engine or source-version mismatches.
Why use it?
It avoids misleading results from using a release tool as an installer, copying files manually, or updating only one side of the setup. It helps diagnose mismatched versions and incomplete local builds.

Skill for Claude CodeCodex

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

Good fit Use it to perform local Specrew builds, install them correctly, verify what is installed, and troubleshoot engine or source-version mismatches.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alonf/specrew/specrew-local-build
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 alonf/specrew --skill specrew-local-build
Clone the repo
git clone --depth 1 https://github.com/alonf/specrew

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 specrew-local-build

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/alonf/specrew/specrew-local-build"><img src="https://agentmods.dev/badge/skills/alonf/specrew/specrew-local-build.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,456 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.00042 $0.01456
Opus 5.5 $0.00017 $0.00582
Sonnet 5.5 $0.00008 $0.00291
Haiku 4.5 $0.00004 $0.00146

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

Security

Grade A, and why

specrew-local-build 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 1mo 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/specrew-local-build/SKILL.md · 120 lines

How it starts

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

specrew-local-build

Type: Procedure Skill Schema: v1

Why this exists

Three separate sessions reached three wrong conclusions about this in one week, each reasonably:

  • One concluded there was no supported local install path, because invoke-module-release.ps1 deletes its stage in a finally. That is a release tool behaving correctly; it was never the install path. The wrong tool was picked up and its correct behaviour read as an absence.
  • One installed by hand-copying individual files into the module directory. The code became current and the build stamp did not, so the install reported a commit that did not describe its contents. It was caught only because someone diffed 82 files.
  • One updated a project from repo source and found every review refused with review-engine-version-mismatch, and concluded the local-source capability had been removed. It had not. Only half the handshake had been satisfied.

The through-line: there are two sides, and both have to move together.

The two sides

side what it is how it moves
module the installed Specrew (Get-Module -ListAvailable Specrew) scripts/internal/install-local-build.ps1
project the runtime bundle deployed into a governed project specrew update --project-path <project>

scripts/internal/review-engine-resolution.ps1 compares them and refuses every review when they disagree. That check is deliberate — it is what makes a review's provenance verifiable — and it is why moving only one side wedges the project.

The routes, and when each is right

1. Testing a build — the default

Use when running a manual walk, reproducing a defect, or handing a build to someone. Exercises what ships, from a committed tree.

pwsh -File scripts/internal/install-local-build.ps1          # package HEAD, install, verify
specrew update --project-path C:\Path\To\Project             # then the other side, per project

Read the full file on GitHub · 120 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. 1mo ago First seen · 120 lines · 42 tokens per session scan A 3f33324ef722

Subscribe to this mod's changes

specrew-local-build is a skill published in the GitHub repository alonf/specrew (54 stars, last pushed today), licensed MIT. It adds 42 tokens to every session and 1,456 once invoked, about $0.0002 per session on Opus 5.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-10-26.

Related

specrew-local-build compared with skills from other repositories

specrew-local-build next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
specrew-local-buildalonf/specrewSkill54todayMITA42Claude Code, Codex
systematic-debuggingopen-metadata/OpenMetadataSkill16ktodayApache-2.0A37Claude Code
log-error-digestzebbern/claude-code-guideSkill4.7ktodayMITA71Claude Code, Codex
observability-audit-sessionsIBM/mcp-context-forgeSkill4.9ktodayApache-2.0A64Claude Code, Codex
cwv-optimizeradobe/skillsSkill342todayApache-2.0A112Claude Code
ci-fixersipyourdrink-ltd/bernsteinSkill1.2ktodayApache-2.0A15Claude Code, Codex
verus-query-timinglbx154/ArgusSkill337todayMITA28Claude Code, Codex