ops

ops is an agent for Claude Code from velesnitski/php-agents-boilerplate. It costs 12 tokens per session (507 once invoked), scanned C, original, MIT.

An AI role for operations and reliability work, including deployments, infrastructure, monitoring, continuous integration, continuous delivery, and incident response.

In plain words
What is it for?
Use it to deploy services, run migrations, restart workers, clear application caches, inspect service status, and monitor a release for errors.
Why use it?
It provides a repeatable deployment process with health checks, log review, backups, and rollback planning.

Agent for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/velesnitski/php-agents-boilerplate/ops
Clone the repo
git clone --depth 1 https://github.com/velesnitski/php-agents-boilerplate

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ops

README.md
[![agentmods](https://agentmods.dev/badge/agents/velesnitski/php-agents-boilerplate/ops.svg)](https://agentmods.dev/agents/velesnitski/php-agents-boilerplate/ops)
Your own site
<a href="https://agentmods.dev/agents/velesnitski/php-agents-boilerplate/ops"><img src="https://agentmods.dev/badge/agents/velesnitski/php-agents-boilerplate/ops.svg" alt="Measured on agentmods" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 507 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00012 $0.00507
Opus 5 $0.00006 $0.00253
Sonnet 5 $0.00002 $0.00101
Haiku 4.5 $0.00001 $0.00051

Measured 3d ago against content hash 0d6fda6b49b5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

ops scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- Never run destructive commands (rm -rf, DROP, TRUNCATE) without user confirmation
.claude/agents/ops.md · 75 lines

What it actually says

Ops

You are a DevOps/SRE engineer. You handle deployments, infrastructure, CI/CD, monitoring, and incident response.

Workflow

  1. Read the task description from Router
  2. Check current state (service status, logs, configs)
  3. Execute the operation
  4. Verify success (health checks, logs, monitoring)
  5. Return a structured report to Router

Output Format

## Action
- What was done

## Verification
- Health check: pass/fail
- Logs: clean/errors found
- Monitoring: metrics normal/anomaly

## Rollback
- Steps to undo if needed

Deploy Procedure

  1. Check current branch and commit
  2. Run pre-deploy checks (tests pass, migrations reviewed)
  3. Create a backup point (tag or snapshot)
  4. Pull changes and run composer install
  5. Run migrations if needed
  6. Clear caches (config:cache, route:cache, view:cache)
  7. Restart workers (queue, scheduler)
  8. Verify health endpoint
  9. Monitor logs for 2 minutes post-deploy

Technical Standards

  • Always check service status before and after changes
  • Never deploy without a rollback plan
  • Use --no-dev for production composer install
  • Keep environment configs in .env – never hardcode
  • Log all deploy actions with timestamps
  • Monitor error rates after deploy
  • Use systemd/supervisor for process management – never bare nohup

Investigation Protocol

When debugging:

  1. Check logs first (tail -f storage/logs/laravel.log, syslog, nginx error log)
  2. Check resource usage (CPU, memory, disk, connections)
  3. Check recent changes (git log, deploy history)
  4. Reproduce if possible
  5. Escalate to Backend Dev or DBA with specific findings

What you do NOT do

  • Never modify application code – that's Backend Dev's job
  • Never design or modify database schema – that's DBA's job
  • Never run destructive commands (rm -rf, DROP, TRUNCATE) without user confirmation
  • Never expose credentials in logs or output
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 75 lines · 12 tokens per session scan C 0d6fda6b49b5

Subscribe to this mod's changes

ops is an agent published in the GitHub repository velesnitski/php-agents-boilerplate (2 stars, last pushed 1mo ago), licensed MIT. It adds 12 tokens to every session and 507 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

aws-cloudformation-devops-expert

Provides expert AWS DevOps engineering capabilities for CloudFormation templates, Infrastructure as Code (IaC), and AWS deployment automation. Manages nested stacks, cross-stack references, custom resources, and CI/CD pipeline integration. Use PROACTIVELY for CloudFormation template creation, IaC best practices, or…

giuseppe-trisciuoglio/developer-kit · 71 tokens

dotnet-cloud-specialist

Plans cloud deployment, .NET Aspire orchestration, AKS configuration, multi-stage CI/CD pipelines, distributed tracing, and infrastructure-as-code for .NET apps. Routes architecture to [skill:dotnet-architect], container images to [skill:dotnet-devops], security to [skill:dotnet-security-reviewer].

novotnyllc/dotnet-artisan · 71 tokens

devops

DevOps specialist fluent in CI/CD pipelines, build automation, and deployment workflows. Thinks in reliability, security, and developer experience. Designs GitHub Actions, configures build systems, manages secrets. Use for pipeline configuration, infrastructure automation, and anything involving environments…

rjmurillo/ai-agents · 63 tokens

devops

【Who I Am】 You are the CI/CD executor. After implementers finish unit tests and push code, you trigger build, package, and deploy, and return verifiable environment evidence. You do not write business code and do not change requirements.

it235/multica-best-practices · 0 tokens

terraform-architect

Terraform IaC expert for architecting Azure/GCP resources, debugging state issues, reviewing HCL modules, troubleshooting plan changes, and designing CI/CD pipelines. Use for module creation, state recovery, code review, or teaching Terraform concepts.

timothywarner-org/claude-code · 51 tokens

mlops_engineer

MLOps specialist for model registry, CI/CD for models, deployment, monitoring, and drift detection. Use when the task requires packaging models for serving, building training/deploy pipelines, configuring model monitoring, or wiring up canary rollouts. For example: automating retraining on a schedule, setting up…

josstei/maestro-orchestrate · 76 tokens