ops-fleet

OPS 按需服务:当用户请求“车队仪表板”、“CLIProxy 会话”等功能时,应使用此技能。

仓库最近推送
GitHub Stars
564
Forks
64
Issues / PRs
6

安装方式

先用 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 会话”等功能时,应使用此技能。

0 下载

介绍来源: third_party · Lifecycle-Innovations-Limited · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
输入和输出
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
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: 6

OPS ► 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

  1. CLAUDE_BIN
  2. command -v claude

CLIProxyAPI base URL

  1. CLIPROXYAPI_BASE_URL
  2. fleet.cliproxy_base_url in $PREFS_PATH
  3. Claude settings ANTHROPIC_BASE_URL
  4. 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:

  1. CLIPROXYAPI_POOL_COMMAND — executable path that prints the sanitized JSON schema below. Shell command strings are rejected.
  2. CLIPROXYAPI_SSH_HOST plus optional CLIPROXYAPI_SSH_USER, or the equivalent fleet.cliproxy_ssh_host / fleet.cliproxy_ssh_user preferences. This invokes bin/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.

版本历史

  1. 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.

  2. v3.12.0 GitHub ↗
    原版更新说明

    ### Changed Add /ops:ops-mix and evidence-only A&R mix-evidence mode using the configured Mixforge engine.

  3. 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.

  4. v3.10.29 GitHub ↗
    原版更新说明

    ### Fixed - `ops-speedup --clean` stays under 60s: on macOS it skips the slow login-items query (#1036); on Linux it skips the unused disk-reclaim scan and keeps the page cache unless `--aggressive` is set (#1035). - `ops-inbox` shows validated drafts as soon as each one is ready instead of after the whole scan (#1031). ### Changed - Hooks `ops-pretool-skill-update` and `ops-task-reminder` run async; the reminder takes a per-session lock so concurrent runs no longer lose counts, and it now also resets on Task* tools (#1032).

  5. v3.10.28 GitHub ↗
    原版更新说明

    ### Changed ops-ar: Cyanite schema drift (fileUploadRequest id, ID! upload var), real auth test via libraryTracks, webhook must verify HMAC-SHA512 Signature, bpmRangeAdjusted vs bpmPrediction, Soundcharts app-id/key pairing.

此处仅展示最近 5 个版本。 在原站查看完整版本历史 ↗

当前收录版本

0.0.1

核对来源版本 ↗

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值72/100

亮点

  • 提供统一的只读运维仪表板,集成 Claude 会话、CLIProxyAPI 网关、模型目录、认证池和推理信号监控
  • 适用于需要实时监控本地和远程 AI 服务状态的运维场景,具有明确的实用价值
触发精准90/100

亮点

  • 触发词精准完整,明确列出 'fleet dashboard'、'CLIProxy sessions' 等关键词,边界清晰
结构规范85/100

待提升项

  • 文档长度略超理想范围 原报告严重程度:轻微

    SKILL.md 内容约600行,略超过500行的理想长度

    改进建议:可考虑将部分配置细节或示例移至独立文档,保持主文档简洁

亮点

  • 结构完整,包含功能说明、数据源、配置、调用、输出契约和安全保证
  • 使用清晰的表格和代码块,便于理解和执行
执行可靠80/100

待提升项

  • 常见异常处理细节不足 原报告严重程度:轻微

    未显式说明网络超时、认证失败等常见异常的具体回退策略

    改进建议:补充常见异常场景的处理说明,提升执行健壮性

亮点

  • 工具来源明确,参数说明清晰,有完善的安全保证和只读承诺
  • 覆盖主要异常场景,如池收集器缺失时的降级处理
证据可验 (前四项均值)82/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

  • 账号、密钥或授权

    使用专用、最小权限账号,不把密钥粘贴到公开内容或命令日志;核对接收数据的服务与租户。

    主文档提及 · 第 26 行
  • 管理员或提升权限

    确认确有必要再提升权限;不要关闭防护、绕过证书验证或扩大整个系统的访问权限。

    主文档提及 · 第 67 行
文档引用的域名或地址

这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。

  • 127.0.0.1

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。