Lody AGENTS.md

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

Repository instructions for LodyAI/Lody projects, including rules for maintaining AGENTS.md files, understanding the project boundary, and checking code changes.

In plain words
What is it for?
Use them when planning or reviewing changes, updating repository guidance, managing context files, and validating architecture or dependencies.
Why use it?
They reduce confusion about which files define the project, how shared components may communicate, and which dependencies are prohibited.

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/lodyai/lody/agents-md
Clone the repo
git clone --depth 1 https://github.com/LodyAI/Lody

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/lodyai/lody/agents-md.svg)](https://agentmods.dev/instructions/lodyai/lody/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/lodyai/lody/agents-md"><img src="https://agentmods.dev/badge/instructions/lodyai/lody/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,789 This file is loaded in full into every session.
When invoked 1,789 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.01789 $0.01789
Opus 5 $0.00894 $0.00894
Sonnet 5 $0.00358 $0.00358
Haiku 4.5 $0.00179 $0.00179

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

Security

Grade A, and why

Lody 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 today.

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

How it starts

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

Repository guidelines

CLAUDE.md is a symlink to this file. Edit AGENTS.md only.

Context maintenance

Read every AGENTS.md from the repository root to the file being changed. Before PR or Issue work, read .github/AGENTS.md. Record public contributor invariants in the narrowest relevant AGENTS.md (under 8 KiB; add a CLAUDE.md symlink for new scoped files). Internal context, plans, specifications, and task records stay in the private repository.

Repository boundary

Standalone public source tree: apps/{cli,electron} and the packages they consume. Excludes hosted backends, operator/billing config, private secrets, and Web/mobile app sources.

  • Never add a dependency on @lody/convex, a private workspace package, or a generated backend API declaration.
  • Public optional-cloud protocol names/DTOs live in packages/cloud-api.
  • Shared product code uses packages/platform capabilities and ports.
  • Settings must represent real platform support: local hides cloud usage and PR-driven auto-archive, and omits machine selection when remoteMachines is absent. Gate entries and their background work through capabilities rather than build-kind or environment checks.
  • Shared packages stay platform-neutral. The public Electron composition selects local explicitly; private Web/mobile entries and cloud composition roots may inject cloud without forking those shared packages.
  • The code-review-viewer build accepts LODY_RELEASE_VERSION for downstream immutable packaging; without it, the public package version is authoritative.
  • The OSS desktop entry is local-only and must not make authenticated product-cloud requests; public managed-runtime artifact downloads are the explicit exception.
  • An absent platform selector resolves to local; public build scripts must not accept or discover staging/production deployment presets.
  • Local CLI, renderer, and Electron-main telemetry is hard-disabled even when unrelated PostHog variables exist in the caller's shell.
  • Client workflows that require daemon support negotiate integer protocol versions through MachineMeta.protocolCapabilities; never infer support from the CLI release version. Missing capabilities mean legacy/unsupported. Advertised set and version checks share one binding in packages/shared/src/machine-protocol-capabilities.ts so a key never travels without its version.
  • Managed runtime downloads default to the public R2-backed channel owned by packages/platform/src/runtime-artifacts.ts; local and cloud assembly must use that same constant. LODY_RUNTIME_BASE_URL is only an explicit mirror override.
  • packages/acp-extension-kimi is an isolated submodule workspace. Do not add it to the root pnpm dependency graph; Lody consumes only its separately built, checksummed managed-runtime artifact and versioned ACP extension contract.
  • packages/acp-extension-core is a public submodule workspace sourced from LodyAI/acp-extension-core. Keep shared ACP extension contracts there and consume them through the root pnpm workspace; do not duplicate those contracts locally.
  • Never commit captured user/agent transcripts; fixtures must be synthetic.
  • Workspace MCP has exactly two durable layers: catalog entries in the workspace Flock document and selected ids in each user turn input config. Do not add machine bindings. Preserve mcpServerIds: [] as an explicit empty selection; dispatch must carry the driving turn's selection into ACP startup rather than rereading session history.
  • Workspace catalog mutations (MCP servers and Agent Roles) are durable on the local Flock write and shared by an explicit upload that follows it. Settings surfaces resolve on durability and do not wait on or report that upload: the row already exists, the joined room carries the document when a one-shot upload cannot, and a banner about it is something the user can neither act on nor dismiss. What is forbidden is the opposite — reporting a durable write as failed, or rolling one back, because the upload did not go through. The CLI still reports its own sync result to the terminal.
  • Agent Roles are one agentRole row family in the same workspace Flock document, not a private and a shared catalog: sharing is an ordinary update of visibility on the row. A Role stores no secret — no API key, MCP selection, or memory — and isSensitiveAgentRoleConfigOptionKey is applied on read as well as on write, because a workspace row reaches every member's client. It DOES pin the permission mode, as runConfig.modeId for legacy ACP modes or the agent's own _permission option: permission is a run-config value the agent publishes, not a secret, and a Role that left it out would not be the whole configuration it claims to be. So the composer drops its separate permission button while such a Role is selected. A Role may therefore pin a warning-tone mode (full access / skip permissions), which every surface that hides the permission control must keep visibly marked; what stays out of scope is a Role-level auto-approval POLICY. Settings and mention discovery use canReadAgentRole/canManageAgentRole; MCP creation resolves an explicit Role id from the workspace catalog without requiring a mention-scoped authorization record.
  • A Role never falls back. machineId + agentConfigId bind the execution site exactly; when the machine, config, or a stored model/mode is unavailable the Role stays listed with the precise reason and stops being mentionable. MCP creation resolves the current workspace catalog row by agentRoleId before Operation acceptance; the canonical Prompt, target, Role revision, and dispatch config are frozen into the accepted Operation so a later edit or delete cannot change its recovery or retry. SessionMeta.agentRoleId / agentRoleRevision record where a Session came from and are display-only.

Read the full file on GitHub · 131 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. today Changed · -8 lines · -57 tokens per session 5ccbcc4acdc9
  2. 4d ago First seen · 139 lines · 1,846 tokens per session scan A df0fbfb0f7e9

Subscribe to this mod's changes

Lody AGENTS.md is an instructions file published in the GitHub repository LodyAI/Lody (869 stars, last pushed today), licensed Apache-2.0. It adds 1,789 tokens to every session, about $0.0089 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.

Related

Other instructions, from other repositories

sprawling AGENTS.md

Instructions for 2youg1/sprawling, covering agents.md — how work is done in this repository, the loop, read before you write, one change, five steps and the rules a machine holds.

2youg1/sprawling · 2,019 tokens

open-tag CLAUDE.md

Instructions for fancyboi999/open-tag, a project described as: Open-source, self-hostable alternative to Claude Tag — a Slack-style workspace where your team and its AI agents (Claude Code, Codex, GitHub Copilot, and more) work as teammates in channels, threads, DMs, and shared tasks. Your data stays on your machines.

fancyboi999/open-tag · 106 tokens

sprawling CLAUDE.md

Instructions for 2youg1/sprawling: See AGENTS.md. It is the whole instruction set for this repository — the loop, what to read first, the five steps of one change, the rules a machine holds, and the language and commit conventions.

2youg1/sprawling · 83 tokens

open-tag AGENTS.md

Instructions for fancyboi999/open-tag, covering open-tag — guide for ai coding agents, this file is a map, not a manual, conventions, parallel development (worktrees) and isolated dev e2e (on demand).

fancyboi999/open-tag · 3,771 tokens

Octop AGENTS.md

AGENTS.md instructions for TencentCloud/Octop, covering agents.md, 1. collaboration principles, think before writing, simplicity first and surgical edits.

TencentCloud/Octop · 7,899 tokens

gini-agent AGENTS.md

AGENTS.md instructions for Open-Curiosity/gini-agent, covering gini agent instructions, shape, adrs, boundaries and branches.

Open-Curiosity/gini-agent · 3,639 tokens