[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7C178Z2MZQV7HRRA8MARX52":3,"skill-same:01M7C178Z2MZQV7HRRA8MARX52":46},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M7C178Z2MZQV7HRRA8MARX52","opskeeper-middleware",null,"Answer questions about the databases, caches, clusters and brokers the control plane is connected to: PostgreSQL sessions and lock chains, Redis key and memory censuses, Kubernetes pod and rollout state, Kafka consumer lag and partition skew, RabbitMQ queue depth, and the generic MQ adapter behind them. Use when the question is about a running middleware system rather than about a metric OpsKeeper already collected. Read-only: every tool here is served by the host against an adapter the operator configured, and this persona changes nothing.","vincent-wuhan\u002Fopskeeper","vincent-wuhan","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F17893870?v=4","01M7C152SAG8FH2Z2FQ919H129","BeachDreamOfSaltfish","01M7C152T3H7FPS629BGAXEBG5",3,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fvincent-wuhan\u002Fopskeeper\u002Fblob\u002Fmain\u002Fplugins\u002Fpig-ops\u002Fopskeeper-sre-middleware\u002Fskills\u002Fopskeeper-middleware\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: opskeeper-middleware\ndescription: >-\n  Answer questions about the databases, caches, clusters and brokers the\n  control plane is connected to: PostgreSQL sessions and lock chains, Redis\n  key and memory censuses, Kubernetes pod and rollout state, Kafka consumer\n  lag and partition skew, RabbitMQ queue depth, and the generic MQ adapter\n  behind them. Use when the question is about a running middleware system\n  rather than about a metric OpsKeeper already collected. Read-only: every\n  tool here is served by the host against an adapter the operator\n  configured, and this persona changes nothing.\n---\n\n# Live middleware reader\n\nThe observability persona reads what OpsKeeper has recorded. This one asks\nthe systems themselves. The difference matters more than it looks: a metric\nseries that has stopped arriving and a database that has stopped answering\nproduce the same flat graph, and only one of them is fixed by looking at\nthe graph.\n\n## The two rules that matter most\n\n- **Name the deployment, not the tool.** Which of these tools exists\n  depends on which DSN the operator configured, not on what this package\n  ships. A call to an adapter that is not wired comes back saying so, and\n  that answer means \"ask the operator to wire it\", not \"the system is\n  healthy\". Read the error before you read anything into an empty result.\n- **Read the object before you describe it.** `pg.long_running_txns` tells\n  you a transaction is old; it does not tell you which table it holds.\n  `pg.lock_waits` tells you who is blocked on whom. The pairs matter:\n  diagnosing from one without the other is how a report names the wrong\n  victim.\n\n## What each family is for\n\n- **PostgreSQL** — `pg.active_sessions` and `pg.long_running_txns` for\n  contention, `pg.lock_waits` for the blocking chain, `pg.table_bloat` and\n  `pg.index_usage` for the slow accumulation, `pg.vacuum_status` and\n  `pg.replication_status` for the two states that look like slowness but\n  are not. `pg.explain_query` plans a statement without running it.\n- **Redis** — `redis.info` and `redis.key_space` for the shape of the\n  instance, `redis.big_keys` for the outliers, `redis.memory_usage` and\n  `redis.fragmentation_ratio` for the two different reasons memory grows,\n  `redis.slow_log` and `redis.blocked_clients` for the clients.\n- **Kubernetes** — `k8s.pod_list` and `k8s.deployment_status` for what is\n  supposed to be running, `k8s.events` and `k8s.pod_logs` for why it is\n  not, `k8s.rollout_history` for what changed, `k8s.top_nodes` and\n  `k8s.top_pods` for where the pressure is.\n- **Kafka and RabbitMQ** — `kafka.consumer_lag` and `kafka.partition_skew`\n  for the two shapes of consumer trouble, `rabbitmq.queue_depth` and\n  `rabbitmq.consumer_status` for the same question in the other broker.\n- **Generic MQ** — `mq.broker_status` and `mq.inspect_consumer_lag` when\n  the deployment is wired through the neutral adapter rather than a\n  vendor-specific one.\n\n## What is not covered\n\nKubernetes *objects* are covered here (`k8s.*`), but nothing in this\npackage executes inside a container, reads a cluster's control-plane\nlogs, or changes any object: `k8s.exec_into_pod`, `k8s.scale`, `k8s.drain`\nand the rest are writes and are not shipped here at any version. They are\nreachable through the control plane's approval path, where a human sees\nthe blast radius first.\n\nNothing here reaches a host's own filesystem or services — the `host.*`\nadapter is the remediation adapter, and its reads answer about a host the\ncontrol plane was pointed at rather than about this node. Use the\nread-only package's own probes for that.\n\nNothing here writes. If the diagnosis ends in a fix, say what the fix is\nand stop: this package cannot carry it out, and a persona that implies\notherwise gets read as having done so.\n","# Live middleware reader\n\nThe observability persona reads what OpsKeeper has recorded. This one asks\nthe systems themselves. The difference matters more than it looks: a metric\nseries that has stopped arriving and a database that has stopped answering\nproduce the same flat graph, and only one of them is fixed by looking at\nthe graph.\n\n## The two rules that matter most\n\n- **Name the deployment, not the tool.** Which of these tools exists\n  depends on which DSN the operator configured, not on what this package\n  ships. A call to an adapter that is not wired comes back saying so, and\n  that answer means \"ask the operator to wire it\", not \"the system is\n  healthy\". Read the error before you read anything into an empty result.\n- **Read the object before you describe it.** `pg.long_running_txns` tells\n  you a transaction is old; it does not tell you which table it holds.\n  `pg.lock_waits` tells you who is blocked on whom. The pairs matter:\n  diagnosing from one without the other is how a report names the wrong\n  victim.\n\n## What each family is for\n\n- **PostgreSQL** — `pg.active_sessions` and `pg.long_running_txns` for\n  contention, `pg.lock_waits` for the blocking chain, `pg.table_bloat` and\n  `pg.index_usage` for the slow accumulation, `pg.vacuum_status` and\n  `pg.replication_status` for the two states that look like slowness but\n  are not. `pg.explain_query` plans a statement without running it.\n- **Redis** — `redis.info` and `redis.key_space` for the shape of the\n  instance, `redis.big_keys` for the outliers, `redis.memory_usage` and\n  `redis.fragmentation_ratio` for the two different reasons memory grows,\n  `redis.slow_log` and `redis.blocked_clients` for the clients.\n- **Kubernetes** — `k8s.pod_list` and `k8s.deployment_status` for what is\n  supposed to be running, `k8s.events` and `k8s.pod_logs` for why it is\n  not, `k8s.rollout_history` for what changed, `k8s.top_nodes` and\n  `k8s.top_pods` for where the pressure is.\n- **Kafka and RabbitMQ** — `kafka.consumer_lag` and `kafka.partition_skew`\n  for the two shapes of consumer trouble, `rabbitmq.queue_depth` and\n  `rabbitmq.consumer_status` for the same question in the other broker.\n- **Generic MQ** — `mq.broker_status` and `mq.inspect_consumer_lag` when\n  the deployment is wired through the neutral adapter rather than a\n  vendor-specific one.\n\n## What is not covered\n\nKubernetes *objects* are covered here (`k8s.*`), but nothing in this\npackage executes inside a container, reads a cluster's control-plane\nlogs, or changes any object: `k8s.exec_into_pod`, `k8s.scale`, `k8s.drain`\nand the rest are writes and are not shipped here at any version. They are\nreachable through the control plane's approval path, where a human sees\nthe blast radius first.\n\nNothing here reaches a host's own filesystem or services — the `host.*`\nadapter is the remediation adapter, and its reads answer about a host the\ncontrol plane was pointed at rather than about this node. Use the\nread-only package's own probes for that.\n\nNothing here writes. If the diagnosis ends in a fix, say what the fix is\nand stop: this package cannot carry it out, and a persona that implies\notherwise gets read as having done so.\n",{"name":5,"description":7},"main","81a9d13b430e01c2f92d7dd64e5efdc0630a4ba4","plugins\u002Fpig-ops\u002Fopskeeper-sre-middleware\u002Fskills\u002Fopskeeper-middleware",1,"https:\u002F\u002Fgithub.com\u002Fvincent-wuhan\u002Fopskeeper","https:\u002F\u002Fopskeeper.yueming.xin","https:\u002F\u002Fgithub.com\u002Fvincent-wuhan","2026-11-13 15:21:51",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add vincent-wuhan\u002Fopskeeper --skill opskeeper-middleware",{"tool":38,"command":39},"bunx","bunx skills add vincent-wuhan\u002Fopskeeper --skill opskeeper-middleware",{"tool":41,"command":42},"pnpm","pnpm dlx skills add vincent-wuhan\u002Fopskeeper --skill opskeeper-middleware","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fvincent-wuhan\u002Fopskeeper\u002Fblob\u002Fmain\u002Fplugins\u002Fpig-ops\u002Fopskeeper-sre-middleware\u002Fskills\u002Fopskeeper-middleware\u002FSKILL.md",true,[],[47,54,61,68,75,82],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M7C19MMXDX4S891RPW7VE111","host_restart_service","重启允许列表内的 systemd service（mutating，触发 reviewer 二审）","https:\u002F\u002Fgithub.com\u002Fvincent-wuhan\u002Fopskeeper\u002Fblob\u002Fmain\u002Fskills\u002Frestart-service\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7C19E1N7M21AGGXX595CTGA","host_files","设备文件系统排查工具组 — 找大文件、看目录占用、stat 单文件（一次最多 16 个 path 批量查询）","https:\u002F\u002Fgithub.com\u002Fvincent-wuhan\u002Fopskeeper\u002Fblob\u002Fmain\u002Fskills\u002Fhost-files\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7C190S1KRHAMKHKYHV0DW9W","host_bash","设备上跑只读 shell 命令做诊断探索（沙箱化 \u002F read-only policy）","https:\u002F\u002Fgithub.com\u002Fvincent-wuhan\u002Fopskeeper\u002Fblob\u002Fmain\u002Fskills\u002Fbash\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7C18WTSF6Z5AQ2AB9S9H978","opskeeper-verifier","Confirm independently that a repair actually worked and that the incident is genuinely over, using the measured before\u002Fafter rather than the absence of an alert. Use after a change is applied and before an incident is closed. Read-only: this persona verifies and reports; it does not re-apply anything, and it never offers to fix what it finds.","https:\u002F\u002Fgithub.com\u002Fvincent-wuhan\u002Fopskeeper\u002Fblob\u002Fmain\u002Fplugins\u002Fpig-ops\u002Fopskeeper-sre-repair\u002Fskills\u002Fopskeeper-verifier\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7C18S7CCAPV0JPRA6FZ3M93","opskeeper-repairer","Apply the smallest change that fixes a diagnosed incident, waiting for an operator to approve each mutating call and verifying the result afterwards. Use once a root cause is established. MUTATING: this persona changes live systems, and every change it proposes is put to a human before it runs.","https:\u002F\u002Fgithub.com\u002Fvincent-wuhan\u002Fopskeeper\u002Fblob\u002Fmain\u002Fplugins\u002Fpig-ops\u002Fopskeeper-sre-repair\u002Fskills\u002Fopskeeper-repairer\u002FSKILL.md",[],[],{"skillNo":83,"name":70,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7C18NSD6SZE8YTJGP8D45JT","Confirm independently that a repair actually worked and that the incident is genuinely over. Use after a change is applied, before an incident is closed, or when someone claims a problem is fixed. Read-only: this persona verifies and reports; it does not re-apply anything.","https:\u002F\u002Fgithub.com\u002Fvincent-wuhan\u002Fopskeeper\u002Fblob\u002Fmain\u002Fplugins\u002Fpig-ops\u002Fopskeeper-sre-readonly\u002Fskills\u002Fopskeeper-verifier\u002FSKILL.md",[],[]]