claude

context-surgeon

Temporarily restrict AI coding agents to a declared subset of files using a 5-tier permission model

0 on GitHubv0.1.0updated 3 months ago

Not in a marketplace yet, so it loads for one session with --plugin-dir.

Plugin context-surgeon in kingkillery/consurg. Commands read from the repo's manifest — 1 month ago.

This plugin runs code on your machine — its hooks fire automatically on events like tool use. The exact commands are listed below; read them before installing.

What it installs

Skills (2)

  • context-surgeon

    This skill should be used when the user asks to "create a scope", "restrict agent access", "set up consurg", "scope files", "add files to working set", "wire consurg to Claude", "wire consurg to Codex", "wire consurg to Gemini", "start the guard", "trace dependencies", "build scope from git diff", "

  • context-surgeon

    Use this skill when configuring, updating, or operating Consurg for agent context control (scopes, permission tiers, wire integrations, tracing, and enforcement) in CLI workflows.

Slash commands (3)

  • /context-surgeon:scope-map

    Visualize the project file tree with Context Surgeon tier annotations

  • /context-surgeon:scope-status

    Show the current Context Surgeon scope status with tier counts and drift info

  • /context-surgeon:scope

    Show the active Context Surgeon scope with files organized by tier

Hooks (1)

  • PreToolUse

    python ${CLAUDE_PLUGIN_ROOT}/hooks/enforce.py

View source on GitHub

Maintain context-surgeon?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex pluginslisted