/spellguard:spellguard-resetfrom spellguard
Disconnects a machine from Spellguard by deregistering the agent, stopping the daemon, and deleting local credentials. Use for from-scratch setup tests or clean teardown.
Ships in spellguard. 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.
Cleanly disconnects this machine: deregisters the agent server-side (tolerates an already-deleted agent), stops the local credential daemon, and deletes the stored credential. Use before a from-scratch setup test, or when this machine should no longer hold a Spellguard identity.
Run the wrapper with the BashTool:
${CLAUDE_PLUGIN_ROOT}/bin/skill-spellguard-reset
It returns a JSON summary on stdout, e.g.
{"ok":true,"deregistered":true,"stoppedDaemons":[12345]}.
deregistered:false is NOT an error — it means the server no longer
knew the agent (e.g. it was already deleted in the dashboard) or was
unreachable; local cleanup completed regardless.reason:"no_config" means there was nothing to reset.Run /spellguard-setup to reconnect the machine as a fresh agent.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
spellguard, agent-teardown, deregister, credential-cleanup, reset
npx claudepluginhub spellguard/spellguard --plugin spellguard4 skills in this plugin
/spellguard-cliUse when an agent needs to inspect, script, or operate the Spellguard CLI for auth, managed agents, provisioning, setup, diagnostics, operations, connection, or JSON/YAML/table output contracts./spellguard-handler-authoringWrite, debug, or repair a Spellguard task handler — the single executable a managed box runs for a task type. Use when asked to 'write a handler', 'add a task type', 'make my agent do X when Y happens', 'why did my handler fail', 'my task timed out', 'the handler isn't running', 'inspect the handlers on this box', 'restore a handler', or when editing anything under ~/.config/spellguard/handlers. Teaches the handler ABI (stdin envelope, the three environment variables, the result-file contract, exit semantics), the heartbeat obligation that keeps a long task alive, how to report progress and completion without credentials, and how to read handler inventory and divergence states./spellguard-setupBootstrap a Spellguard-issued GitHub credential. Use when the user runs /spellguard-setup, asks to set up Spellguard, or needs to authorize the plugin's GitHub access for the first time on this machine.Other plugins' skills for the same job