logion: Instructions file for Codex

AGENTS.md

logion AGENTS.md is an instructions file for Codex, OpenCode from nicolasmelo1/logion. It costs 1,733 tokens per session, scanned A, original, MIT.

Repository instructions for Logion, an open-source layer for recording how AI resources are used, collecting evidence, and tracking improvements.

In plain words
What is it for?
Use them before changing Logion’s catalog, discovery APIs, identity, trust, attestations, federation, or related protocol work.
Why use it?
They require changes to follow Logion’s pinned protocol specifications and keep discovery, invocation, trust, and payment-related concepts separate.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions AGENTS.md; mentions Codex; built for aider.

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/nicolasmelo1/logion/agents-md"><img src="https://agentmods.dev/badge/instructions/nicolasmelo1/logion/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,733 This file is loaded in full into every session.
When invoked 1,733 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.01733 $0.01733
Opus 5.5 $0.00693 $0.00693
Sonnet 5.5 $0.00347 $0.00347
Haiku 4.5 $0.00173 $0.00173

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

Security

Grade A, and why

logion 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 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.

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

How it starts

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

AGENTS.md

Orientation for AI coding assistants (Claude, Cursor, Aider, Codex, others) contributing to this repository.

If you are a human, CONTRIBUTING.md is the authoritative document. This file is the AI-facing summary plus the guardrails you will fail CI on if you ignore.


Protocol sources are mandatory

Before changing AI Catalog or ARD models, discovery APIs, catalog publication, identity, trust, attestations, federation, AKTP links, or related plans:

  1. read protocol-specs/README.md;
  2. read the applicable pinned normative specification and machine-readable schemas under protocol-specs/upstream/;
  3. treat those sources as authoritative over plans, examples, comments, existing code, and model memory;
  4. keep AI Catalog representation, ARD discovery, native invocation, and AKTP evidence/improvement semantics separate;
  5. run python3 scripts/check_protocol_specs.py.

If Logion conflicts with a pinned specification, do not improvise a hybrid. Document the conflict and either change Logion, review a newer upstream pin, or prepare an explicit upstream proposal.


What Logion is

Logion is an open-source resource-use, evidence, and improvement layer for AI agents. It indexes skills, plugins, MCP servers, models, and hosted Courses; integrates with native harness workflows; links consented use/feedback to exact versions; and coordinates reproducible improvement work. Commercial rails are optional sustainability infrastructure, not the project's primary identity.

This repository (logion/) holds the public developer surface:

  • packages/client/ — Python SDK
  • packages/cli/ — command-line interface
  • packages/agent-companion/ — first-party companion skill bundle
  • packages/landing/ — public web scaffold
  • contracts/openapi/v1.json — public API contract
  • plans/ and future-roadmap/ — public planning projection and contribution surface

The backend that serves this contract is not in this checkout. Public planning is generated from the canonical maintainer source; see Guardrails below.

Read the full file on GitHub · 159 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 First seen · 159 lines · 1,733 tokens per session scan A 576aeca0c9a8

Subscribe to this mod's changes

logion AGENTS.md is an instructions file published in the GitHub repository nicolasmelo1/logion (40 stars, last pushed 19d ago), licensed MIT. It adds 1,733 tokens to every session, about $0.0069 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-30.

Related

Other instructions, from other repositories