ops-fleet

GitHub

提供 Claude 会话集群的只读监控面板,实时展示本地及远程会话状态、CRS 中继健康度、账户利用率及 Token 类型分布,支持 TUI 和快照模式。

claude-ops/skills/ops-fleet/SKILL.md Lifecycle-Innovations-Limited/claude-ops

Trigger Scenarios

查看会话集群状态 检查 CRS 中继健康状况 监控账户资源利用率 排查会话连接问题

Install

npx skills add Lifecycle-Innovations-Limited/claude-ops --skill ops-fleet -g -y
More Options

Non-standard path

npx skills add https://github.com/Lifecycle-Innovations-Limited/claude-ops/tree/main/claude-ops/skills/ops-fleet -g -y

Use without installing

npx skills use Lifecycle-Innovations-Limited/claude-ops@ops-fleet

指定 Agent (Claude Code)

npx skills add Lifecycle-Innovations-Limited/claude-ops --skill ops-fleet -a claude-code -g -y

安装 repo 全部 skill

npx skills add Lifecycle-Innovations-Limited/claude-ops --all -g -y

预览 repo 内 skill

npx skills add Lifecycle-Innovations-Limited/claude-ops --list

SKILL.md

Frontmatter
{
    "name": "ops-fleet",
    "effort": "low",
    "maxTurns": 6,
    "description": "Read-only fleet dashboard — every Claude session (local + remote) with token type (oauth\/api\/bedrock\/crs), CRS relay state, account utilization, and per-session detail. No actions.",
    "allowed-tools": [
        "Bash",
        "Read"
    ],
    "argument-hint": "[--once] [--tui] [--all] [--no-color] [--no-ec2]"
}

OPS ► FLEET

Unified, read-only dashboard over the whole Claude session fleet — local claude --bg sessions plus any remote box reached over SSM — built from claude agents --json, claude daemon status, the account-rotation daemon state, and the CRS (Claude Relay Service) relay. It renders, it never mutates.

Runtime Context

The dashboard sources everything live; nothing needs to be parsed by this skill:

  • Sessions: claude agents --json (authoritative; nameless sessions fall back to their session id).
  • CRS relay: health at http://127.0.0.1:${CRS_PORT:-3005}/health, allowlist at ~/.claude/scripts/account-rotation/crs-allowlist.json, recent 429/529 from the relay window.
  • Account pool: the rotation daemon's keychain/util state (per-account util%, reset countdown).
  • Remote (EC2/FRA) sessions: a background-refreshed SSM cache (~/.claude/state/fleet-ec2.json, TTL ~45s); degrades to refreshing… / empty when unavailable.

These paths are the standard account-rotator install locations (scripts/install-account-rotator-linux.sh). If the rotator isn't installed the CRS / account / remote rows simply degrade to ? — the session table still renders.

Invocation

Run the bin script and relay its output verbatim (strip ANSI for the chat block):

${CLAUDE_PLUGIN_ROOT}/bin/ops-fleet $ARGUMENTS

Behavior:

  • In a real terminal it defaults to a live full-screen TUI (alt-screen, adaptive width, q to quit).
  • With stdout captured (slash command / cron) it auto-falls back to a one-shot snapshot.
  • Flags: --once/--snapshot force a single render · --tui/--watch [secs] force the loop · --all include completed sessions · --no-color plain · --no-ec2 skip the remote SSM round-trip.
  • Override the CRS port with CRS_PORT=NNNN (default 3005; 3000 is the legacy alias).

Output

ALWAYS render the dashboard to the user first — re-emit the snapshot inside a fenced code block (keep the box-drawing/bars/layout, strip ANSI). Below it add a one-line summary: total sessions + token-type breakdown, anything blocked or flapping (high att:), CRS health, and any account ≥90% util. The dashboard is the deliverable; the summary is the footnote.

End with a single line noting the live full-screen TUI is ${CLAUDE_PLUGIN_ROOT}/bin/ops-fleet (or --tui) in a real terminal.

Version History

  • 64bad13 Current 2026-08-12 09:00

Same Skill Collection

claude-ops/skills/boss/SKILL.md
claude-ops/skills/flow/SKILL.md
claude-ops/skills/ledger/SKILL.md
claude-ops/skills/ops-accounts/SKILL.md
claude-ops/skills/ops-ar/SKILL.md
claude-ops/skills/ops-aws-audit/SKILL.md
claude-ops/skills/ops-comms/SKILL.md
claude-ops/skills/ops-competitors/SKILL.md
claude-ops/skills/ops-credentials/SKILL.md
claude-ops/skills/ops-daemon/SKILL.md
claude-ops/skills/ops-dash/SKILL.md
claude-ops/skills/ops-deploy-fix/SKILL.md
claude-ops/skills/ops-deploy/SKILL.md
claude-ops/skills/ops-desktop/SKILL.md
claude-ops/skills/ops-doctor/SKILL.md
claude-ops/skills/ops-ecom/SKILL.md
claude-ops/skills/ops-feature-dev/SKILL.md
claude-ops/skills/ops-fires/SKILL.md
claude-ops/skills/ops-go/SKILL.md
claude-ops/skills/ops-gtm/SKILL.md
claude-ops/skills/ops-home/SKILL.md
claude-ops/skills/ops-inbox/SKILL.md
claude-ops/skills/ops-integrate/SKILL.md
claude-ops/skills/ops-leadgen/SKILL.md
claude-ops/skills/ops-linear/SKILL.md
claude-ops/skills/ops-mac/SKILL.md
claude-ops/skills/ops-marketing/SKILL.md
claude-ops/skills/ops-mcp/SKILL.md
claude-ops/skills/ops-merge/SKILL.md
claude-ops/skills/ops-monitor/SKILL.md
claude-ops/skills/ops-next/SKILL.md
claude-ops/skills/ops-orchestrate/SKILL.md
claude-ops/skills/ops-package/SKILL.md
claude-ops/skills/ops-pocket/SKILL.md
claude-ops/skills/ops-projects/SKILL.md
claude-ops/skills/ops-recap/SKILL.md
claude-ops/skills/ops-release/SKILL.md
claude-ops/skills/ops-resume/SKILL.md
claude-ops/skills/ops-revenue/SKILL.md
claude-ops/skills/ops-rotate-setup/SKILL.md
claude-ops/skills/ops-rotate/SKILL.md
claude-ops/skills/ops-secret-sync/SKILL.md
claude-ops/skills/ops-settings/SKILL.md
claude-ops/skills/ops-ship/SKILL.md
claude-ops/skills/ops-speedup/SKILL.md
claude-ops/skills/ops-status/SKILL.md
claude-ops/skills/ops-triage/SKILL.md
claude-ops/skills/ops-unifi/SKILL.md
claude-ops/skills/ops-update/SKILL.md

Metadata

Files
0
Version
64bad13
Hash
9ff3940c
Indexed
2026-08-12 09:00

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-12 20:11
浙ICP备14020137号-1 $Гость$