hivelore: Instructions file for Codex

AGENTS.md

hivelore AGENTS.md is an instructions file for Codex, OpenCode from Doucs91/hivelore. It costs 1,526 tokens per session, scanned A, original, Apache-2.0.

A set of repository instructions for Hivelore, a system that stores shared project context, memories, and decisions for AI agents. It defines required context checks, safety rules, and finishing steps for work in the hivelore repository.

In plain words
What is it for?
Use it when working in that repository to load relevant context before edits, record failed approaches, capture session learnings, and run the required final checks.
Why use it?
It prevents agents from missing team knowledge or acting on changes that require developer confirmation.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

This is Doucs91/hivelore's own configuration. It tells Codex and OpenCode how to work on hivelore 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 hivelore configures →

Reuse

Borrowing it

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

Made for: Codex, OpenCode.

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 hivelore AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/doucs91/hivelore/agents-md"><img src="https://agentmods.dev/badge/instructions/doucs91/hivelore/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,526 This file is loaded in full into every session.
When invoked 1,526 The same file — it is already loaded in full.
Security scan A 1 finding. 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.01526 $0.01526
Opus 5.5 $0.00610 $0.00610
Sonnet 5.5 $0.00305 $0.00305
Haiku 4.5 $0.00153 $0.00153

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

Security

Grade A, and why

hivelore AGENTS.md scanned grade A with 1 finding 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

- **2026-06-07-convention-vscode-cli-calls-through-runhaive** _(applies to: packages/vscode/src/extension.ts, packages/vscode/src/briefingPanel.ts, packages/vscode/src/observabilityProvider.ts)_: Raw child_process in the
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

AGENTS.md · 64 lines

How it starts

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

This repo uses Hivelore for shared context. The map:

  • .ai/project-context.md — project overview, architecture, conventions.
  • .ai/memories/ — decisions, gotchas, conventions, failed attempts (personal/team/module).
  • The breadcrumbs injected below (if any) are the top current memories.

Working through Hivelore

  1. Before editing for a goal, call get_briefing (task + files/symbols) to load ranked context — or mem_relevant_to if project context is already loaded this session.
  2. When an approach fails, call mem_tried right away so the next agent skips the dead end.
  3. Before closing a substantive session, run the post_task prompt to capture what was learned.
  4. Before final response, run hivelore enforce finish. If it blocks, commit/push, bump/tag shippable releases, wait for GitHub Actions to pass when applicable, then rerun it.

If the haive MCP server is not available, tell the developer rather than silently skipping it.

Safety

  • If get_briefing returns action_required, surface each item to the developer (use its developer_message) and wait for confirmation before changing code.
  • Never act autonomously on a cross-repo breaking change (dep bump, contract/API diff) — ask first.
  • 2026-08-21-attempt-enabling-parallel-vitest-forks-pooloptionsforkssinglefork (team/attempt) — Enabling parallel vitest forks (poolOptions.forks.singleFork: false) in packages/cli to speed up the ~104s integration suite (applies to: packages/cli/vitest.config.ts)
  • 2026-07-07-attempt-relying-on-hivelore-enforce-install (team/attempt) — Relying on hivelore enforce install to fix stale pre-rename git hooks (applies to: packages/cli/src/commands/enforce.ts)
  • 2026-07-05-attempt-ajouter-un-nouveau-sensor-discriminant (team/attempt) — Ajouter un nouveau sensor discriminant avec absent sous le gate strict de weakening (applies to: packages/core/src/sensors.ts, packages/cli/src/commands/enforce.ts)
  • 2026-07-03-attempt-typechecking-cli-immediately-after-adding (team/attempt) — typechecking CLI immediately after adding a new core export (applies to: packages/core/src/index.ts, packages/cli/tsconfig.json)
  • 2026-07-03-attempt-running-hivelore-release-tag-right (team/attempt) — Running hivelore release tag right after the release commit (applies to: packages/cli/src/commands/enforce.ts)
  • 2026-07-03-attempt-relied-on-pnpm-r-build (team/attempt) — Relied on pnpm -r build (tsup) + full test suite as pre-push verification for v0.34.0 (applies to: .github/workflows/ci.yml)
  • 2026-07-03-attempt-duplicating-json-on-a-commander (team/attempt) — duplicating --json on a Commander parent command and its receipt subcommand (applies to: packages/cli/src/commands/stats.ts)
  • 2026-06-05-attempt-running-pnpm-r-build-and (team/attempt) — Running pnpm -r build and pnpm -r typecheck in parallel after version bump (applies to: packages/embeddings/tsup.config.ts, packages/core/tsup.config.ts, scripts/ensure-workspace-dists.mjs)

Read the full file on GitHub · 64 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 Changed · +217 tokens per session 1fc10f5ac5ee
  2. 2mo ago First seen · 64 lines · 1,309 tokens per session scan A 3605e0c3748b

Subscribe to this mod's changes

hivelore AGENTS.md is an instructions file published in the GitHub repository Doucs91/hivelore (4 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 1,526 tokens to every session, about $0.0061 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

hivelore AGENTS.md compared with instructions from other repositories

hivelore AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
hivelore AGENTS.mdDoucs91/hiveloreInstructions file41mo agoApache-2.0A1,526Codex, OpenCode
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
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode