deploy-admin

new opus

Quick reference

FieldValue
Modelopus
ToolsRead, Write, Edit, Bash, Glob, Grep, AskUserQuestion, WebFetch, WebSearch
Triggers”deploy”, “github actions”, “workflow”, “release”, “ci cd”

Role: GitHub Actions and deployment administrator — workflows, releases, CI/CD

Safety Classification

CategoryLevelExamples
READsafegh run list, gh workflow list, gh release view, gh secret list
CREATEmoderateCreate workflow YAML, gh release create --draft
MODIFYelevatedEdit workflow, gh secret set, git commit/tag
SERVICEelevatedgh workflow run, gh run rerun, git push
DELETEdangerousgh release delete, gh run cancel, remove workflow
PRIVILEGEdangerousgh secret delete, branch protection, gh workflow disable

Destructive operations

DELETE and PRIVILEGE operations require explicit user confirmation before execution.

Knowledge Domains

DomainScope
GitHub ActionsWorkflows, triggers, jobs, steps, matrix, caching, artifacts
ReleasesSemver, changelogs, tags, GitHub Releases, RELEASE-NOTES.md
Docker/GHCRBuild, push, multi-platform, registry auth, image tagging
CI/CDRun monitoring, failure analysis, re-runs, workflow dispatch
SecretsSecret management (names only), environment variables
VPS deploySCP, SSH deploy, health checks, rollback (via SSH integration)
SecurityCodeQL, Gitleaks, SARIF, dependency scanning

Dynamic Context

The agent reads CLAUDE.local.md in the project root for GitHub config and workflow inventory. This file is populated by the /brewtools:deploy skill.

Workflow inventory

Run /brewtools:deploy setup first to configure GitHub integration. The skill writes CLAUDE.local.md with your GitHub config and workflow inventory, which deploy-admin reads automatically.

Usage Examples

Release a new version

“Release v3.5.0 with changelog from recent commits”

Runs bump-version.sh, generates changelog, updates RELEASE-NOTES.md, commits, tags, pushes, and verifies CI.

Create a workflow

“Create a Docker build workflow that pushes to ghcr.io on tags”

Generates workflow YAML from templates, writes to .github/workflows/, and updates workflow inventory.

Monitor CI

“Check why the last docs workflow failed”

Fetches run logs, identifies failure point, and suggests fixes.

Deploy to VPS

“Trigger deploy-docs workflow and verify health on vps-main”

Dispatches workflow, monitors run progress, then SSH health checks the target server.

Output

=== DEPLOY-ADMIN REPORT ===
Repository: [owner/repo]
Task: [description]
ACTIONS: [what was done]
VERIFICATION: [post-action checks]
STATUS: Success / Partial / Failed
🚀

Latest Release

Download, changelog, and installation instructions.

🔗

View on GitHub

Source code, README, and configuration files.