enable-dev

enable-dev is a command for Claude Code from punt-labs/z-spec. It costs 7 tokens per session (454 once invoked), scanned A, original, MIT.

A repository command that turns z-spec on for the current project. It installs the project's z-spec guide, adds an import line, and creates a marker that enables its tools.

In plain words
What is it for?
Use it to enable z-spec in a repository, refresh its guide and marker, and prepare the changes for committing.
Why use it?
It makes formal Z-specification tools available only in repositories that have explicitly opted in, and lets that choice travel with the project.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md.

Part of the z-spec-dev plugin — 42 commands, 1 hook shipped together

Good fit Use it to enable z-spec in a repository, refresh its guide and marker, and prepare the changes for committing.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/punt-labs/z-spec/enable-dev
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.

Clone the repo
git clone --depth 1 https://github.com/punt-labs/z-spec

Made for: Claude Code.

Or install z-spec-dev, the plugin that ships this one along with the rest of its 42 commands, 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 enable-dev

README.md
[![agentmods](https://agentmods.dev/badge/commands/punt-labs/z-spec/enable-dev/github.svg)](https://agentmods.dev/commands/punt-labs/z-spec/enable-dev)
Your own site
<a href="https://agentmods.dev/commands/punt-labs/z-spec/enable-dev"><img src="https://agentmods.dev/badge/commands/punt-labs/z-spec/enable-dev/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 enable-dev

Your own site · 80×15
<a href="https://agentmods.dev/commands/punt-labs/z-spec/enable-dev"><img src="https://agentmods.dev/badge/commands/punt-labs/z-spec/enable-dev.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 7 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 454 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.00007 $0.00454
Opus 5.5 $0.00003 $0.00182
Sonnet 5.5 $0.00001 $0.00091
Haiku 4.5 $0.00001 $0.00045

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

Security

Grade A, and why

enable-dev 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • enable — 91% identical, 6 lines differ
plugin/commands/enable-dev.md · 50 lines

What it actually says

Enable z-spec here

z-spec is per-repo. Its MCP tools and its lux menu entries are live only where someone ran enable and committed .punt-labs/z-spec/enabled. Run this once per repository that does formal Z work.

Process

Call mcp__plugin_z-spec-dev_zspec__enablement with action: "enable". It returns {ok, action, enabled, root, marker, guide, import_line}.

The call is idempotent, and re-running it is the upgrade path — it redeposits the shipped guide, adds the @-import line only if absent, and rewrites the marker. It never runs git.

What it writes

Path Why
.punt-labs/z-spec/CLAUDE.md The z-spec agent guide, overwritten wholesale
.punt-labs/z-spec/enabled The marker every z-spec MCP tool reads
CLAUDE.md One bare line: @.punt-labs/z-spec/CLAUDE.md

Output

Report the three paths, then the one action left for the human. This is what z-spec enable prints, and the tool returns the same values:

z-spec enabled in /repo
  marker: /repo/.punt-labs/z-spec/enabled
  guide:  /repo/.punt-labs/z-spec/CLAUDE.md
  import: @.punt-labs/z-spec/CLAUDE.md
Commit the marker so enablement travels with the repo.

If ok is false, either you are outside a git working tree or the repository refused the write. Report the error verbatim; do not create a repository.

Notes

  • The z-spec CLI is never gated. z-spec check and friends work from a terminal whether or not the marker exists.
  • To turn it off again, run /z-spec-dev:disable-dev.
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 · 50 lines · 7 tokens per session scan A 13f05256dac5

Subscribe to this mod's changes

enable-dev is a command published in the GitHub repository punt-labs/z-spec (5 stars, last pushed yesterday), licensed MIT. It adds 7 tokens to every session and 454 once invoked, about $0.0000 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-08-31.