aiops-setup

aiops-setup is a skill for Claude Code, Codex from yugasun/aiops. It costs 42 tokens per session (679 once invoked), scanned A, original, Apache-2.0.

A setup skill that prepares a repository for the aiops bundle by configuring its issue tracker, triage labels, and documentation layout. It can use existing aiops.yaml settings or guide an interactive setup.

In plain words
What is it for?
Use it to create docs/agents files, seed GitHub or GitLab issue-tracker documentation, apply configuration overrides, and update CLAUDE.md or AGENTS.md.
Why use it?
It removes repeated manual configuration when starting aiops in a repository. It can also update the repository's agent-instructions file with the required skills section.

Skill for Claude CodeCodex

Part of the aiops plugin — 23 skills, 9 agents shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/yugasun/aiops/aiops-setup
Any agent
npx skills add yugasun/aiops --skill aiops-setup
Clone the repo
git clone --depth 1 https://github.com/yugasun/aiops

Made for: Claude Code, Codex.

Or install aiops, the plugin that ships this one along with the rest of its 23 skills, 9 agents.

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 aiops-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/yugasun/aiops/aiops-setup.svg)](https://agentmods.dev/skills/yugasun/aiops/aiops-setup)
Your own site
<a href="https://agentmods.dev/skills/yugasun/aiops/aiops-setup"><img src="https://agentmods.dev/badge/skills/yugasun/aiops/aiops-setup.svg" alt="Measured on agentmods" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 679 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00042 $0.00679
Opus 5 $0.00021 $0.00340
Sonnet 5 $0.00008 $0.00136
Haiku 4.5 $0.00004 $0.00068

Measured 4d ago against content hash ecc6ccc2d45b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

aiops-setup 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 4d 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.

skills/aiops-setup/SKILL.md · 55 lines

How it starts

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

aiops-setup

Scaffold per-repo config: issue tracker, triage labels, domain docs.

Modes

Silent bootstrap (from /aiops conductor)

When docs/agents/ is missing:

  1. Read repo-root aiops.yaml if present — see aiops-yaml.md.
  2. No yamlissue_tracker.kind: local, triage labels 1:1, domain.layout: single. Write docs/agents/* without asking.
  3. Yaml with github or gitlab → seed matching issue-tracker-*.md; apply yaml prs_as_triage and label overrides. No A/B/C questionnaire unless yaml is incomplete.
  4. Update CLAUDE.md or AGENTS.md ## Agent skills block (create section if missing; ask only if neither file exists).

Full setup (explicit /aiops-setup)

Interactive — explore, confirm one section at a time, then write. Use when switching tracker or restarting config.

Full setup process

1. Explore

Check: aiops.yaml, git remote, AGENTS.md / CLAUDE.md, CONTEXT.md, CONTEXT-MAP.md, docs/adr/, docs/agents/, .scratch/.

2. Ask (one section at a time)

Skip sections already satisfied by aiops.yaml — show yaml values and offer edit only.

A — Issue tracker: Only offer GitHub/GitLab in the questionnaire if user has no aiops.yaml and explicitly asks for remote tracker. Otherwise default local markdown.

B — Triage labels: Map five roles to tracker strings. Default 1:1.

C — Domain docs: Single-context (CONTEXT.md + docs/adr/) or multi-context (CONTEXT-MAP.md).

D — Constitution: If CONSTITUTION.md does not exist at repo root, offer to generate one from constitution-template.md. Walk through each section (Testing, Code quality, Architecture, Performance, Security, Process) and ask the user to fill in project-specific principles. These are non-negotiable — referenced by every agent at every phase.

3. Confirm draft

Show ## Agent skills block + docs/agents/issue-tracker.md, triage-labels.md, domain.md for user edit.

Read the full file on GitHub · 55 lines

Files

What ships with it

8 files 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. 4d ago First seen · 55 lines · 42 tokens per session scan A ecc6ccc2d45b

Subscribe to this mod's changes

aiops-setup is a skill published in the GitHub repository yugasun/aiops (4 stars, last pushed 15d ago), licensed Apache-2.0. It adds 42 tokens to every session and 679 once invoked, about $0.0002 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.