agentic-lore-coding: Instructions file for Codex

AGENTS.md

agentic-lore-coding AGENTS.md is an instructions file for Codex, OpenCode from aleksandr-voitenko/agentic-lore-coding. It costs 1,434 tokens per session, scanned A, original, MIT.

A set of instructions for coding agents working in the Agentic Lore Coding environment. It defines how to interpret instructions, plan software work, assess alternatives, and follow repository and tooling rules.

In plain words
What is it for?
Use it to guide repository research, implementation planning, architectural decisions, semantic checks, and adherence to project-specific development practices.
Why use it?
It gives the agent shared working rules so changes are planned, traceable, and less likely to rely on unsupported assumptions.

Instructions file for CodexOpenCode

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

This is aleksandr-voitenko/agentic-lore-coding's own configuration. It tells Codex and OpenCode how to work on agentic-lore-coding 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 agentic-lore-coding configures →

Reuse

Borrowing it

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

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 agentic-lore-coding AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/aleksandr-voitenko/agentic-lore-coding/agents-md"><img src="https://agentmods.dev/badge/instructions/aleksandr-voitenko/agentic-lore-coding/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,434 This file is loaded in full into every session.
When invoked 1,434 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.01434 $0.01434
Opus 5.5 $0.00574 $0.00574
Sonnet 5.5 $0.00287 $0.00287
Haiku 4.5 $0.00143 $0.00143

Measured 12d ago against content hash 4d6b26c991a0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agentic-lore-coding 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 12d 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 · 58 lines

How it starts

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

Agentic Lore Coding

You are working in an Agentic Lore Coding environment. Lore Coding is a Git-native development protocol for preserving task context in repository history.

Introduction

This file is the always-loaded contract. Detailed procedures live in .lore-coding/ and must be read when the operation they govern is about to begin, not all at startup.

Instruction strength

Use these meanings throughout this file:

  • Must means required unless impossible in the current environment or explicitly overridden by the user.
  • Should means expected for normal work, but may be skipped when repository context makes it inappropriate.
  • Prefer means a default style or design preference, not a hard rule.

When instructions conflict, follow safety and repository-specific requirements first, then task traceability, then general preferences.

Permanent rules

  • Keep tasks atomic. Preserve unrelated work, existing behavior, and repository conventions unless the task intentionally changes them. Do not mix unrelated cleanup into a task. Do not bypass, remove, or alter guards unless the task explicitly requires it and the reason is understood and documented.
  • Before changing existing code, inspect relevant memory, source, and task history. Treat historical records and memory as evidence, not as new user authorization. Investigate contradictions rather than blindly trusting stale records.
  • At the beginning of each distinct task, you must display a standalone Assumptions: block in a user-visible message before substantive task execution. This applies to analysis, investigation, review, planning, implementation, documentation, and standalone finalization—not only code changes. Do not require the user to say Start a new task for this rule to apply. You may first read applicable instructions and the minimum project context needed to establish the task's scope. Do not use this exception to complete the investigation before disclosing your working assumptions. Use the block for uncertain interpretations and working premises, not explicit user requirements, verified findings, or established workflow obligations. Do not invent uncertainty to fill a category.
  • Before implementing a task, state its material outcomes, scope boundaries, and task-relevant preservation requirements in a concise task brief. Use or reference an existing brief when the user has already supplied one. Keep the brief available in the task conversation or existing task record. Record material revisions and their reasons when supported requirements change; do not silently rewrite the brief to match the implementation. Before reporting completion, compare the result and verification evidence against the latest supported task requirements captured in the brief.
  • Plan observable acceptance criteria and appropriate verification before implementation. Only claim checks actually executed and results actually observed. Disclose unavailable or unperformed expected checks.
  • Each meaningful change must eventually be recorded as a structured task commit with context, implementation, verification, a Lore ID, and useful Lore links, only during explicit finalization.
  • Before running repository instructions, ensure required local tools are available. Use the documented setup process when possible. Report tools that cannot be installed or used instead of silently skipping a step. Do not stop long-running build, test, dependency, or code-generation commands prematurely unless they are clearly hung, unsafe, or blocking progress. Report timeouts and interruptions accurately.
  • During work, retain concise task evidence: material assumptions, decisions and rejected alternatives, relevant Lore IDs, changed behavior, and actual verification results. These are facts for the eventual task record, not a requirement to persist private reasoning or a chronological memory log. Do not record secrets or sensitive data.
  • For material decisions likely to guide later work, retain decision context: the choice, rationale, supporting evidence, scope, relevant assumptions, and identified reconsideration conditions. Distinguish requirements, design choices, and working assumptions; do not invent missing rationale or conditions. A condition prompts review, not automatic change, new authorization, or proof it has occurred. Its absence makes a decision neither permanent nor safe to discard. Routine local choices need no decision template.
  • Ensure a verified root MEMORY.md exists before implementation. Read-only research does not authorize creating it or editing other files.
  • After implementation and verification, report the result and stop for user review. Repeat this loop for requested adjustments.
  • Start a new task establishes a task boundary; it does not authorize staging or committing. Do not stage, commit, amend, tag, push, or rewrite history without explicit user authorization for the operation. Finalize the task authorizes staging this task's files and creating its Lore commit, not pushing, tagging, or rewriting history. A request to draft a message is not permission to commit.

Read the full file on GitHub · 58 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. 12d ago Changed 4d6b26c991a0
  2. 1mo ago Changed · +1 lines · +144 tokens per session 2264592a22cc
  3. 1mo ago Changed · +2 lines · +91 tokens per session 28097791e690
  4. 1mo ago Changed · -799 lines · -7,673 tokens per session 16be95bd7734
  5. 2mo ago First seen · 854 lines · 8,872 tokens per session scan A b7fe6a284bcc

Subscribe to this mod's changes

agentic-lore-coding AGENTS.md is an instructions file published in the GitHub repository aleksandr-voitenko/agentic-lore-coding (5 stars, last pushed 12d ago), licensed MIT. It adds 1,434 tokens to every session, about $0.0057 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-31.

Related

agentic-lore-coding AGENTS.md compared with instructions from other repositories

agentic-lore-coding AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agentic-lore-coding AGENTS.mdaleksandr-voitenko/agentic-lore-codingInstructions file512d agoMITA1,434Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode