This is the operational playbook for agents that run longer than a single terminal session. It covers the stuff that matters when Claude is running in production: lifecycle controls, observability hooks, safety boundaries, and incident response patterns. The metrics section is especially practical, tracking things like retries per task and failure class distribution rather than vanity numbers. If you're moving beyond local experiments into containerized deployments, PM2 processes, or CI/CD pipelines, this gives you the baseline controls you need. The incident pattern is sound: freeze, capture traces, isolate, patch minimally, then resume gradually. Straightforward ops discipline adapted for agentic workloads.

skills.sh installs
4.7K
GitHub stars
229.1K
last updated
Jul 14, 2026

Install

$ npx -y skills add affaan-m/everything-claude-code --skill enterprise-agent-ops --agent claude-code

Installs into .claude/skills of the current project.

Files

Enterprise Agent Ops

Use this skill for cloud-hosted or continuously running agent systems that need operational controls beyond single CLI sessions.

Operational Domains

  1. runtime lifecycle (start, pause, stop, restart)
  2. observability (logs, metrics, traces)
  3. safety controls (scopes, permissions, kill switches)
  4. change management (rollout, rollback, audit)

Baseline Controls

  • immutable deployment artifacts
  • least-privilege credentials
  • environment-level secret injection
  • hard timeout and retry budgets
  • audit log for high-risk actions

Metrics to Track

  • success rate
  • mean retries per task
  • time to recovery
  • cost per successful task
  • failure class distribution

Incident Pattern

When failure spikes:

  1. freeze new rollout
  2. capture representative traces
  3. isolate failing route
  4. patch with smallest safe change
  5. run regression + security checks
  6. resume gradually

Deployment Integrations

This skill pairs with:

  • PM2 workflows
  • systemd services
  • container orchestrators
  • CI/CD gates

Sponsors

Details

Repository
github.com/affaan-m/everything-claude-code
Category
AI & Agent Building

More from affaan-m/everything-claude-code

All 256
1dotnet avatarcode-testing-agentdotnet/skillsMANDATORY ENTRY POINT for generating or writing tests. Invoke this skill before editing files whenever the user asks to generate tests, write/add unit tests, sc4.7Kskills.sh installs
2github avatarsecret-scanninggithub/awesome-copilotGuide for configuring and managing GitHub secret scanning, push protection, custom patterns, and secret alert remediation. For pre-commit secret scanning in AI 4.6Kskills.sh installs
3affaan-m avatarfal-ai-mediaaffaan-m/everything-claude-codefal ai media4.6Kskills.sh installs
4affaan-m avataragent-evalaffaan-m/everything-claude-codeagent eval4.5Kskills.sh installs
5github avatardependabotgithub/awesome-copilotComprehensive guide for configuring and managing GitHub Dependabot. Use this skill when users ask about creating or optimizing dependabot.yml files, managing De4.4Kskills.sh installs
6softaworks avataragent-md-refactorsoftaworks/agent-toolkitRefactor bloated AGENTS.md, CLAUDE.md, or similar agent instruction files to follow progressive disclosure principles. Splits monolithic files into organized, l4.3Kskills.sh installs