Skip to content
Back to skills

lockwire

ASecurity

Use when editing code that CLAUDE.md, AGENTS.md, or a docs/*.md file makes claims about, or when asked to check, link, or fix documentation drift. Binds a documentation claim to a tiered fingerprint (path/signature/body/dependencies) of the code it describes, so an edit that changes what the doc asserts is caught at write time instead of silently.

  • 3 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added October 16, 2026
ai-agentsdocumentation

Works with

  • claude code
  • cursor
  • cli
  • mcp

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned November 11, 2026

npx -y skills add Reality-Ventures/lockwire --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of lockwire?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for lockwire
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/reality-ventures-lockwire/badge)](https://www.skillsdirectory.com/skills/reality-ventures-lockwire)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: lockwire
description: Use when editing code that CLAUDE.md, AGENTS.md, or a docs/*.md file makes claims about, or when asked to check, link, or fix documentation drift. Binds a documentation claim to a tiered fingerprint (path/signature/body/dependencies) of the code it describes, so an edit that changes what the doc asserts is caught at write time instead of silently.
---

# lockwire

Installed via `npx skills add Reality-Ventures/lockwire` — this copy is agent-agnostic. If you're inside Claude Code, prefer the full plugin (`/plugin marketplace add Reality-Ventures/lockwire`), which also wires up the write-time hook and MCP server automatically.

## What this does

`lockwire.lock` in this repo (if present) binds sentences in `CLAUDE.md`/`AGENTS.md`/`docs/**/*.md` to fingerprints of the code they describe. A fingerprint is computed per **tier** — `path`, `sig` (signature), `body`, `deps` — so a claim bound to `sig` survives a body refactor untouched, and only flags when the actual contract it asserts changes. A sentence that states a number can instead be bound to the value it came from (`<!-- lockwire results/metrics.json#ci.lo -->`, or a LaTeX macro `paper/numbers.tex#ciLo`), and is then checked against that value at the precision it states.

## Before editing code

Run `lockwire check` (or `npx lockwire check` if not installed globally) to see what documentation currently asserts about this repo. If you're about to touch a file, run `lockwire refs <path>` to see which doc claims cover it — read them before you change behavior they describe.

## After editing code

Run `lockwire check` again. If it reports `DRIFTED` anchors touching files you just changed:

1. Update the doc claim to match the new reality.
2. Run `lockwire link <doc> --reviewed` to re-stamp it (required specifically because the anchor is currently `drifted` — this gate exists so a doc can't be silently re-stamped without someone looking).
3. If the claim no longer applies, run `lockwire ack <id> --resolution superseded` instead.

## Adding a new claim

```markdown
<!-- lockwire src/auth/session.ts#createSession sig -->
`createSession` takes a `UserId` and returns a `Session` valid for 24 hours.
```

Then `lockwire link CLAUDE.md` to stamp it.

## Wiring up your agent's own hook and MCP server

This skill covers usage; wiring lockwire into your specific agent's write-time hook (Codex, Cursor, etc.) is agent-specific — see [docs/agents.md](docs/agents.md) in the repo, or run `lockwire hook codex-pre`/`lockwire mcp` directly per your agent's hook/MCP config format.

## Full reference

[docs/cli.md](docs/cli.md) · [docs/concepts.md](docs/concepts.md) · [docs/agents.md](docs/agents.md)

Files in this skill

  • .claude-plugin/marketplace.json462 B
  • .claude-plugin/plugin.json693 B
  • .lockwire/.gitignore58 B
  • .lockwire/config.json226 B
  • .lockwire/ledger.jsonl692 B
  • .mcp.json134 B
  • CHANGELOG.md18.9 KB
  • CONTRIBUTING.md3.3 KB
  • SECURITY.md3.4 KB
  • SKILL.md2.4 KB
  • action.yml817 B
  • assets/logo-512.png14 KB
  • assets/logo.svg1.5 KB
  • assets/social-preview.png28.2 KB
  • assets/social-preview.svg1.7 KB
  • assets/wordmark-dark.png14.2 KB
  • assets/wordmark-dark.svg1.4 KB
  • assets/wordmark-light.png13.9 KB
  • assets/wordmark-light.svg1.4 KB
  • biome.json533 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.