agentctl

by sd0xdev · ★ 192 · updated 4 days ago

BandsGuardsCommandsPromptvalidates

0

Agent Control Plane for one Claude Code session: task scope, evidence, hand-over. A control and a display, not an isolation boundary.

install agentctl

Install

/plugin marketplace add sd0xdev/sd0x-harness
/plugin install agentctl@sd0xdev-marketplace

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.startturn.startturn.completesession.measureclassic.UserPromptSubmitclassic.PostToolUseclassic.PermissionRequestclassic.Stoptool.callprompt.submittool.checkcommand.runprompt.suggestui.render
API calls
$.clock.every$.clock.now$.command.register$.env.get$.fs.exists$.fs.read$.process.run$.prompt.fill$.prompt.read$.prompt.suggest$.session.cwd$.session.id$.session.usage$.store.delete$.store.get$.store.keys$.store.set$.turn.abort$.ui.invalidate$.ui.log$.ui.resolve$.ui.toast
Draws
AbovePrompt
Can see
classic hooksevery tool callBash callsevery promptGetTask calls
Reach
level 2 of 3 other: $.prompt.readruns processesdrives Claudewrites the prompt boxreads filesreads env varspersists statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/sd0xdev/sd0x-harness
Path in repo
mods/agentctl
Source commit
a4d4bc1 the exact code the scan read
Author
@sd0xdev
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.