Borrowing it
Nothing to install: this file belongs to bezhai/chiwei-platform. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/bezhai/chiwei-platform/main/.claude/skills/ops/SKILL.mdgit clone --depth 1 https://github.com/bezhai/chiwei-platformWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/bezhai/chiwei-platform/ops)<a href="https://agentmods.dev/skills/bezhai/chiwei-platform/ops"><img src="https://agentmods.dev/badge/skills/bezhai/chiwei-platform/ops/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/bezhai/chiwei-platform/ops"><img src="https://agentmods.dev/badge/skills/bezhai/chiwei-platform/ops.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00055 | $0.02016 |
| Opus 5.5 | $0.00022 | $0.00806 |
| Sonnet 5.5 | $0.00011 | $0.00403 |
| Haiku 4.5 | $0.00006 | $0.00202 |
Grade A, and why
ops scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 190 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/ops
通过 Dashboard API 执行运维查询和受控操作,所有调用自动记录审计日志。
边界:
- 负责:服务状态、Pod、最近构建、泳道绑定、gateway rules、审计日志。
- 不负责:部署/下线/发布(走
make或/ship)、应用日志(走make logs)、数据库访问(走/ops-db)、Langfuse(走 langfuse skill)、skill 文件管理。
参数
!`echo "$ARGUMENTS"`
公共配置
所有请求通过 http.sh 发送,公共参数:
- Base URL:
$PAAS_API/dashboard/api - 认证 Header:
X-API-Key: $PAAS_TOKEN(对内对外同一把钥匙,dashboard 也认 PAAS_TOKEN)
HTTP=".claude/skills/api-test/scripts/http.sh"
BASE="$PAAS_API/dashboard/api"
AUTH="X-API-Key: $PAAS_TOKEN"
子命令
status [APP] — 服务状态
$HTTP GET "$BASE/ops/services" "$AUTH"
返回全部服务及 Release 状态。如果指定了 APP,从返回结果中过滤展示。
pods APP [LANE] — Pod 状态
# LANE 默认 prod
$HTTP GET "$BASE/ops/services/<APP>/pods?lane=<LANE>" "$AUTH"
latest-build APP — 最近成功构建
$HTTP GET "$BASE/ops/builds/<APP>/latest" "$AUTH"
bindings — 泳道绑定列表
$HTTP GET "$BASE/ops/lane-bindings" "$AUTH"
bind TYPE KEY LANE — 创建泳道绑定
$HTTP POST "$BASE/ops/lane-bindings" \
'{"route_type":"<TYPE>","route_key":"<KEY>","lane_name":"<LANE>"}' \
"$AUTH"
unbind TYPE KEY — 删除泳道绑定
$HTTP DELETE "$BASE/ops/lane-bindings?type=<TYPE>&key=<KEY>" "$AUTH"
gateway — api-gateway 路由规则调度
调度 api-gateway 的流量路由规则:查看配置、预览命中、增删改、止血启停、调权、回滚。所有写动作经 Dashboard 中转写审计(caller/规则名/before→after/reason/快照版本),再转发到 paas-engine 的 gateway-rules 管理 API。
gateway list — 列出全部规则(只读)
$HTTP GET "$BASE/ops/gateway-rules" "$AUTH"
gateway get NAME — 看单条规则(只读)
$HTTP GET "$BASE/ops/gateway-rules/<NAME>" "$AUTH"
gateway snapshot — 看 paas-engine 当前下发的期望配置(version + 规则,只读)
$HTTP GET "$BASE/ops/gateway-rules/snapshot" "$AUTH"
这是「流量调度配置长什么样」的权威来源——paas-engine 的当前快照,即 api-gateway 应当执行的规则。看调度现状用这个。
gateway snapshots [LIMIT] — 列出最近 N 条规则快照历史(只读)
$HTTP GET "$BASE/ops/gateway-rules/snapshots?limit=<LIMIT>" "$AUTH"
每条快照含 snapshot_version / created_by / reason / created_at / 规则全量。用于回滚前定位目标版本。
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 190 lines · 55 tokens per session scan A 3e36eba42658
ops is a skill published in the GitHub repository bezhai/chiwei-platform (22 stars, last pushed 2d ago), licensed MIT. It adds 55 tokens to every session and 2,016 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
ops compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| opsbezhai/chiwei-platform | Skill | 22 | 2d ago | MIT | A | 55 | Claude Code |
| imagegenopenai/codex | Skill | 133k | yesterday | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 99k | yesterday | Apache-2.0 | A | 19 | Claude Code |
| local-ai-agentsmicrosoft/ai-agents-for-beginners | Skill | 79k | 4d ago | MIT | A | 200 | Claude Code, Codex |
| systematic-debuggingobra/superpowers | Skill | 313k | 3d ago | MIT | A | 21 | Claude Code |
| next-cache-components-adoptionvercel/next.js | Skill | 143k | yesterday | MIT | A | 95 | Claude Code |
| next-partial-prefetching-adoptionvercel/next.js | Skill | 143k | yesterday | MIT | A | 103 | Claude Code |