hive AGENTS.md

Repository instructions for AI coding agents working on Hive, a software project with shared rules for coding, dependencies, Python tooling, and multi-agent work. They emphasize checking code before answering and avoiding unapproved dependency or workspace changes.

In plain words
What is it for?
Use them when editing Hive, answering repository questions, managing Python code with uv, working on issues or pull requests, or operating in a shared workspace.
Why use it?
They reduce guesswork and prevent agents from interfering with other agents or changing project dependencies without permission.

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

Made for: Codex, OpenCode.

Per session 377 This file is loaded in full into every session.
When invoked 377 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.00377 $0.00377
Opus 5 $0.00188 $0.00188
Sonnet 5 $0.00075 $0.00075
Haiku 4.5 $0.00038 $0.00038

Measured yesterday against content hash 0df7cba1bf84, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

hive 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 yesterday.

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 · 31 lines

What it actually says

Repository Guidelines

Shared agent instructions for this workspace.

Coding Agent Notes

  • When working on a GitHub Issue or PR, print the full URL at the end of the task.
  • When answering questions, respond with high-confidence answers only: verify in code; do not guess.
  • Do not update dependencies casually. Version bumps, patched dependencies, overrides, or vendored dependency changes require explicit approval.
  • Add brief comments for tricky logic. Keep files reasonably small when practical; split or refactor large files instead of growing them indefinitely.
  • If shared guardrails are available locally, review them; otherwise follow this repo's guidance.
  • Use uv for Python execution and package management. Do not use python or python3 directly unless the user explicitly asks for it.
  • Prefer uv run for scripts and tests, and uv pip for package operations.

Multi-Agent Safety

  • Do not create, apply, or drop git stash entries unless explicitly requested.
  • Do not create, remove, or modify git worktree checkouts unless explicitly requested.
  • Do not switch branches or check out a different branch unless explicitly requested.
  • When the user says push, you may git pull --rebase to integrate latest changes, but never discard other in-progress work.
  • When the user says commit, commit only your changes. When the user says commit all, commit everything in grouped chunks.
  • When you see unrecognized files or unrelated changes, keep going and focus on your scoped changes.

Change Hygiene

  • If staged and unstaged diffs are formatting-only, resolve them without asking.
  • If a commit or push was already requested, include formatting-only follow-up changes in that same commit when practical.
  • Only stop to ask for confirmation when changes are semantic and may alter behavior.
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. yesterday First seen · 31 lines · 377 tokens per session scan A 0df7cba1bf84

Subscribe to this mod's changes

hive AGENTS.md is an instructions file published in the GitHub repository aden-hive/hive (10,998 stars, last pushed 11d ago), licensed Apache-2.0. It adds 377 tokens to every session, about $0.0019 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.