aiops-platform: Skill for Claude Code

.claude/skills/handle-issue/SKILL.md

handle-issue is a skill for Claude Code from xrf9268-hue/aiops-platform. It costs 60 tokens per session (4,041 once invoked), scanned A, original, Apache-2.0.

A workflow for taking a GitHub issue—a tracked software task—from initial investigation to an opened pull request. It includes checking the project specification, researching upstream code, using test-driven development (writing tests before implementation), and running local checks.

In plain words
What is it for?
Use it to implement a numbered issue in the aiops-platform repository, investigate its upstream OpenAI Symphony reference, run tests and project gates, and open a pull request.
Why use it?
It gives issue work a defined path and helps prevent missing acceptance requirements, specification differences, tests, or review preparation.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions subagents; mentions Claude Code.

This is xrf9268-hue/aiops-platform's own configuration. It tells Claude Code how to work on aiops-platform itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything aiops-platform configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is [`docs/runbooks/pr-review-merge-protocol.md`](../../../docs/runbooks/pr-review-merge-protocol.md)。本 skill 只写 **issue→PR 阶段差异**,到 push/审查/合并步骤直接照那份协议执行,不在此复述。.

Reuse

Borrowing it

Nothing to install: this file belongs to xrf9268-hue/aiops-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.

Copy the file
curl -O https://raw.githubusercontent.com/xrf9268-hue/aiops-platform/main/.claude/skills/handle-issue/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/xrf9268-hue/aiops-platform

Made for: Claude Code.

Wrote 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.

agentmods badge for handle-issue

README.md
[![agentmods](https://agentmods.dev/badge/skills/xrf9268-hue/aiops-platform/handle-issue.svg)](https://agentmods.dev/skills/xrf9268-hue/aiops-platform/handle-issue)
Your own site
<a href="https://agentmods.dev/skills/xrf9268-hue/aiops-platform/handle-issue"><img src="https://agentmods.dev/badge/skills/xrf9268-hue/aiops-platform/handle-issue.svg" alt="Measured on agentmods" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,041 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00060 $0.04041
Opus 5 $0.00030 $0.02021
Sonnet 5 $0.00012 $0.00808
Haiku 4.5 $0.00006 $0.00404

Measured 7d ago against content hash 8cb44cbc65d4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

handle-issue 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 7d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/bootstrap.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.claude/skills/handle-issue/SKILL.md · 111 lines

How it starts

The opening of the file, as written. The whole thing — 111 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Handle Issue #$ARGUMENTS

本仓库是 OpenAI Symphony SPEC 的 Go 端口,SPEC 对齐是硬要求。本 skill 覆盖 issue → 开 PR 阶段;PR 之后交给 handle-pr(SPEC 对齐审查轮)+ gh-pr-follow-through(盯到 merge-ready)。

审查 / 合并协议是共享的。 pre-push 双 reviewer、@codex review 收敛、GraphQL review threads、PR-body 活账本、合并门槛、回归+变异测试纪律统一在 docs/runbooks/pr-review-merge-protocol.md。本 skill 只写 issue→PR 阶段差异,到 push/审查/合并步骤直接照那份协议执行,不在此复述。

何时用 / 不该用

  • :要开始处理本仓库一个已建的 GitHub issue("处理下一个 issue"、"修 #N"、"实现这个 issue")。
  • 不该用:PR 已存在 → 用 handle-pr + gh-pr-follow-through;无需 SPEC/upstream 调研的琐碎改动;非 GitHub 的 tracker。

上下文就位(issue 全文 + upstream 镜像 + main HEAD)

!bash .claude/skills/handle-issue/scripts/bootstrap.sh "$ARGUMENTS" 2>&1

scripts/bootstrap.shset -euo pipefail,fail-fast)依次做:校验参数为数字 issue 号(坏参数 exit 2,与后续 fetch 失败区分)→ 校验/刷新 SPEC 上游镜像 /tmp/symphony-upstream(origin 不是 symphony 就重新 clone;pull --ff-only/clone 失败即中止,不留陈旧镜像)→ 打印 issue 全文(pin --repo,不截断)→ git fetch origin main 后打印 main HEAD(fetch 失败即中止,无管道掩盖状态)。

开工前完整读 issue 正文,尤其逐条 Acceptance criteria。SPEC 文本歧义时直接 grep /tmp/symphony-upstream/elixir/lib/symphony_elixir/*.ex 找原算法/分支,不要用 WebFetch 总结。

流程(按序)

1. 读 issue + 并行 owner 探测(协议 §8 issue-phase 推论)

读 labels(area:spec-alignment / priority:pN / type:*)与正文。把正文的 Acceptance criteria 复选框当作 definition-of-done——每条都要满足或显式说明为何不在范围内。

动手前先执行协议 §8 的 issue-phase 探测,判定命令与处置路由全部以 docs/runbooks/pr-review-merge-protocol.md §8 为唯一来源,照其结果执行。模式自主选定并通报,不询问。

1.5 负面约束 preflight(设计 / 边界类 issue 必须)

如果 issue 引用了 design doc、runbook、SPEC boundary、redaction/retention rule、non-goal list,或正文里出现 "do not store / parse / mutate / persist / automate / gate" 这类负面约束,写代码前先写短 guardrail。至少列出:

  • Required behavior:必须生成 / 修改 / 证明什么。
  • Negative constraints:不得存储、解析、变更、持久化、自动化、当成 gate 的东西。
  • Opaque boundaries:哪些输入是任意 human / agent / protocol text,除非 issue 明确要求 parser,否则不得解析。
  • Design challenge:如果 redaction / retention 需求看起来必须靠 grammar / parser / heuristic 理解自由文本才能满足,先停下,说明为什么 opaque omission 不够。

Read the full file on GitHub · 111 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. 7d ago First seen · 111 lines · 60 tokens per session scan A 8cb44cbc65d4

Subscribe to this mod's changes

handle-issue is a skill published in the GitHub repository xrf9268-hue/aiops-platform (2 stars, last pushed 3d ago), licensed Apache-2.0. It adds 60 tokens to every session and 4,041 once invoked, about $0.0003 per session on Opus 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-31.