ops-fleet
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "ops-fleet":https://skillpi.com/zh/skills/deepskill-d90f72ec23ff48af99c601a1cfa544bfd6ff436dc9443ec1d5694270120783b9。安装前核对上游来源和版本:https://github.com/Lifecycle-Innovations-Limited/claude-ops。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
OPS 按需服务:当用户请求“车队仪表板”、“CLIProxy 会话”等功能时,应使用此技能。
介绍来源: third_party · Lifecycle-Innovations-Limited · 0.0.1 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 输入和输出
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: ops-fleet
description: "OPS on-demand: This skill should be used when the user asks to \"fleet dashboard\", \"CLIProxy sessions\"…"
argument-hint: '[--once] [--tui] [--all] [--models] [--no-pool] [--no-color]'
allowed-tools:
- Bash
- Read
effort: low
maxTurns: 6OPS ► FLEET
Load ops-rules before acting. Public repo (no personal data). Outbound: one draft → one approval → one send. If AskUserQuestion / Workflow are missing, follow Rule 10 in ops-rules (Hermes: numbered options / two-turn Telegram card; delegate_task).
Unified, read-only operational dashboard for:
- local Claude Code sessions and daemon state;
- the configured CLIProxyAPI gateway;
- the effective model catalog grouped by provider;
- the canonical server-side auth-record pool and configured load-balancing policy;
- recent inference-only request, error, and latency signals;
- optional legacy local account-rotator utilization.
It renders state and never changes it. It does not consume the CLIProxyAPI usage queue, modify configuration, refresh credentials, switch accounts, or restart services.
Runtime sources
| Layer | Source | Truth represented |
|---|---|---|
| Claude sessions | claude agents --json |
live interactive/background session census |
| Claude daemon | claude daemon status |
local supervisor/socket state |
| Gateway | GET / |
CLIProxyAPI server identity, reachability, latency |
| Models | authenticated GET /v1/models |
effective client-visible model catalog |
| Pool | sanitized helper/command JSON | enabled/disabled/backup auth records, configured routing/retries, recent inference RED signals |
| Legacy rotator | local state file, opt-in | compatibility utilization only; not canonical gateway pool truth |
A protected model endpoint returning 401/403 means gateway reachable, auth required — not gateway down. A missing pool collector degrades only the pool panel; session and gateway rows still render.
Discovery and configuration
Claude binary
CLAUDE_BINcommand -v claude
CLIProxyAPI base URL
CLIPROXYAPI_BASE_URLfleet.cliproxy_base_urlin$PREFS_PATH- Claude settings
ANTHROPIC_BASE_URL - portable fallback
http://127.0.0.1:8317
Client authentication uses CLIPROXY_API_KEY or CLIPROXYAPI_API_KEY. Values are used only as
request headers and are never printed.
Server-side pool snapshot
Preferred options, in order:
CLIPROXYAPI_POOL_COMMAND— executable path that prints the sanitized JSON schema below. Shell command strings are rejected.CLIPROXYAPI_SSH_HOSTplus optionalCLIPROXYAPI_SSH_USER, or the equivalentfleet.cliproxy_ssh_host/fleet.cliproxy_ssh_userpreferences. This invokesbin/ops-fleet-pool-snapshot, which may sudo only the fixed remote executable${CLIPROXYAPI_REMOTE_HELPER:-/usr/local/libexec/cliproxy-fleet-snapshot}.
The public plugin intentionally has no real host, IP, username, or account identity defaults.
Invocation
Run and relay its output verbatim, stripping ANSI for a chat code block:
${CLAUDE_PLUGIN_ROOT}/bin/ops-fleet $ARGUMENTS
Flags:
| Flag | Behavior |
|---|---|
--once / --snapshot |
single render |
--tui / --watch [secs] |
live alternate-screen TUI; q quits |
--all |
include completed sessions when supported by Claude Code |
--models |
expand all effective model IDs |
--no-pool / --no-remote / --no-ec2 |
skip server-side pool collection |
--legacy-accounts |
show local rotator compatibility rows |
--no-color |
plain output |
In a real terminal the command defaults to the TUI. Captured stdout defaults to one shot.
Output contract
Always render the dashboard first in a fenced code block. Then add one concise summary covering:
- total sessions and any blocked/waiting sessions;
- gateway reachability/auth/model count;
- pool enabled/disabled/backup auth-record counts and configured routing strategy;
- recent inference error rate, 429/5xx, and p95 latency;
- any degraded data source.
End with one line noting that the live TUI is
${CLAUDE_PLUGIN_ROOT}/bin/ops-fleet --tui in a real terminal.
Read-only and safety guarantees
- Never query
/v0/management/usage-queue; it pops telemetry records. - Never require the remote Management API; lockouts or localhost-only management must not break fleet status.
- Never print client or management keys.
- Never return raw proxy logs or account identities.
- Never treat local rotator state as the canonical remote pool.
- Never report a missing optional collector as gateway failure.
版本历史
-
v3.14.0
GitHub ↗
原版更新说明
### Fixed - Daemon: memory extractions started early by new messages now record their exit code in `daemon-health.json`, like scheduled runs. - Daemon: a cron job that exits non-zero now raises `error_count` and sets `last_error` in `daemon-health.json`, and `/ops:daemon check` fails it. Successful runs set `last_success`. (#1085) - Daemon: self-upgrade on version drift no longer crashes on the undefined `LOG_FILE`. (#1085) - `inbox-digest` no longer aborts on hosts without a WhatsApp bridge. (#1085) - Account rotation: `daemon.mjs` loads again. #698 had deleted `isLoopSession` from `bg-respawn.mjs`. It is restored, along with the deferral of `/loop` sessions after rotation and in the deferred sweep: they respawn once no longer looping, or after 90 minutes. A host with this service installed starts rotating once updated. (#982) ### Added - `ops-rules` Rule 18 — "Steer every project toward profit". A standing rule for every ops skill: name the profit link (revenue up, cost down, revenue protected, or demand evidence gained) before picking or proposing work, read revenue and cost from the `ops-revenue` sources, run the `ops-pmf` gate at milestone start, prefer the shortest path to the first payment, and report outcomes in money terms. Placed in a new precedence tier, "Direction", below gates, truth and form: it selects among permitted work and never loosens the send, spend or no-fabrication rules. - `SubagentStart` hook: every subagent, including the agents in `agents/` (which do not load `ops-rules`), now starts with the same one-paragraph rules pointer the main session gets, including the Rule 18 profit line. `hooks/ops-rules-context.sh` takes the event name as its first argument and defaults to `SessionStart`. - Every agent file in `agents/` ends with the same short Rule 18 section; `tests/test-agents-lint.sh` fails when one is missing or differs. ### Changed - Plugin-root `CLAUDE.md` pointer now reads "Rules 0–18" (it still said 0–10). - Daemon: on Linux hosts without a reachable systemd user manager (containers, SSH without lingering), `ops-daemon.sh` no longer exits at startup. - Account rotation: restored the default-off post-respawn continuation turn (`CLAUDE_ROTATION_INJECT_CONTINUATION=1`) that #698 deleted, and run its test.
-
v3.13.0
GitHub ↗
原版更新说明
### Added - New skill `ops-pmf` — demand-evidence gate & builder for the revenue/GTM layer. Before a build milestone starts it runs six forcing questions (who pays, when the first euro lands, what counted demand evidence exists), scores evidence in tiers E0–E3 (only commitment E2 and payment E3 count as proof), and issues one verdict per milestone: PASS, EVIDENCE-PENDING (named owner + evidence plan ≤ 14 days), or NO-REVENUE-PATH ("geen verdienpad" — loses build priority, labelled and parked, never silently built). Its `prove` subcommand does the evidence-collection work as drafts (pre-sale/deposit offers, paid-pilot/LOI drafts, landing copy handed to `ops-marketing`); all outbound and money actions stay draft → approval → send. Evidence lives in one ledger per project (`.planning/evidence/LEDGER.md`) with the summary in `.planning/PROJECT.md` § Revenue Model & PMF — the same files Amp coordinators and GSD-style phase work read, so there is one truth. - New agent `pmf-scout` (optional, read-only) — gathers demand signals and proposes ledger updates; tier changes to E2/E3 are confirmed by the gate, not the scout. - `ops-gtm`: the `plan` flow now runs the PMF gate as step 4b before the launch handoff (a NO-REVENUE-PATH verdict replaces the launch handoff with the evidence plan), and `brief` Proof points must cite ledger evidence or be marked `[assumed — no evidence yet]`.
-
v3.12.1
GitHub ↗
原版更新说明
### Fixed - ops-task-reminder: the portable lock now runs the whole counter transaction under a real fcntl.flock, so one worker can no longer remove another's fresh lock and lose counter updates.
-
v3.12.0
GitHub ↗
原版更新说明
### Changed Add /ops:ops-mix and evidence-only A&R mix-evidence mode using the configured Mixforge engine.
-
v3.11.0
GitHub ↗
原版更新说明
### Changed Release safety, maintenance and inbox fixes from #1033: passive daemon monitoring, timezone-safe AWS audit dates, fail-closed release merge gates (same-head CI, Copilot review, resolved threads), progressive inbox with attachment and archive read-back proofs, and gate-only outbound wording in ops-desk and ops-leadgen.
此处仅展示最近 5 个版本。 在原站查看完整版本历史 ↗
当前收录版本
0.0.1
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 提供统一的只读运维仪表板,集成 Claude 会话、CLIProxyAPI 网关、模型目录、认证池和推理信号监控
- 适用于需要实时监控本地和远程 AI 服务状态的运维场景,具有明确的实用价值
亮点
- 触发词精准完整,明确列出 'fleet dashboard'、'CLIProxy sessions' 等关键词,边界清晰
待提升项
-
文档长度略超理想范围 原报告严重程度:轻微
SKILL.md 内容约600行,略超过500行的理想长度
改进建议:可考虑将部分配置细节或示例移至独立文档,保持主文档简洁
亮点
- 结构完整,包含功能说明、数据源、配置、调用、输出契约和安全保证
- 使用清晰的表格和代码块,便于理解和执行
待提升项
-
常见异常处理细节不足 原报告严重程度:轻微
未显式说明网络超时、认证失败等常见异常的具体回退策略
改进建议:补充常见异常场景的处理说明,提升执行健壮性
亮点
- 工具来源明确,参数说明清晰,有完善的安全保证和只读承诺
- 覆盖主要异常场景,如池收集器缺失时的降级处理
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
-
账号、密钥或授权
使用专用、最小权限账号,不把密钥粘贴到公开内容或命令日志;核对接收数据的服务与租户。
主文档提及 · 第 26 行 -
管理员或提升权限
确认确有必要再提升权限;不要关闭防护、绕过证书验证或扩大整个系统的访问权限。
主文档提及 · 第 67 行
文档引用的域名或地址
这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。
- 127.0.0.1
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。