av: Instructions file for Claude Code

CLAUDE.md

av CLAUDE.md is an instructions file for Claude Code from aviator-co/av. It costs 1,531 tokens per session, scanned A, original, MIT.

Project instructions for Aviator, a command-line tool that manages stacked pull requests, which are dependent code changes submitted for review in order.

In plain words
What is it for?
Adding or updating Aviator CLI commands, consulting its documentation, and following its conventions for stacked pull requests.
Why use it?
They give coding agents the project's preferred documentation sources, command layout, and development workflow so changes fit the existing tool.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code.

This is aviator-co/av's own configuration. It tells Claude Code how to work on av 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 av configures →

Reuse

Borrowing it

Nothing to install: this file belongs to aviator-co/av. 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/aviator-co/av/master/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/aviator-co/av

Made for: Claude Code.

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 av CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/aviator-co/av/claude-md/github.svg)](https://agentmods.dev/instructions/aviator-co/av/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/aviator-co/av/claude-md"><img src="https://agentmods.dev/badge/instructions/aviator-co/av/claude-md/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 av CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/aviator-co/av/claude-md"><img src="https://agentmods.dev/badge/instructions/aviator-co/av/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,531 This file is loaded in full into every session.
When invoked 1,531 The same file — it is already loaded in full.
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.01531 $0.01531
Opus 5.5 $0.00612 $0.00612
Sonnet 5.5 $0.00306 $0.00306
Haiku 4.5 $0.00153 $0.00153

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

Security

Grade A, and why

av CLAUDE.md 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 2mo 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.md · 149 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Project Overview

av is a command-line tool for managing stacked PRs on GitHub. It allows developers to create dependent pull requests and automatically manages rebasing when base PRs are updated.

Documentation Sources

This project maintains documentation in three equally important locations:

  • README.md: Repository overview, quick start guide, and installation instructions in the root directory
  • https://docs.aviator.co/aviator-cli: Comprehensive online documentation covering all features and workflows
  • Man pages: Detailed command reference documentation in markdown format within the docs/ directory, converted to man page format

Command Structure Philosophy

The CLI follows a flat command structure where commands are added as root-level commands rather than nested subcommands:

  • Preferred: Root commands with flags (e.g., av commit, av restack)
  • Historical: The project has migrated away from layered commands (e.g., av stack commit → av commit)
  • Guidance for new commands: Add new functionality as root commands in cmd/av/, not as subcommands

Some legacy subcommands remain (e.g., av stack foreach, av pr status) but new features should follow the flat structure.

Development Workflow

After making code changes, always run the following checks and fix any issues before committing:

  1. Build: go build ./...
  2. Lint: go tool golangci-lint run
  3. Test (if relevant): go test -v --vet=all ./... or the specific package you changed

Build and Development Commands

Running the CLI

go run ./cmd/av [subcommand/flags...]

Building

go build -v ./...

Testing

# Run all tests with verbose output and vet checks
go test -v --vet=all ./...

# Run specific test packages
go test ./internal/git/...
go test ./e2e_tests/...

Linting

The project uses golangci-lint for code quality checks (pinned via tool directive in go.mod):

Read the full file on GitHub · 149 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. 2mo ago First seen · 149 lines · 1,531 tokens per session scan A 2bb4eb7dd39d

Subscribe to this mod's changes

av CLAUDE.md is an instructions file published in the GitHub repository aviator-co/av (511 stars, last pushed yesterday), licensed MIT. It adds 1,531 tokens to every session, about $0.0061 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-30.

Related

av CLAUDE.md compared with instructions from other repositories

av CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
av CLAUDE.mdaviator-co/avInstructions file511yesterdayMITA1,531Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode ai-customization.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA1,907GitHub Copilot