bitbottle AGENTS.md

A set of project instructions for the bitbottle repository, covering command design, architecture, automation, and development workflow. It points contributors to reference code and project documents before they design new parts.

In plain words
What is it for?
Planning and implementing bitbottle changes, checking CLI patterns against GitHub's gh tool, following the documented architecture, and using the repository's iteration and pre-merge workflows.
Why use it?
It helps keep new commands, interfaces, packages, transport code, and MCP tools consistent with the repository's established design and review rules.

Instructions file for CodexOpenCode

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/proggarapsody/bitbottle/agents-md
Clone the repo
git clone --depth 1 https://github.com/proggarapsody/bitbottle

Made for: Codex, OpenCode.

Per session 1,997 This file is loaded in full into every session.
When invoked 1,997 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.01997 $0.01997
Opus 5 $0.00999 $0.00999
Sonnet 5 $0.00399 $0.00399
Haiku 4.5 $0.00200 $0.00200

Measured 2d ago against content hash a49e66d807ff, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

bitbottle AGENTS.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 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.

AGENTS.md · 103 lines

How it starts

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

AGENTS.md

See CONTRIBUTING.md for full workflow, code style, and testing conventions.

Reference implementations

reference/gh/ contains a shallow clone of github.com/cli/cli. When in doubt about CLI design patterns (flag naming, config structs, auth flows), check how gh does it there first.

Design principles

Read before designing any new command, interface, package, transport, MCP tool, or error site. Pre-merge-check §6 ("Design-judge") gates merges against both.

  • docs/TASTE.md — UX (gh philosophy, standard flags, TTY-aware output, error format), agentic skill experience, MCP tool shape.
  • docs/ARCHITECTURE.md — SOLID, layered structure, composite + optional interfaces, deep modules, design decisions, gh references.

Automation

The autonomous iteration loop is documented in docs/workflows/iteration-cycle/. Agent-specific wrappers (e.g. .claude/commands/auto-iter.md) inherit one-way from these canonical docs — they add delivery details (model names, tool invocation syntax) without duplicating procedural content.

Workflow

End-to-end procedures live in docs/workflows/ and are tool-neutral — humans, Codex, Cursor, Aider, and Claude all follow them.

Read the full file on GitHub · 103 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. 2d ago First seen · 103 lines · 1,997 tokens per session scan A a49e66d807ff

Subscribe to this mod's changes

bitbottle AGENTS.md is an instructions file published in the GitHub repository proggarapsody/bitbottle (3 stars, last pushed 14d ago), licensed MIT. It adds 1,997 tokens to every session, about $0.0100 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-31.