Queue AIops

SKILL运维和基础设施
运维和基础设施 未标注权限 许可证不明确
安装这个技能

Use this skill whenever the user needs to operate a redis cache or a rabbitmq broker — a one-shot overview, redis memory posture (used vs maxmemory, eviction policy, fragmentation), SLOWLOG and a SCAN-budgeted big-key sample (never KEYS *), connected clients, CONFIG get/set, rabbitmq queues with backlog depth, connections/channels, policies and node watermark alarms, four flagship RCAs (redis memory pressure, redis latency/slowlog, rabbitmq queue backlog, connection churn on both platforms), and governed writes (set a config parameter, kill a client, declare/purge/delete a queue, set/delete a policy). Always use this skill for "redis", "rabbitmq", "maxmemory", "eviction", "evicted keys", "big key", "slowlog", "why is my cache slow", "queue backlog", "messages piling up", "no consumers", "unacked messages", "memory watermark", "connection churn", "purge a queue", "rabbitmq policy" when the context is a redis or rabbitmq deployment. Do NOT use when the target is something other than a redis/rabbitmq broker (a hypervisor, storage appliance, backup product, container-orchestration cluster, database server, monitoring stack, or OT/industrial equipment) — route those to the appropriate other AIops-tools skill. Managed cloud queue services and other broker products are out of scope. Governed broker operations with a built-in governance harness (audit, policy, token budget, undo, risk-tiers). Behaviour is validated by a mock-based test suite; see docs/VERIFICATION.md for the live-verification checklist.

一句话选型结论

按资料字段整理

Queue AIops是运维和基础设施类的 Agent Skill,安装方式未标注,权限级别未标注,许可证不明确,有可直接复制的安装命令。技能本质是给模型读的说明书,效果取决于模型与客户端;装完先用一个小任务验证,再放进正式流程。

分类运维和基础设施 安装方式未标注 权限级别未标注权限 许可证许可证不明确
累计安装 未标注 本周 未标注
GitHub 星标 未标注 仓库 未标注
下载量 未标注 技能市场下载数
权限级别 未标注权限 安装前请确认风险范围
许可证 许可证不明确 未说明

安装

未标注
在支持 Skills 的客户端里执行,装完问一句「你有哪些技能」验证
skillhub install user_993b98b1/queue-aiops
  1. 1
    确认客户端支持

    确认你的客户端支持 Skills(Claude、Codex、Cursor 等),并升级到较新的版本。

  2. 2
    拿到技能文件

    执行上面的命令安装;也可以把仓库里的 SKILL.md 手动放进客户端的 skills 目录。

  3. 3
    刷新技能列表

    重新打开客户端,或刷新技能列表,让新放进来的技能被加载。

  4. 4
    验证是否生效

    问一句「你有哪些技能」,确认列表里出现它,再拿一个小任务试跑。

技能档案

运维和基础设施
字段来自技能仓库与公开索引,中文说明由本站标注
作者 / 维护方user_993b98b1仓库 未标注 · 版本 未标注
宿主客户端未标注技能可被这些客户端加载
安装方式未标注安装包 community
权限级别未标注权限安装前请确认风险范围
许可证未说明许可证不明确,商用前请自行确认条款
仓库可用性available技能仓库当前是否可访问
最近核验未标注上游最后核验时间 · 数据更新 1791653843
正文体量17.1 KBSKILL.md 原文大小,越大说明说明书写得越细

典型使用场景

3 类
按分类整理的常见用法,具体以 SKILL.md 为准
查服务与日志

按现象定位服务状态与日志线索。

写部署与巡检脚本

把重复的部署、巡检写成脚本。

故障排查

按步骤排查网络、依赖与配置。

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 有可直接复制的安装命令,不用自己翻文档找入口。

先想清楚的地方

  • 没有标注权限级别,实际能做什么要装好后确认。
  • 许可证不明确,商用或二次分发前先到仓库确认条款。
  • 没有做站内核验,内容以作者仓库为准。
  • 技能只是说明书,实际效果取决于模型与客户端,装完先用小任务试一遍。

更适合

  • 需要在运维和基础设施场景里给模型补一套做法的人。
  • 愿意先读一遍 SKILL.md、确认它会让模型做什么的人。

不太适合

  • 对许可证要求很严、必须明确可商用的人。
  • 只想装完就自动变强、不打算看说明书的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
技能权限级别安装方式累计安装宿主客户端安装命令
Queue AIops当前 未标注权限 未标注 未标注 未标注 有
Azure 部署 调用外部服务 GitHub 仓库 664.2 万 Codex、Claude、Cursor 有
Azure diagnostics 问题管理 调用外部服务 GitHub 仓库 657.6 万 Codex、Claude、Cursor 有
Azure aigateway 部署 调用外部服务 GitHub 仓库 655.3 万 Codex、Claude、Cursor 有
Azure AI 搜索 调用外部服务 GitHub 仓库 651.4 万 Codex、Claude、Cursor 有
Azure Cloud migrate 部署 调用外部服务 GitHub 仓库 650.7 万 Codex、Claude、Cursor 有

SKILL.md 全文

17.1 KB
模型实际读到的说明书原文,来自技能仓库

Queue AIops

> Disclaimer: Community-maintained open-source project, not affiliated with, endorsed by, or sponsored by the Redis or RabbitMQ projects or their respective owners. Redis and RabbitMQ are trademarks of their respective owners. Source at github.com/AIops-tools/Queue-AIops under the MIT license.

Governed broker operations — 28 MCP tools across redis (RESP client) and
rabbitmq (management HTTP API), every one wrapped with the bundled
@governed_tool harness: a local unified audit log under ~/.queue-aiops/,
policy engine, token/runaway budget guard, undo-token recording, and
descriptive risk tiers. A per-target platform field selects the
protocol shape, so one config can span a mixed estate. The redis password /
rabbitmq management password is stored encrypted
(~/.queue-aiops/secrets.enc, Fernet + scrypt) — never plaintext on disk.

> Standalone: the governance harness is bundled in the package
> (queue_aiops.governance) — no external skill-family dependency. Behaviour is
> covered by a mock-based test suite; docs/VERIFICATION.md is the checklist for a
> live run (both platforms are free/self-hostable, so a lab container is enough).

What This Skill Does

Group Tools Count R/W
Overview queue_overview 1 read
redis redis_server_info, redis_memory_stats, redis_clients, redis_slowlog, redis_config_get, redis_keyspace, redis_big_keys 7 read
rabbitmq rabbitmq_overview, list_queues, queue_detail, list_connections, list_channels, list_policies, node_health 7 read
Flagship analyses redis_memory_pressure_rca, redis_latency_rca, rabbitmq_queue_backlog_rca, connection_churn_analysis 4 read
Writes redis_config_set, redis_kill_client, declare_queue, set_policy, delete_policy 5 write (med)
Writes purge_queue, delete_queue 2 write (high)
Undo undo_list, undo_apply 2 read / write

The four flagship analyses are transparent heuristics that report their numbers,
never a black-box verdict: redis_memory_pressure_rca reads used-vs-maxmemory +
eviction policy + fragmentation + the big-key sample into a cause + action;
redis_latency_rca digests the SLOWLOG by command pattern and adds fork/AOF
stall signals; rabbitmq_queue_backlog_rca classifies each deep queue (no
consumers / unacked pileup / rate deficit) and reports watermark alarms that
block all publishers; connection_churn_analysis works on both platforms and
pins churn to client sources.

Quick Install

uv tool install queue-aiops
queue-aiops init       # wizard: pick platform (redis/rabbitmq) + encrypted secret
queue-aiops doctor

Or as an OpenClaw plugin, which installs this skill and its MCP server together:

openclaw plugins install clawhub:@zw008/queue-aiops
openclaw skills info queue-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

  • Get a one-shot snapshot (overview / redis_server_info / rabbitmq_overview)
  • Investigate cache memory pressure (analyze memory) → cause + action
    (raise maxmemory vs fix eviction policy vs split big keys)
  • Chase latency (analyze latency, redis slowlog) → O(N) command patterns,
    blocked clients, fork/AOF stalls
  • Triage a growing queue (analyze backlog, rabbitmq queues) → per-queue
    cause (no consumers / unacked pileup / slow consumers) + watermark alarms
  • Spot connection churn or leaks (analyze churn, redis clients,
    rabbitmq connections) — clients grouped by source
  • Safely change state: redis config-set (undo = prior value), rabbitmq set-policy/delete-policy (undo = prior policy), declare-queue, and the
    high-risk purge/delete-queue (dry-run + double confirmation; messages are
    not restorable)

Do NOT use when the target is not a redis/rabbitmq broker — route
hypervisor, storage, backup, cluster/orchestration, database, network,
monitoring-stack, or OT/industrial work to the appropriate other AIops-tools
skill.

Related Skills — Skill Routing

If the user wants… Use
redis / rabbitmq cache & broker ops queue-aiops (this skill)
A non-broker platform (hypervisor, storage, backup, cluster, database, network, monitoring stack, OT edge) the appropriate other AIops-tools skill
Managed cloud queue services / other broker products out of scope for this tool

Common Workflows

1. Redis is near maxmemory and starting to evict

  1. queue-aiops doctor → confirm the broker is reachable and the credential (if any)
    works before you read numbers off it.
  2. queue-aiops redis memory → used vs maxmemory, the eviction policy in force, and
    the fragmentation ratio, straight from INFO memory.
  3. queue-aiops analyze memory --used-pct 85 → findings in check order, each citing its measured
    number (order is not severity — weigh them all): noeviction near the limit (the dangerous one — writes will start failing
    with OOM rather than evicting), active eviction in progress, fragmentation versus real
    swapping, and oversized keys.
  4. queue-aiops redis bigkeys --count 500 → a SCAN-budgeted sample of the largest keys,
    reported with its coverage % so you know how much of the keyspace was actually
    examined. A low coverage number means "no big key found" is not yet an answer.
  5. queue-aiops redis keyspace → which database the growth is in, to point the fix at
    the right workload.
  6. If the policy is the problem: queue-aiops redis config-get maxmemory* to read the
    current values, then
    queue-aiops redis config-set maxmemory-policy allkeys-lru --dry-run and re-run for
    real (double-confirm; the prior value is captured from CONFIG GET as the undo
    descriptor).
  7. Failure branch: switching a cache from noeviction to an eviction policy means
    Redis will start deleting data — if that instance is being used as a datastore
    rather than a cache, this is the wrong fix and you need memory instead. Reverse it
    immediately with queue-aiops undo list → undo apply <id>, which restores the
    prior policy rather than a default. Note config-set changes the running config
    only; if it must survive a restart, persist it in the config file too — the undo store
    cannot help you with a value the broker forgot on its own.

2. Redis got slow

  1. queue-aiops redis slowlog --limit 50 → the slowest entries the broker itself
    recorded.
  2. queue-aiops analyze latency --slow-us 10000 → the slowlog digested by command
    pattern
    , with O(N) commands flagged and an incremental variant suggested
    (KEYS → SCAN, SMEMBERS → SSCAN), plus blocked-client counts and fork/AOF stall
    signals read out of INFO persistence.
  3. queue-aiops redis info → confirm whether the stalls line up with background saves
    (a fork stall is a persistence problem, not a query problem).
  4. queue-aiops redis clients → who is connected, and how many are blocked;
    queue-aiops analyze churn → whether clients are reconnecting constantly, which shows
    up as latency but is really a client-configuration bug.
  5. If one client is pathological: queue-aiops redis kill-client --addr <ip:port> --dry-run then for real (double-confirm).
  6. Failure branch: kill-client is irreversible and records no undo — a killed
    connection cannot be un-killed, and a well-behaved client will simply reconnect,
    which fixes nothing while your kill is audited as a write. If latency does not
    improve, the cause is more likely the O(N) command pattern from step 2: fix the
    caller, not the connection. Killing clients in a loop will trip the runaway budget
    guard.

3. A RabbitMQ queue keeps growing

  1. queue-aiops rabbitmq overview and queue-aiops rabbitmq nodes → check first for
    memory or disk watermark alarms, which block every publisher on the node and make
    every queue look broken at once.
  2. queue-aiops rabbitmq queues --vhost / → queues sorted deepest-backlog-first.
  3. queue-aiops analyze backlog --vhost / --top 20 → the per-queue cause: no consumers
    attached
    , consumers connected but not acking (an unacked pile-up), or a publish
    rate simply outpacing delivery — each citing the measured counts.
  4. queue-aiops rabbitmq queue <name> → that queue's detail: consumer count, ready vs
    unacked split, and its arguments.
  5. queue-aiops rabbitmq connections and queue-aiops rabbitmq channels → confirm
    whether the consumers exist at all, and whether their prefetch is starving throughput.
  6. To cap unbounded growth while the consumer is fixed:
    queue-aiops rabbitmq set-policy backlog-cap '^orders\.' '{"max-length": 100000}' --apply-to queues --dry-run, then re-run for real (reversible — the prior policy is
    captured for undo).
  7. Failure branch: do not reach for rabbitmq purge as a first response — it is
    irreversible, risk=high, and destroys real messages; if the cause from step 3 was
    "no consumers", those messages are the backlog your consumers still need. Purge only
    with explicit sign-off, a --dry-run read first, and the CLI double confirmation.
    A max-length policy also drops messages once the cap is hit — if that is not
    acceptable, queue-aiops undo apply <id> restores the prior policy and the real fix
    is consumer capacity.

4. Retire a queue, reversibly

  1. queue-aiops overview → the broker-wide picture across configured targets.
  2. queue-aiops rabbitmq queue <name> --vhost / → confirm it is genuinely idle: zero
    consumers, zero ready, zero unacked. A queue with messages is not a queue you retire.
  3. queue-aiops rabbitmq policies → check no policy still targets its name pattern, so
    you are not leaving a dangling rule behind.
  4. queue-aiops rabbitmq delete-queue <name> --vhost / --dry-run → preview.
  5. Re-run without --dry-run (double-confirm, risk=high) — the write
    captures the queue's definition first, so the undo descriptor re-declares exactly
    that queue
    (durability and auto-delete flags included).
  6. queue-aiops rabbitmq queues → confirm it is gone and nothing else changed.
  7. Failure branch: queue-aiops undo apply <id> re-declares the queue from the
    captured definition — but it restores the queue, not its messages, which are gone
    with it. Bindings created outside this tool are not captured either. If the queue
    turns out to have been in use, expect to re-create bindings by hand; that asymmetry is
    why step 2 (proving it is idle) matters more than the undo does.

Governance & Safety

The skill delivers reads and writes and records them; it does not decide
whether a write is permitted. That is your agent's judgement, or the permission
of the account you connect it with (a Redis ACL user restricted to read
commands, a RabbitMQ management user with only the monitoring tag — writes
then fail at the broker). There is no read-only switch, policy file, or approval
gate.

  • Audit is the guarantee, and it is not bypassable. Every operation — MCP
    and CLI alike — is logged to ~/.queue-aiops/audit.db (relocatable via
    QUEUE_AIOPS_HOME): params (secrets redacted), result, status, duration, and
    the risk tier. The CLI writes the same row the MCP path does.
  • QUEUE_AUDIT_APPROVED_BY / QUEUE_AUDIT_RATIONALE are optional annotations
    recorded on the audit row (who/why); they are never required and never block.
  • Runaway guard — a safety backstop, not authorization: the same call looped
    in a tight window trips a circuit breaker. Disable with QUEUE_RUNAWAY_MAX=0.
  • Writes support --dry-run / dry_run=True and double confirmation at the CLI;
    CLI writes execute through the governed twins, so they are audited too.
  • Reversible writes capture the real fetched before-state and record an
    inverse descriptor; purge_queue and redis_kill_client are irreversible
    and record priorState only. delete_queue's undo restores the queue
    definition, never its messages — the descriptor says so.
  • Big-key sampling is SCAN-budgeted (never KEYS *); the redis surface is a
    typed command allow-list; rabbitmq paths are centrally percent-encoded
    (default vhost / included).

References

  • references/capabilities.md — full tool + platform + API/command reference
  • references/cli-reference.md — CLI command reference
  • references/setup-guide.md — onboarding, credentials, and connectivity

常见问题

5 问
答案由本站依据条目字段整理
Queue AIops怎么安装?

在支持 Skills 的客户端里执行:skillhub install user_993b98b1/queue-aiops。安装方式为未标注。装完刷新技能列表或重开客户端。

Queue AIops支持哪些客户端?

资料没有标注宿主客户端,但只要客户端支持 Skills(Claude、Codex、Cursor 等),一般都能加载。

Queue AIops权限高吗,安全吗?

权限级别为未标注权限。安装前先看它会读取或写入哪些内容。

Queue AIops收费吗?

本站不代收费用,也没有标注具体价格。是否收费取决于技能本身和所用的模型或客户端,正式使用前按作者说明确认。

Queue AIops用什么许可证?

许可证标注为 未说明(许可证不明确)。商用或二次分发前请到仓库确认条款原文。

热门专题

按场景挑技能
全部专题 →

技能内容以作者仓库为准;分类、权限级别与许可证状态的中文说明为中文整理,最近核验 未标注。