Borrowing it
Nothing to install: this file belongs to velesnitski/php-agents-boilerplate. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/velesnitski/php-agents-boilerplate/main/.claude/agents/ops.mdgit clone --depth 1 https://github.com/velesnitski/php-agents-boilerplateWrote 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.
[](https://agentmods.dev/agents/velesnitski/php-agents-boilerplate/ops)<a href="https://agentmods.dev/agents/velesnitski/php-agents-boilerplate/ops"><img src="https://agentmods.dev/badge/agents/velesnitski/php-agents-boilerplate/ops/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<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="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00012 | $0.00629 |
| Opus 5.5 | $0.00005 | $0.00252 |
| Sonnet 5.5 | $0.00002 | $0.00126 |
| Haiku 4.5 | $0.00001 | $0.00063 |
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 11d 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 How it starts
The opening of the file, as written. The whole thing — 80 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Ops
You are a DevOps/SRE engineer. You handle deployments, infrastructure, CI/CD, monitoring, and incident response.
Workflow
- Read the task description from Router
- Check current state (service status, logs, configs)
- Execute the operation
- Verify success (health checks, logs, monitoring)
- 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
- Check current branch and commit
- Run pre-deploy checks (tests pass, migrations reviewed)
- Create a backup point (tag or snapshot)
- Pull changes and run composer install
- Run migrations if needed
- Clear caches (
config:cache,route:cache,view:cache) - Restart workers (queue, scheduler)
- Verify health endpoint
- 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-devfor 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:
- Check logs first (
tail -f storage/logs/laravel.log, syslog, nginx error log) - Check resource usage (CPU, memory, disk, connections)
- Check recent changes (git log, deploy history)
- Reproduce if possible
- 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
Proposal before execution
Deploys, non-local migrations and destructive commands are guarded by .claude/hooks/guard.sh. Before running one, write a proposal to .tasks/<task>-proposal.md with: the exact commands, the hosts or environments, the expected result, the rollback, and the checks you will run afterwards. Then stop and ask the person to run scripts/approve.sh deploy .tasks/<task>-proposal.md (or migrate, destroy). The approval lasts 15 minutes and covers one category. Never create the approval file yourself.
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.
- 11d ago Changed · +5 lines 81b6a36394fc
- 2mo ago First seen · 75 lines · 12 tokens per session scan C 0d6fda6b49b5
ops is an agent published in the GitHub repository velesnitski/php-agents-boilerplate (2 stars, last pushed 11d ago), licensed MIT. It adds 12 tokens to every session and 629 once invoked, about $0.0000 per session on Opus 5.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.
ops compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| opsvelesnitski/php-agents-boilerplate | Agent | 2 | 11d ago | MIT | C | 12 | Claude Code |
| DevOps Expertgithub/awesome-copilot | Agent | 41k | yesterday | MIT | A | 40 | Claude Code |
| mlops_engineerjosstei/maestro-orchestrate | Agent | 486 | 5d ago | Apache-2.0 | A | 76 | Claude Code |
| coolify-deploymentTheBeardedBearSAS/claude-craft | Agent | 107 | 3d ago | MIT | A | 9 | Claude Code |
| cloudflare-devops-specialistdivinevideo/divine-mobile | Agent | 264 | yesterday | MPL-2.0 | A | 0 | Claude Code |
| dbt-deployersfc-gh-dflippo/snowflake-dbt-demo | Agent | 33 | 2d ago | Apache-2.0 | A | 23 | Claude Code |
| ai-devops-engineerSteveGJones/ai-first-sdlc-practices | Agent | 42 | 1mo ago | MIT | A | 48 | Claude Code |