ax-annotation

ax-annotation is a skill for Claude Code, Codex from Insajin/autopus-adk. It costs 15 tokens per session (852 once invoked), scanned A, original, MIT.

A code-annotation workflow for adding @AX tags to source files. The tags mark items such as unexplained constants, risky concurrency, complex functions, and important shared functions.

In plain words
What is it for?
Use it to identify where notes, warnings, reasons, or anchors should be added according to the repository’s canonical annotation rules.
Why use it?
It makes potential maintenance risks and important code relationships visible to future developers and coding agents.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to identify where notes, warnings, reasons, or anchors should be added according to the repository’s canonical annotation rules.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/insajin/autopus-adk/ax-annotation
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 Insajin/autopus-adk --skill ax-annotation
Clone the repo
git clone --depth 1 https://github.com/Insajin/autopus-adk

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 ax-annotation

README.md
[![agentmods](https://agentmods.dev/badge/skills/insajin/autopus-adk/ax-annotation/github.svg)](https://agentmods.dev/skills/insajin/autopus-adk/ax-annotation)
Your own site
<a href="https://agentmods.dev/skills/insajin/autopus-adk/ax-annotation"><img src="https://agentmods.dev/badge/skills/insajin/autopus-adk/ax-annotation/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 ax-annotation

Your own site · 80×15
<a href="https://agentmods.dev/skills/insajin/autopus-adk/ax-annotation"><img src="https://agentmods.dev/badge/skills/insajin/autopus-adk/ax-annotation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 852 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00015 $0.00852
Opus 5 $0.00008 $0.00426
Sonnet 5 $0.00003 $0.00170
Haiku 4.5 $0.00002 $0.00085

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

Security

Grade A, and why

ax-annotation 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.

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.

.omp/skills/ax-annotation/SKILL.md · 99 lines

How it starts

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

@AX Annotation Skill

The canonical @AX rule set is emitted into this skill by the harness generator, so the tag definitions, trigger conditions, lifecycle rules, and per-file limits below are authoritative for this installation. This skill provides actionable guidance for WHEN and HOW agents apply @AX tags.

Canonical Source

Do NOT redefine tag rules elsewhere. Treat the sections of this document as the single source and apply them as written.

When to Apply @AX Tags

NOTE Triggers

Apply @AX:NOTE when you encounter:

  • A magic constant with no explanation
  • An exported function over 100 lines that has no godoc comment
  • A business rule that is not self-evident from the code

WARN Triggers

Apply @AX:WARN (with @AX:REASON) when you detect:

  • A goroutine or channel launched without a context.Context
  • Cyclomatic complexity >= 15 (check with gocyclo or manual count)
  • Mutation of a package-level or global variable
  • A function with 8 or more if branches

ANCHOR Triggers

Apply @AX:ANCHOR (with @AX:REASON) when:

  • A function has fan_in >= 3 callers (heuristic: grep -r "FuncName(" . | wc -l)
  • Removing or renaming the symbol would break multiple consumers

TODO Triggers

Apply @AX:TODO when:

  • A public function has no corresponding test file
  • A SPEC requirement is referenced but not yet implemented
  • An error is returned without handling (silent discard)

Application Workflow

Execute after the GREEN or REFACTOR phase of TDD:

  1. Scan — list all files modified in this task
  2. Detect triggers — for each file, check NOTE / WARN / ANCHOR / TODO conditions above
  3. Draft tags — prefix every agent-generated tag with [AUTO]
  4. Attach REASON — add @AX:REASON immediately after every WARN and ANCHOR tag
  5. Count per-file — verify ANCHOR <= 3 and WARN <= 5 per file
  6. Handle overflow — apply overflow strategy (see below)
  7. Commit — include tags in the same commit as the code change

Per-File Limits and Overflow

Read the full file on GitHub · 99 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. 7d ago Changed · +1 lines cece4124f402
  2. 10d ago First seen · 98 lines · 15 tokens per session scan A cae6daf89942

Subscribe to this mod's changes

ax-annotation is a skill published in the GitHub repository Insajin/autopus-adk (111 stars, last pushed yesterday), licensed MIT. It adds 15 tokens to every session and 852 once invoked, about $0.0001 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-30.