api-self-audit

api-self-audit is a skill for Claude Code from chmonitor/chmonitor. It costs 80 tokens per session (934 once invoked), scanned A, original, GPL-3.0.

A security review guide for finding API routes without authentication checks and deciding whether to protect or deliberately allow each route. An API route is a URL that software exposes for other software to call.

In plain words
What is it for?
Use it when adding or changing routes under the named project path, or when the authentication-coverage test fails. It supports reviewing, guarding, or documenting API access.
Why use it?
It helps prevent an API endpoint from being accidentally accessible without authorization. It also requires an explicit reason when a route is intentionally left open.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Part of the clickhouse-monitor plugin — 108 skills, 1 command, 3 agents, 4 hooks, 1 MCP server shipped together

Good fit Use it when adding or changing routes under the named project path, or when the authentication-coverage test fails. It supports reviewing, guarding, or documenting API access.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/chmonitor/chmonitor/api-self-audit
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.

Any agent
npx skills add chmonitor/chmonitor --skill api-self-audit
Clone the repo
git clone --depth 1 https://github.com/chmonitor/chmonitor

Made for: Claude Code.

Or install clickhouse-monitor, the plugin that ships this one along with the rest of its 108 skills, 1 command, 3 agents, 4 hooks, 1 MCP server.

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 api-self-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/chmonitor/chmonitor/api-self-audit/github.svg)](https://agentmods.dev/skills/chmonitor/chmonitor/api-self-audit)
Your own site
<a href="https://agentmods.dev/skills/chmonitor/chmonitor/api-self-audit"><img src="https://agentmods.dev/badge/skills/chmonitor/chmonitor/api-self-audit/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 api-self-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/chmonitor/chmonitor/api-self-audit"><img src="https://agentmods.dev/badge/skills/chmonitor/chmonitor/api-self-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 934 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 unknown 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.00080 $0.00934
Opus 5.5 $0.00032 $0.00374
Sonnet 5.5 $0.00016 $0.00187
Haiku 4.5 $0.00008 $0.00093

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

Security

Grade A, and why

api-self-audit 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 2d 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.

.claude/skills/api-self-audit/SKILL.md · 72 lines

The source is not reproduced here

Licensed GPL-3.0

The repository is licensed GPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

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. 2d ago Changed · -1 lines · -21 tokens per session 360373f57bd5
  2. 4d ago First seen · 73 lines · 101 tokens per session scan A c26e9e12aa36

Subscribe to this mod's changes

api-self-audit is a skill published in the GitHub repository chmonitor/chmonitor (305 stars, last pushed today), licensed GPL-3.0. It adds 80 tokens to every session and 934 once invoked, about $0.0003 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-10-17.

Related

Other skills, from other repositories

ruview-cli-api

Use the RuView wifi-densepose CLI binary (incl. MAT scan/status/zones/survivors/alerts/export subcommands), the REST API (wifi-densepose-api, Axum), and the browser/WASM build (wifi-densepose-wasm, wifi-densepose-wasm-edge). Use when integrating RuView into another program, scripting it from the shell, exposing it…

ruvnet/RuView · 104 tokens

cognitum-spaces

Use this playbook to activate and inspect the tenant-scoped Cognitum Spaces projection without giving an agent a bearer token or API key.

ruvnet/RuView · 0 tokens

supermemory

Supermemory is a state-of-the-art memory and context infrastructure for AI agents. Use this skill when building applications that need persistent memory, user personalization, long-term context retention, or semantic search across knowledge bases. It provides Memory API for learned user context, User Profiles for…

supermemoryai/supermemory · 81 tokens

review-homecore-server

Review Homecore server startup, restore, authentication, feature, and provider configuration.

ruvnet/RuView · 21 tokens

clickhouse-js-node-coding

Write idiomatic application code with the ClickHouse Node.js client (@clickhouse/client). Use this skill whenever a user is building against the Node.js client — configuring the client, pinging, inserting rows in JSON or raw formats, selecting and parsing results, binding query parameters, managing sessions and…

ClickHouse/agent-skills · 89 tokens

frontmcp-observability

Use when adding tracing, structured logging, metrics, or monitoring to a FrontMCP server. Covers zero-config OpenTelemetry distributed tracing across all flows; the this.telemetry API for custom spans, events, and attributes in tools, plugins, agents, and skills; structured JSON logging with trace correlation and…

agentfront/frontmcp · 177 tokens