ai-viewer: Skill for Claude Code

.agents/skills/project-coding/SKILL.md

project-coding is a skill for Claude Code, Codex from netdata/ai-viewer. It costs 49 tokens per session (2,215 once invoked), scanned A, original, MIT.

A set of coding rules for making production-quality changes in Go and TypeScript projects. It covers implementation, refactoring, runtime changes, testing, error handling, and maintainable structure.

In plain words
What is it for?
Use it for new features, bug fixes, refactoring, and other Go or TypeScript changes where clean structure and verification matter.
Why use it?
It gives the coding agent a consistent development process and requires shipped behaviour to have automated tests and visible error reporting.

Skill for Claude CodeCodex

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

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 →

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-coding/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-coding

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/netdata/ai-viewer/project-coding"><img src="https://agentmods.dev/badge/skills/netdata/ai-viewer/project-coding.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,215 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.00049 $0.02215
Opus 5.5 $0.00020 $0.00886
Sonnet 5.5 $0.00010 $0.00443
Haiku 4.5 $0.00005 $0.00221

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

Security

Grade A, and why

project-coding 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 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.

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.

.agents/skills/project-coding/SKILL.md · 137 lines

How it starts

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

Coding

Use this skill for code changes in this repository. The assistant is the CTO and QA lead of the codebase and must deliver production-quality, fully tested work. Meaningful chunks of work pass the applicable external reviewer gates before they are closed.

Operating Contract

  • The assistant is CTO. Never ask the operator technical questions. Research, decide, document the decision in the SOW or spec, proceed.
  • Specs first, tests second, code last. See project-workflow. Order is invariant.
  • The CTO writes implementation directly. Do not delegate implementation by default. Use helper subagents only for bounded investigation or summarization.
  • Untested ≡ broken. Manual UI walkthroughs are diagnostics, not proof. Every behavior the project ships has at least one automated test.
  • No silent failures. Every error path logs structured context; every adapter parse error surfaces in /api/health.
  • External reviewers are milestone gates for meaningful chunks: gap analysis, implementation plan, and implementation. See project-second-opinions.
  • Investigate before asking. Read SOWs, specs, skills, code, similar local patterns first.
  • Surface architecture and design decisions to the operator via SOW before any code is written.
  • Once the SOW is approved, work autonomously.
  • Parallelize independent helper investigations and local checks when it helps, without turning implementation over to subagents.
  • Milestone reports are not stop points. Continue until SOW is delivered, failed with evidence, or blocked on a genuine operator decision.
  • Keep communication concise and evidence-based: TL;DR + bullets + file:line + gate results.
  • Update specs, project skills, and AGENTS.md in the same turn the lesson emerges. "I'll remember" is not valid.

Design Principles (project-wide)

  • Strong separation of concerns. Each package has one job (see architecture.md). A change in one package should rarely cascade into another.
  • Small files, small functions. A file > 400 lines or a function > 60 lines is a smell; refactor unless there's a real reason.
  • Explicit domain types over loosely-shaped values. Use named types and small interfaces; avoid interface{} / any outside of glue layers.
  • Move non-core behavior out of orchestration loops. The ingest pipeline and HTTP routing layers must stay thin.
  • Mirror existing patterns unless there's a concrete reason to diverge. Adding a 6th adapter should look just like adding the 5th.
  • No abstractions for the sake of abstractions. Add interfaces only when there are real multiple implementations or a real testing need.

Read the full file on GitHub · 137 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 · 137 lines · 49 tokens per session scan A 6cf9517ff4f0

Subscribe to this mod's changes

project-coding is a skill published in the GitHub repository netdata/ai-viewer (2 stars, last pushed 1mo ago), licensed MIT. It adds 49 tokens to every session and 2,215 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-31.

Related

Other skills, from other repositories

dd-code-generation

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

DataDog/pup · 16 tokens

opentelemetry-net-instrumentation

Provides guidance for implementing OpenTelemetry instrumentation in .NET codebases, covering tracing (Activities/Spans), metrics, logs, naming conventions, error handling, performance, SDK setup, resources, context propagation, and API design best practices.

Aaronontheweb/dotnet-skills · 56 tokens

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

golang-observability

Instrument Go services using slog, OpenTelemetry, Prometheus and profiling.

seaworld008/Commonly-used-high-value-skills · 20 tokens

golang-observability-opentelemetry

Instrumenting Go applications with OpenTelemetry for distributed tracing, Prometheus for metrics, and structured logging with slog.

bobmatnyc/claude-mpm-skills · 31 tokens

structlog-structured-logging

Modern, powerful structured logging for Python using structlog. Use when adding or improving logging in Python projects, configuring structlog for dev/production, working with contextvars for request-scoped logging, integrating structlog with stdlib logging, or writing tests for logging behavior.

DemboNauta/skill-doc-generator · 61 tokens