/semctx:semctx-verifyfrom semctx
Verify the semantic blast radius of a code change before finishing. Use after any non-trivial edit and before a commit or push: check impacted invariants/contracts and run the recommended tests. Invoke when the user asks to commit, open a PR, or "make sure this change is safe".
Ships in semctx. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This is the focused Plane A verification workflow. Use semctx-control when the task also needs
authored intent, L0-L6 tracing, migration planning, or the shared Codex/Claude completion contract.
semctx maps a diff to the symbols, exported contracts, declared invariants and tests it
affects, and returns a PASS / WARN / BLOCK verdict with evidence. It is not a code-search
tool — do not use it to find files for a task.
After a non-trivial change, before committing or pushing:
semctx_verify_change (no argument analyses the current git diff HEAD;
pass a unified diff to analyse something specific).critical/security-tagged) contract, changed
with no covering test. This must be resolved or explicitly disabled by the user's config.recommendedTests. They must pass..semctx/config.json./verify step then runs and observes behaviour. Pair them
— impact first, behaviour second — and never treat a semctx PASS as proof the code still works
at runtime.If the project has guarded mode enabled (.semctx/guard.json with {"enabled": true}), a
pre-commit/push hook will block git commit / git push until the current diff has been
verified. Record a verification with:
bun "${CLAUDE_PLUGIN_ROOT}/dist/semctx.js" verify diff --record # or: semctx verify diff --record
after which an unchanged, non-BLOCK diff is allowed to commit. Any further edit invalidates it —
re-run the command. Run the project's writers (formatter, codegen, git add) before this
command: a pre-commit hook that rewrites files afterwards commits a tree the proof did not cover.
If .semctx/guard.json declares "hooks": "project-managed", the project's own hook chain runs
semctx verify hook pre-commit last and re-records only when such drift happened. Never pass
--no-verify / -n: the guard rejects it. Guarded mode is opt-in; advisory (no blocking) is the
default. It can be strictly disabled with SEMCTX_GUARD=off.
Prefer the plugin-bundled CLI (dist/semctx.js, same release as MCP). Claude Code substitutes the
plugin root into this skill at load time, so the path below is already absolute; if it still reads
as a literal ${…} placeholder, use the global semctx line instead (same version: semctx --version), or report that no shell CLI is available. CLAUDE_PLUGIN_ROOT is never exported to
your terminal — do not rely on the shell to expand it.
bun "${CLAUDE_PLUGIN_ROOT}/dist/semctx.js" verify diff # working tree vs HEAD
bun "${CLAUDE_PLUGIN_ROOT}/dist/semctx.js" verify diff --base origin/main # range (merge-base)
bun "${CLAUDE_PLUGIN_ROOT}/dist/semctx.js" verify diff --record # record state for guarded mode
semctx verify diff --record # global fallback
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub hoklims/semctx --plugin semctx4 skills in this plugin
/index-control-planeGovern code-intelligence routing, freshness, refresh, consumer generations, provider cost, and fallback across Codex and Claude Code. Use this skill whenever a task asks which code index to use, reports slow or stale indexing, touches CCC/CocoIndex, Graphify, Semctx, Serena, LSP or SCIP, changes index hooks or MCP exposure, opens a substantial Git worktree, or needs architecture/impact retrieval. Prefer this control plane even when the user only says the agent is slow, cannot find code, or seems to use the wrong context./semctx-controlUse semctx through its MCP tools for top-down root-cause diagnosis, repository impact analysis, authored goals and invariants, proof-carrying change contracts, handoffs, bounded target proposals, and fail-closed migration planning. Use for non-trivial code changes, refactors, migrations, architecture reconstruction, semantic trace requests, invariant preservation, generic project demonstrations, or pre-commit verification in a semctx-enabled repository./semctx-semanticCarry intent, invariants, decisions, evidence and unknowns through a non-trivial change using the semctx semantic layer. Use when starting substantial work: open or select a change contract, pull a bounded semantic slice, then keep the contract honest as you edit — verify impact, compose the change verdict, run the recommended tests, and record proofs/unknowns. Never conclude on a BLOCK.Other plugins' skills for the same job