By htxryan
Base infrastructure for Claude Code operator subagents. Provides CLI enforcement hooks, subagent lifecycle tracking, the git-operator agent, and a scaffolding skill for creating new operators.
Executes bash commands
Hook triggers when Bash tool is used
Uses power tools
Uses Bash, Write, or Edit tools
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
A collection of Claude Code plugins that enforce CLI tool usage through operator subagents. Each plugin guards specific CLI commands and redirects to specialized subagents for safe, consistent execution.
AI agents can run CLI tools directly, but every command and its output consumes the main agent's context window. A handful of git or gh invocations can burn through context fast, forcing earlier compaction and degrading the agent's ability to track your actual task. The main agent also has broad permissions — there's no guardrail preventing a careless git push --force or wrangler deploy to the wrong environment.
The operator pattern (agent-as-tool) solves this by routing CLI execution through specialized subagents:
This gives you:
gh pr create or bun install just fine, while Opus stays focused on the work that actually needs it.gh pr create goes through the same operator with the same conventions. No variation depending on how the main agent decides to construct a command.This isn't specific to the operators in this repo — it's a general pattern you can apply to any CLI tool your agent needs to use.
| Plugin | CLI Guards | Operator | Description |
|---|---|---|---|
operator-system | git | git-operator | Base infrastructure + git operator + create-operator skill |
operator-github | gh | operator-github | GitHub CLI operations (PRs, issues, releases) |
operator-bun | bun, bunx | operator-bun | Bun package manager and runtime operations |
operator-cloudflare-wrangler | wrangler | operator-cloudflare-wrangler | Cloudflare Workers, KV, R2, D1, and deployments |
operator-drizzle | drizzle-kit | operator-drizzle | Drizzle ORM migrations, schema push, and studio |
operator-neon | neonctl | operator-neon | Neon Postgres branches, connections, and projects |
Each plugin uses Claude Code hooks to intercept Bash tool calls. When a guarded CLI command is detected in the main agent context, the hook blocks execution and instructs the agent to use the corresponding operator subagent instead.
The operator-system plugin provides the shared infrastructure:
enforce-operator.sh): Checks commands against the operator map and blocks direct CLI usage in the main agent, while allowing subagents through via the agent_type fieldIndividual operator plugins (github, bun, cloudflare, drizzle, neon) each provide:
enforce-operator.sh hook to guard their specific CLI commandsoperator-map.json mapping CLI commands to operator names1. Add the marketplace — Run this in Claude Code to register the plugin registry:
/plugin marketplace add htxryan/claude-operators
2. Install the base plugin — This is required and provides the enforcement hooks, git-operator, and scaffolding skill:
/plugin install operator-system@agent-operators
3. Install operator plugins — Add whichever operators you need:
/plugin install operator-github@agent-operators
/plugin install operator-bun@agent-operators
/plugin install operator-cloudflare-wrangler@agent-operators
/plugin install operator-drizzle@agent-operators
/plugin install operator-neon@agent-operators
npx claudepluginhub htxryan/agent-operators --plugin operator-systemCloudflare Workers operator subagent for Claude Code. Guards the wrangler CLI and provides expert Cloudflare Workers operations.
Drizzle ORM operator subagent for Claude Code. Guards the drizzle-kit CLI and provides expert migration and schema operations.
Neon Postgres operator subagent for Claude Code. Guards the neonctl CLI and provides expert Neon database infrastructure operations.
GitHub CLI operator subagent. Enforces use of the github-operator agent for all gh CLI operations including PRs, issues, releases, and repo management.
Bun runtime and package manager operator subagent for Claude Code. Guards bun and bunx CLI commands.
Commands for Git operations, commits, and PRs
Git workflow and version control specialist for git strategies (gitflow, trunk-based), merge conflict resolution, interactive rebase, cherry-pick, bisect, reflog, hooks, and submodules. Use when working with complex git operations, resolving conflicts, or implementing git workflows.
High-intelligence Claude Code copilot with deep code reasoning, evidence-driven planning, orchestration-first execution, model routing, context budgeting, CI/CD integration, enterprise security, plugin development, prompt engineering, performance profiling, agent teams, channels (event-driven autonomy with CI webhook, mobile approval relay, Discord bridge, and fakechat dev profile), interactive tutorials, LSP integration, security-hardened hook script library, MCP Prompts coverage, common workflow packs, runtime selection guide, computer-use patterns, checkpointing, scheduled-task blueprints, repo bootstrap scanner, hook policy engine (8 installable packs), layered memory deployment, role-based subagent packs (implementer, debugger, migration-lead, dependency-auditor, release-coordinator), 5 agent-team topology kits, autonomy operating mode (4 profiles + 3 gates), and a queryable 15-tool MCP documentation server with autonomy advisor.
Git Worktree management for parallel agent execution - isolated working directories without Git conflicts
OpenAgentsControl — multi-agent orchestration for Claude Code. Context-aware development with skills, subagents, parallel execution, and automated code review.
Repowire mesh usage skills for AI coding agents: cross-agent review and planning, delegate, usage patterns, and install/update. Backend-agnostic and parameterised on the agent you choose.