ceph-aiops
БесплатноБез исполняемых скриптовНе проверенUse this skill whenever the user needs to operate or diagnose a Ceph cluster via its ceph-mgr Dashboard REST API — decode a HEALTH_WARN/ERR state into cause +…
от zw0082 402 установки в других каталогахОб этом скилле
Ceph AIops
Audit availability: Real writes require a durable audit intent. Reads and previews can continue if audit storage fails; check the warning and audit health before relying on their audit trail.
Disclaimer: Community-maintained open-source project, not affiliated with, endorsed by, or sponsored by the Ceph project or any storage vendor. Product and trademark names belong to their owners. Source at github.com/AIops-tools/Ceph-AIops under the MIT license.
Governed Ceph operations via the ceph-mgr Dashboard REST API — 37 MCP tools, every one wrapped with the bundled @governed_tool harness: a local unified audit log under ~/.ceph-aiops/, token/runaway budget guard, undo-token recording, and descriptive risk tiers. The Dashboard password is stored encrypted (~/.ceph-aiops/secrets.enc, Fernet + scrypt) — never plaintext on disk. The flagship cluster_health turns raw HEALTH_WARN/ERR check codes into plain-language cause + suggested action.
Standalone: the governance harness is bundled in the package (
ceph_aiops.governance) — ceph-aiops has no external skill-family dependency. Works against vanilla ceph-mgr (cephadm / hypervisor-bundled / MicroCeph); no croit, no Kubernetes.
What This Skill Does
| Group | Tools | Count | Read or Write |
|---|---|---|---|
| Health | cluster_health (flagship RCA), cluster_status | 2 | 2 read |
| OSD | osd_tree, osd_df, osd_perf | 3 | 3 read |
| cluster_flag_set, osd_reweight, osd_mark_in, osd_mark_out, osd_purge | 5 | 5 write | |
| PG | pg_summary, pg_dump_stuck, scrub_status | 3 | 3 read |
| trigger_scrub, trigger_deep_scrub | 2 | 2 write | |
| Pool | pool_ls, pool_df | 2 | 2 read |
| set_pool_quota, set_pool_pg_num, set_pool_autoscale, pool_create, set_pool_size, pool_delete | 6 | 6 write | |
| RBD | rbd_ls | 1 | 1 read |
| rbd_image_create, rbd_snapshot_create, rbd_image_delete, rbd_snapshot_delete | 4 | 4 write | |
| CephFS / RGW | cephfs_status, rgw_status | 2 | 2 read |
| Cluster-ops | mon_status, mgr_status, slow_ops, capacity_forecast | 4 | 4 read |
| throttle_recovery | 1 | 1 write | |
| Undo | undo_list, undo_apply | 2 | 2 undo |
Totals: 37 tools — 17 read, 18 write, 2 undo. The MCP server exposes all 37; the CLI is a convenience subset.
Quick Install
uv tool install ceph-aiops
ceph-aiops init # interactive wizard: mgr host/port/username + encrypted Dashboard password
ceph-aiops doctor
Or as an OpenClaw plugin, which installs this skill and its MCP server together:
openclaw plugins install clawhub:@zw008/ceph-aiops
openclaw skills info ceph-aiops # expect: Visible to model: yes
Needs uvx on PATH: the MCP server is fetched with uv, pinned to this release.
When to Use This Skill
- Decode a HEALTH_WARN/ERR state (
cluster_health/health detail) — cause + action per active check (PG_DEGRADED,OSD_NEARFULL,SLOW_OPS,MON_DOWN,LARGE_OMAP_OBJECTS, …) - One-shot triage (
overview): HEALTH status + active checks + OSD up/in counts - Inspect OSDs (
osd_tree/osd_dfmost-full first /osd_perfslowest first), PGs (pg_summary/pg_dump_stuck/scrub_status), pools (pool_ls/pool_dfusable capacity) - Investigate slow requests (
slow_ops), MDS trimming lag (cephfs_status), RGW large-omap (rgw_status), mon quorum (mon_status), and days-to-nearfull (capacity_forecast) - Safely drain + purge an OSD, change pool size/quota, or throttle a slow rebalance (governed writes with dry-run + undo)
Do NOT use when the target is not Ceph (a hypervisor, another storage appliance, a backup product, a container cluster, or a network device). Route those to the appropriate other AIops-tools skill.
Related Skills — Skill Routing
| If the user wants… | Use |
|---|---|
| Ceph: HEALTH_WARN RCA, OSD/PG/pool/RBD/CephFS/RGW, rebalance, slow ops | ceph-aiops (this skill) |
| Any non-Ceph target (hypervisor, other storage, backup, cluster, network) | the appropriate other AIops-tools skill |
Common Workflows
1. "The cluster went HEALTH_WARN overnight" — decode it (read-only)
ceph-aiops doctor→ confirm the mgr Dashboard is reachable and the JWT login works before trusting anything elseceph-aiops overview→ HEALTH status, the list of active check codes, and OSD up/in counts in one shotceph-aiops health detail(MCP:cluster_health) → each active check translated into what it means, the likely cause, and a suggested action- Drill into the implicated resource:
PG_DEGRADED→pg_dump_stuck;OSD_NEARFULL→ceph-aiops osd df(most-full first);SLOW_OPS→slow_ops;MON_DOWN→mon_status;LARGE_OMAP_OBJECTS→rgw_status - Failure branch: if
doctorfails on auth, the Dashboard password is wrong or the store is locked — re-run `ceph-aiops secret s
Установить ceph-aiops в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
BashFAQ
Что делает скилл ceph-aiops?
Use this skill whenever the user needs to operate or diagnose a Ceph cluster via its ceph-mgr Dashboard REST API — decode a HEALTH_WARN/ERR state into cause + action (cluster_health), read the cluster status, inspect OSDs (tree/df/perf), placement groups (summary/stuck/scrub), pools (list/usable capacity), RBD images and snapshots, CephFS/MDS and RGW status, monitors/managers, slow ops and capacity forecast — plus governed writes (set cluster flags, reweight/mark-in/mark-out/purge OSDs, trigger scrubs, set pool quota/pg_num/autoscale/size, create/delete pools, create/delete RBD images and snapshots, throttle recovery/backfill). Always use this skill for "ceph health", "what does this HEALTH_WARN mean", "PG_DEGRADED / OSD_NEARFULL / SLOW_OPS / MON_DOWN", "ceph -s", "which OSD is most full", "drain an OSD", "purge an OSD", "stuck PGs", "overdue scrub", "pool usable capacity", "set pool size / quota", "rebalance is too slow / throttle backfill", "RBD image or snapshot", "MDS behind on trimming", "RGW large omap", "mon quorum", or "days to nearfull" when the context is a Ceph cluster (cephadm, hypervisor-bundled Ceph, or MicroCeph). Do NOT use when the target is not Ceph — a hypervisor, a different storage appliance, a backup product, a Kubernetes cluster, or a network device. Route those to the appropriate other AIops-tools skill (negative routing hint only). Common Ceph ops with a built-in governance harness (audit, policy, token budget, undo, risk-tiers).
Как установить скилл ceph-aiops?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ceph-aiops запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic