av CLAUDE.md

av CLAUDE.md is an instructions file for coding agents 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

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.

agentmods
npx agentmods add instructions/aviator-co/av/claude-md
Clone the repo
git clone --depth 1 https://github.com/aviator-co/av

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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.01531 $0.01531
Opus 5 $0.00766 $0.00766
Sonnet 5 $0.00306 $0.00306
Haiku 4.5 $0.00153 $0.00153

Measured 5d ago against content hash 2bb4eb7dd39d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 5d 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 commitav 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. 5d 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 4d ago), licensed MIT. It adds 1,531 tokens to every session, about $0.0077 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.

Related

Other instructions, from other repositories