ai-viewer: Skill for Claude Code

.agents/skills/project-quality-gates/SKILL.md

project-quality-gates is a skill for Claude Code, Codex from netdata/ai-viewer. It costs 70 tokens per session (12,056 once invoked), scanned A, original, MIT.

A list of the automated checks required for the application, including their commands, thresholds, and responses to failures. These checks run in continuous integration, with one benchmark check also run on the developer's machine.

In plain words
What is it for?
Use it before committing, claiming a task is finished, adding a new check, or investigating a continuous-integration failure.
Why use it?
It provides a clear definition of what must pass before work is reported as complete or committed. It discourages weakening a check or skipping a test just to make the build pass.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md; mentions Codex.

This is netdata/ai-viewer's own configuration. It tells Claude Code and Codex how to work on ai-viewer 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 ai-viewer configures →

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/user/....

Reuse

Borrowing it

Nothing to install: this file belongs to netdata/ai-viewer. 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/netdata/ai-viewer/master/.agents/skills/project-quality-gates/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/netdata/ai-viewer

Made for: Claude Code, Codex.

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 project-quality-gates

README.md
[![agentmods](https://agentmods.dev/badge/skills/netdata/ai-viewer/project-quality-gates/github.svg)](https://agentmods.dev/skills/netdata/ai-viewer/project-quality-gates)
Your own site
<a href="https://agentmods.dev/skills/netdata/ai-viewer/project-quality-gates"><img src="https://agentmods.dev/badge/skills/netdata/ai-viewer/project-quality-gates/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.

agentmods 80×15 button for project-quality-gates

Your own site · 80×15
<a href="https://agentmods.dev/skills/netdata/ai-viewer/project-quality-gates"><img src="https://agentmods.dev/badge/skills/netdata/ai-viewer/project-quality-gates.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 12,056 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00070 $0.12056
Opus 5.5 $0.00028 $0.04822
Sonnet 5.5 $0.00014 $0.02411
Haiku 4.5 $0.00007 $0.01206

Measured 1mo ago against content hash 2bbca13588c7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

project-quality-gates scanned grade A with 1 finding 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 1mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Do not use `bash <(curl -Ls https://coverage.codacy.com/get.sh) ...` in CI.
.agents/skills/project-quality-gates/SKILL.md · 567 lines

How it starts

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

Quality Gates

Operating Rule

Every gate listed here runs in CI on every push — except the benchmark regression gate (scripts/check-bench.sh), which is a local/workstation gate (its baseline is not comparable to CI-runner hardware; CI runs the bench compile-smoke + the gate's hardware-independent self-test). The assistant runs them all locally before reporting work done. If a gate fails: fix the root cause. Never weaken a gate to make it pass. Lowering a threshold or marking a test skipped to land a PR is a contract breach.

nolint policy (two cases, both require a reason — never a bare //nolint):

  • Deferred-fix suppression (the finding is real but fixing it now is out of scope): forbidden unless the active SOW justifies it AND the directive links the tracking issue/SOW — //nolint:rule // <reason>; see SOW-XXXX.
  • Permanent-architectural suppression (the finding is a verified false-positive for a deliberate, durable pattern — e.g. nilerr on a return nil that intentionally lets a stricter downstream check win, or on poll-loop rotation-tolerance): allowed with a //nolint:rule // <reason> stating why the pattern is correct. No tracking link is required because there is nothing to fix later. The reason must be specific; "false positive" alone is not enough. Prefer a config-level exclusion (with a YAML rationale comment) when a whole file or rule class is involved. Bare/unexplained //nolint is always a contract breach.

When a new pattern emerges that warrants enforcement, add it here AND to .agents/sow/specs/quality-gates.md AND to CI in the same commit.

Gate Catalog

Go — Module Tidiness

go mod tidy
git diff --exit-code go.mod go.sum

Threshold: zero diffs. scripts/lint.sh mirrors the CI lint job and runs this before formatter/linter/security checks. A stale module graph is a local gate failure, not a CI-only surprise.

Go — Formatting

gofmt -l <tracked Go files>         # zero unformatted tracked files expected
goimports -l <tracked Go files>     # zero unformatted tracked files expected

Read the full file on GitHub · 567 lines

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. 1mo ago First seen · 567 lines · 70 tokens per session scan A 2bbca13588c7

Subscribe to this mod's changes

project-quality-gates is a skill published in the GitHub repository netdata/ai-viewer (2 stars, last pushed 1mo ago), licensed MIT. It adds 70 tokens to every session and 12,056 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

migrate-state-management

Migrate Redux or React Context to the correct state option (React Query for server state, nuqs for URL/shareable state, Zustand for global client state). Use when refactoring away from Redux/Context, moving state to the right store, or when the user asks to migrate state management.

SigNoz/signoz · 64 tokens

merge-seed

Merge upstream React Starter Kit updates (the seed remote) into main, preserving this project's identity, scope, and behavior. Use when asked to sync, pull, or merge the seed / starter kit / upstream template.

kriasoft/react-starter-kit · 49 tokens

scheduling-github-ci-repairs

Sets up ongoing local monitoring of one repository's open pull requests, automatically editing, testing, and pushing fixes for failing GitHub Actions checks. Offers a disposable private-repository demonstration. Use for recurring PR repair or the local CI onboarding demo.

Tracer-Cloud/opensre · 56 tokens

operating-github-cli

Default GitHub skill for the action agent. Use githubcli for any GitHub request — create/list/view/close issues and PRs, assign, labels, repos, releases, checks, github.com/owner/repo URLs, or gh api. Prefer over shellrun/!gh. Run these with githubcli in the current agent turn.

Tracer-Cloud/opensre · 75 tokens

release-safety

Release safety rules. INVOKE WHEN: yarn release, npm publish, release canary, release packages, publishing, skip checks, skip tests. NEVER skip checks or tests without explicit permission.

tamagui/tamagui · 0 tokens

dd-code-generation

Use pup CLI for immediate Datadog operations or generate code for integration into applications.

DataDog/pup · 16 tokens