agentpipe: Instructions file for Claude Code

CLAUDE.md

agentpipe CLAUDE.md is an instructions file for Claude Code from kevinelliott/agentpipe. It costs 2,572 tokens per session, scanned A, original, MIT.

Project instructions for AgentPipe, a Go command-line and terminal interface that lets several AI command-line tools converse in a shared room.

In plain words
What is it for?
Use them when building AgentPipe, adjusting health checks, handling chat logs, or updating GitHub Actions and lint configuration.
Why use it?
They record required Go versions, health-check behavior, file locations, and CI linting details that are easy to miss.

Instructions file for Claude Code

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/kevinelliott/agentpipe/claude-md"><img src="https://agentmods.dev/badge/instructions/kevinelliott/agentpipe/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,572 This file is loaded in full into every session.
When invoked 2,572 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.02572 $0.02572
Opus 5.5 $0.01029 $0.01029
Sonnet 5.5 $0.00514 $0.00514
Haiku 4.5 $0.00257 $0.00257

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

Security

Grade A, and why

agentpipe 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 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.

CLAUDE.md · 219 lines

How it starts

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

AgentPipe Project Memory

Project Overview

AgentPipe is a CLI and TUI application that orchestrates conversations between multiple AI agent CLIs (Claude, Gemini, Qwen, Codex, Ollama). It allows different AI tools to communicate in a shared "room" with various conversation modes.

Key Technical Details

Go Version

  • IMPORTANT: Requires Go 1.24+ (go.mod specifies 1.24.0)
  • GitHub Actions workflows must use Go 1.24
  • All dependencies are compatible with Go 1.24

Health Check Configuration

  • Default timeout: 5 seconds (increased from 2 seconds)
  • Claude CLI needs longer startup time
  • Flag: --health-check-timeout to customize
  • Flag: --skip-health-check to bypass

Directory Structure

  • Chat logs: ~/.agentpipe/chats/ (default)
  • Homebrew formula: Formula/ (NOT Formulae/)
  • Config examples: examples/

CI/CD Configuration

Linting
  • Use golangci-lint-action@v6 with golangci-lint v1.x (latest stable)
  • GitHub Action version parameter: version: latest (downloads latest v1.x)
  • IMPORTANT: Config file (.golangci.yml) uses v1.x format (no version field)
  • Note: Removed nakedret linter (removed in v2.x, compatible with v1.x)
  • Status: v2.x requires config schema changes; staying on v1.x is more stable
  • Local linting: Install latest golangci-lint v1.x
    • Install: brew install golangci-lint
    • Or: go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
  • Configuration structure: linters-settings: for linter config, issues.exclude-rules: for exclusions
  • Cognitive complexity threshold: 30
  • Excluded from complexity checks: pkg/tui/, pkg/adapters/, pkg/orchestrator/
Testing
  • Windows test fix: Single-line command (no multiline)
  • Command: go test -v -race ./...
  • No coverage profile to avoid Windows parsing issues
Releases
  • Triggered on tags: v[0-9]+.[0-9]+.[0-9]+
  • Requires HOMEBREW_TAP_TOKEN secret for formula updates
  • Token needs repo scope for cross-repo access

Common Issues & Fixes

Read the full file on GitHub · 219 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 · 219 lines · 2,572 tokens per session scan A 031efb85a9e2

Subscribe to this mod's changes

agentpipe CLAUDE.md is an instructions file published in the GitHub repository kevinelliott/agentpipe (152 stars, last pushed 4mo ago), licensed MIT. It adds 2,572 tokens to every session, about $0.0103 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

Other instructions, from other repositories