Communitygithub.com

企业级 Agent 运维

管理长期运行的 Agent 工作负载,提供可观测性、安全边界和生命周期管理。适用于需要可观测性、安全边界或生命周期控制的长期运行的 Agent 工作负载。

企业级 Agent 运维 是什么?

企业级 Agent 运维技能专为云托管或持续运行的 Agent 系统设计,提供超越单次 CLI 会话的操作控制。该技能涵盖运行时生命周期管理(启动、暂停、停止、重启)、可观测性(日志、指标、追踪)、安全控制(作用域、权限、终止开关)以及变更管理(发布、回滚、审计)四大核心领域。通过不可变部署制品、最小权限凭证、环境级密钥注入、硬超时与重试预算以及对高风险操作的审计日志等基线控制,确保生产环境的可靠性。它追踪成功率、每任务平均重试次数、恢复时间、每成功任务成本以及故障类别分布等关键指标,并定义了故障峰值时的标准处理流程。该技能可与 PM2 工作流、systemd 服务、容器编排器和 CI/CD 门控无缝集成。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/affaan-m/everything-claude-code/tree/main/skills/enterprise-agent-ops

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

企业级 Agent 运维 是做什么的?

使用此技能来管理云托管或持续运行的 Agent 系统,这些系统需要超越单次 CLI 会话的操作控制。

运维域

  1. 运行时生命周期(启动、暂停、停止、重启)
  2. 可观测性(日志、指标、追踪)
  3. 安全控制(作用域、权限、终止开关)
  4. 变更管理(发布、回滚、审计)

基线控制

  • 不可变的部署制品
  • 最小权限凭证
  • 环境级密钥注入
  • 硬超时和重试预算
  • 高风险操作的审计日志

需要追踪的指标

  • 成功率
  • 每任务平均重试次数
  • 恢复时间
  • 每成功任务成本
  • 故障类别分布

故障处理模式

当故障激增时:

  1. 冻结新的发布
  2. 捕获代表性追踪
  3. 隔离故障路由
  4. 用最小的安全变更进行修补
  5. 运行回归测试和安全检查
  6. 逐步恢复

部署集成

此技能可与以下工具搭配使用:

  • PM2 工作流
  • systemd 服务
  • 容器编排器
  • CI/CD 门控

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

accessibility

Design, implement, and audit inclusive digital products using WCAG 2.2 Level AA. Use when building or auditing UI that must meet WCAG 2.2 Level AA, or when reviewing a change for keyboard, contrast, or screen-reader support.

affaan-m/claude-api

Anthropic Claude API patterns for Python and TypeScript. Covers Messages API, streaming, tool use, vision, extended thinking, batches, prompt caching, and Claude Agent SDK. Use when building applications with the Claude API or Anthropic SDKs.

affaan-m/everything-claude-code

End-to-end marketing campaign planning and execution. Covers audience research, positioning, campaign angle definition, landing page copy, email sequences, social posts, ad copy, short-form video scripts, and content calendars. Use as the orchestration layer for multi-channel product launches. Use when planning or executing a multi-channel product launch, or producing landing page, email, social, or ad copy.

affaan-m/everything-claude-code

Development conventions and patterns for everything-claude-code. JavaScript project with conventional commits.

affaan-m/everything-claude-code-conventions

Development conventions and patterns for everything-claude-code. JavaScript project with conventional commits.

affaan-m/frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use when the user asks to build web components, pages, or applications and the visual direction matters as much as the code quality.

affaan-m/gget

gget CLI and Python workflow for quick genomic database queries, sequence lookup, BLAST-style searches, enrichment checks, and reproducible bioinformatics evidence logs.

affaan-m/literature-review

Systematic literature-review workflow for academic, biomedical, technical, and scientific topics, including search planning, source screening, synthesis, citation checks, and evidence logging.

affaan-m/motion-ui

Production-ready UI motion system for React/Next.js. Use when implementing animations, transitions, or motion patterns.

affaan-m/project-guidelines-example

Example project-specific skill template based on a real production application.

affaan-m/pubmed-database

Direct PubMed and NCBI E-utilities search workflows for biomedical literature, MeSH queries, PMID lookup, citation retrieval, and API-backed literature monitoring.

affaan-m/scholar-evaluation

Structured scholarly-work evaluation for papers, proposals, literature reviews, methods sections, evidence quality, citation support, and research-writing feedback.

affaan-m/uspto-database

USPTO patent and trademark data workflow for official record lookup, PatentSearch queries, TSDR checks, assignment data, and reproducible IP research logs.

agent-architecture-audit

Full-stack diagnostic for agent and LLM applications. Audits the 12-layer agent stack for wrapper regression, memory pollution, tool discipline failures, hidden repair loops, and rendering corruption. Produces severity-ranked findings with code-first fixes. Essential for developers building agent applications, autonomous loops, or any LLM-powered feature. Use when an agent or LLM feature misbehaves and the failing layer is unknown, or before shipping an agent stack.

agent-eval

Head-to-head comparison of coding agents (Claude Code, Aider, Codex, etc.) on custom tasks with pass rate, cost, time, and consistency metrics. Use when choosing between coding agents, or when a change to an agent setup needs measured pass rate, cost, and time rather than an impression.

agent-harness-construction

Design and optimize AI agent action spaces, tool definitions, and observation formatting for higher completion rates. Use when defining or revising an agent

agentic-engineering

Operate as an agentic engineer using eval-first execution, decomposition, and cost-aware model routing. Use when planning or executing engineering work that agents will carry out end to end.

agentic-os

Build persistent multi-agent operating systems on Claude Code. Covers kernel architecture, specialist agents, slash commands, file-based memory, scheduled automation, and state management without external databases. Use when building a persistent multi-agent system on Claude Code with its own memory, commands, and scheduling.

agent-introspection-debugging

Structured self-debugging workflow for AI agent failures using capture, diagnosis, contained recovery, and introspection reports. Use when an agent run fails and you need a reproducible diagnosis instead of a retry.

agent-payment-x402

Add x402 payment execution to AI agents with per-task budgets, spending controls, and non-custodial wallets. Supports Base through agentwallet-sdk and X Layer through OKX Payments / OKX Agent Payments Protocol. Use when an agent must pay for something itself and needs per-task budgets, spending controls, and a non-custodial wallet.

相关技能