SDE Agents
A Claude Code plugin for one person who runs a home lab and wants AI agents that behave like a
careful operator: inspect before changing, finish an explicitly delegated task within its scope,
keep recovery ready, and record the result. It ships agents for running the lab and for writing the
scripts and services that live on it, skills that carry the operating knowledge, and a hook that
keeps the read-only agents read-only.
Fleet
- Agents (10):
application-security-auditor, code-reviewer, homelab-engineer, multi-agent-architect, principal-engineer, prompt-engineer, repository-investigator, researcher, sde-fullstack, verification-engineer
- Skills (20):
backend-craft, ci-actions, code-craft, eng-ladder, frontend-craft, host-onboard, lab-audit, lab-incident, observability, onboarding-map, postmortem, prompt-craft, restore-drill, root-cause, runbook, security-audit, self-improve-loop, service-onboard, sre-tool, upgrade-campaign
Install
/plugin marketplace add latent-sre/sde-agents
/plugin install sde-agents@latent-sre
That installs the agents, the skills, and the read-only guard hook together. Nothing is copied into the
~/.claude/agents or ~/.claude/skills discovery roots — Claude Code keeps its own cached copy of
the plugin, which a reinstall replaces, so the fleet you edit here is never the fleet a normal
session loads. Components are namespaced by the plugin: sde-agents:homelab-engineer,
/sde-agents:lab-incident, and so on.
To load the plugin from a checkout instead of the marketplace copy, run claude --plugin-dir .
from the repository root.
To check what is installed: claude plugin list and codex plugin list show whether sde-agents is
installed and enabled, and python3 scripts/install_codex_agents.py --user --check reports whether
your Codex agents match this checkout.
What you get
Running the lab. homelab-engineer is the operator's agent: it classifies every change by
how reversible it is and states recovery before acting. A bounded live request covers execution
and recovery; it asks again for an expanded scope or a destructive consequence you have not
authorized, and respects every actual host gate. It works the operating skills: lab-incident when something is down,
root-cause when the fix keeps not sticking, runbook, postmortem, restore-drill,
upgrade-campaign, observability, and the lab-audit and security-audit checklists. Bringing
a new machine or a new service into the lab runs host-onboard and service-onboard.
Writing what runs on it. sde-fullstack builds scripts, services, and small tools, with
code-craft (Bash and PowerShell pitfalls included), backend-craft, frontend-craft, and
ci-actions as its reference shelf. code-reviewer reviews a diff read-only. researcher handles
dedicated external-source investigations; principal-engineer and multi-agent-architect can
also consult the web for design work.
Design and meta. principal-engineer thinks through a change
before it is built. prompt-engineer, prompt-craft, multi-agent-architect, and
self-improve-loop are for people editing agents and skills, this fleet's included.
Ask in plain language. The right agent or skill fires from its description; you can also name one
directly with its namespaced name.
How it protects you
Two PreToolUse hooks ship with the plugin and register session-wide. Each scopes itself to the
agent making the call and does nothing for anyone else, so your own shell is never inspected.
- The read-only guard.
code-reviewer, principal-engineer, and
repository-investigator hold Bash for inspection only. The guard permits an enumerated set
of read-only commands (git diff, rg, cat, and their kin) and denies everything else,
including any interpreter. If the guard cannot run, those agents lose Bash rather than gaining
it.
The hook runs from the installed plugin copy, never from a repository under review. It is not a
sandbox: a reviewer that can read files can read secrets, and the load-bearing control remains the
least privilege you give the session. The wiring, the reasoning, and the honest limits are in
docs/fleet-development.md.
Project context convention
Use the target repository's existing project-instruction file and do not create a competing one.
For a new cross-host repository, prefer a portable root AGENTS.md.