mcpField
O
ops

ops

github.com/davepoon生产力3.7k70 次安装1 天前更新
代码仓库

关于 ops

ops 是用于 Claude Code 的业务运营路由 Skill,可将请求分派给专门的 ops Skill。它会先读取偏好设置和守护进程状态,并将工具调用交由目标 Skill 执行。

主要功能

  1. 01将请求路由至 ops Skill
  2. 02读取偏好设置和守护进程状态
  3. 03覆盖业务与工程工作流
  4. 04由目标 Skill 执行工具调用

适用场景

  1. 01打开运营仪表板
  2. 02路由收件箱或事故请求
  3. 03查找项目、收入或部署命令
  4. 04将请求交给相关 ops Skill

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/davepoon/buildwithclaude --skill ops

安装后在 Claude Code 中输入/ops确认已加载。

详细介绍

运行时上下文

路由前,请加载:

  1. 偏好设置:cat ${CLAUDE_PLUGIN_DATA_DIR:-$HOME/.claude/plugins/data/ops-ops-marketplace}/preferences.json — 读取已配置的渠道,以确定可用命令
  2. 守护进程健康状态:cat ${CLAUDE_PLUGIN_DATA_DIR}/daemon-health.json — 如果 action_needed,请在路由前提示

OPS — 业务指挥中心

将 $ARGUMENTS 路由到相应的 ops 技能:

输入路由到
(空)、dash、home、hq/ops:ops-dash
go、morning、briefing/ops-go
setup、configure、init、install/ops:setup $ARGUMENTS
inbox、unread、messages/ops-inbox
comms、send、whatsapp、email、slack、telegram/ops-comms $ARGUMENTS
fires、incidents、down、sentry/ops-fires
projects、dashboard/ops-projects
status、health-status/ops:ops-status
next、priority、what/ops-next
triage、issues/ops-triage
linear、sprint、board/ops-linear
revenue、money、mrr、costs/ops-revenue
deploy、ship/ops-deploy
merge、prs、ship-prs/ops-merge $ARGUMENTS
marketing、email、klaviyo、ads、meta、seo、campaigns/ops:ops-marketing $ARGUMENTS
ecom、shop、shopify、store、orders、inventory/ops:ops-ecom $ARGUMENTS
voice、call、tts、transcribe、phone/ops:ops-voice $ARGUMENTS
yolo/ops-yolo
doctor、health、fix、diagnose/ops:ops-doctor
monitor、apm、alerts、datadog、newrelic、otel/ops:ops-monitor $ARGUMENTS
settings、credentials、creds、config、reconfigure/ops:ops-settings $ARGUMENTS
integrate、connect、add-api、saas、partner/ops:ops-integrate $ARGUMENTS
speedup、clean、optimize、cleanup/ops:ops-speedup
orchestrate、subagents、agents、dispatch、run/ops:ops-orchestrate $ARGUMENTS

如果 $ARGUMENTS 为空,请启动交互式仪表板:直接调用 /ops:ops-dash。

Agent Teams 支持

如果设置了 CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1,在并行构建仪表板各部分时使用 Agent Teams。这可以:

  • 让 Agent 共享上下文并在执行过程中协调
  • 实时调整优先级
  • Agent 完成任务后汇报进度

团队设置(仅在启用该标志时):

TeamCreate("ops-team")
Agent(team_name="ops-team", name="daily-ops", prompt="Gather fires, inbox, and unread comms status")
Agent(team_name="ops-team", name="engineering", prompt="Gather PRs, CI status, and deploy state")
Agent(team_name="ops-team", name="business", prompt="Gather revenue, Linear sprint, and project progress")
Agent(team_name="ops-team", name="automation", prompt="Check cron jobs, daemon health, and scheduled tasks")

如果未设置该标志,请使用标准的即发即弃子 Agent。

CLI/API 参考

此技能仅负责路由,不会直接调用 CLI 工具。所有工具的使用都会在路由后委托给目标技能。详情请参阅所引用技能的 ## CLI/API Reference 部分。

评论

支持 Markdown