hivelore: Instructions file for GitHub Copilot

.github/copilot-instructions.md

hivelore copilot-instructions.md is an instructions file for GitHub Copilot from Doucs91/hivelore. It costs 1,652 tokens per session, scanned A, original, Apache-2.0.

A set of Copilot instructions for Hivelore, a system that keeps shared project context and memories for AI agents. It requires agents to consult Hivelore before substantive changes and record useful learnings afterward.

In plain words
What is it for?
Use it before editing source files, configuration, or workflows in the Hivelore repository, and before finishing work that produced meaningful changes or discoveries.
Why use it?
It prevents coding agents from bypassing the team's stored decisions and conventions, and makes important session knowledge available later.

Instructions file for GitHub Copilot

Written for GitHub Copilot: a Copilot instructions file.

This is Doucs91/hivelore's own configuration. It tells GitHub Copilot 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/.github/copilot-instructions.md
Clone the repo
git clone --depth 1 https://github.com/Doucs91/hivelore

Made for: GitHub Copilot.

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 copilot-instructions.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/doucs91/hivelore/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/doucs91/hivelore/copilot-instructions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,652 This file is loaded in full into every session.
When invoked 1,652 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.01652 $0.01652
Opus 5.5 $0.00661 $0.00661
Sonnet 5.5 $0.00330 $0.00330
Haiku 4.5 $0.00165 $0.00165

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

Security

Grade A, and why

hivelore copilot-instructions.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
.github/copilot-instructions.md · 68 lines

How it starts

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

See .ai/project-context.md for the full project context. Memories live under .ai/memories/ (personal/team/module).

Hivelore — mandatory rules for AI agents

Installing or initializing Hivelore in this repository means the team expects AI agents to drive work through Hivelore, not bypass it.

MCP first (default — never optional unless the developer says so)

The haive MCP server must be enabled in your client. Until it is unavailable (misconfiguration report to the developer), you must use it for substantive work:

  • Before you edit project source files, configs (package.json, tooling), or workflows for the current goal, invoke get_briefing with a short task string (and files / symbols when you know them). If project context was already refreshed in this session and you only need ranked memories, you may call mem_relevant_to instead—but still consult Hivelore before trusting ungrounded guesses.
  • Before declaring a coding task finished, invoke the MCP prompt post_task when the session produced learnings or substantive changes worth capturing.

Do not treat these as nice-to-have: they are default-required for coding agents here.

Session rules

  • Immediately when an approach fails (wrong API, wrong pattern, wrong assumption), call mem_tried — do not wait until the end of the session.

Safety rules — NEVER violate these

  • If get_briefing returns an action_required list, stop and show each item to the developer before doing anything. Use the exact developer_message provided. Wait for explicit confirmation.
  • Never modify code autonomously because of a breaking change detected in another project (dependency version bump, API contract change, removed field). Always ask first.
  • When in doubt about a cross-repo change: ask, don't act.

Read the full file on GitHub · 68 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 0eba00f2571d
  2. 2mo ago First seen · 68 lines · 1,435 tokens per session scan A 9863f16f6b2c

Subscribe to this mod's changes

hivelore copilot-instructions.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,652 tokens to every session, about $0.0066 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 copilot-instructions.md compared with instructions from other repositories

hivelore copilot-instructions.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
hivelore copilot-instructions.mdDoucs91/hiveloreInstructions file41mo agoApache-2.0A1,652GitHub Copilot
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