Agentlas-OS: Instructions file for Codex

AGENTS.md

Agentlas-OS AGENTS.md is an instructions file for Codex, OpenCode from agentlas-ai/Agentlas-OS. It costs 4,539 tokens per session, scanned C, original, Apache-2.0.

Repository instructions that define how Agentlas-OS changes, branches, releases, and third-party plugins must be handled.

In plain words
What is it for?
Use them when modifying, reviewing, committing, publishing, or packaging the Agentlas-OS repository.
Why use it?
They reduce accidental work on the wrong branch and help keep internal or sensitive material out of public releases.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

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

About the project

Agentlas OS is a local-first system for creating, storing, borrowing, and running specialist AI agents and temporary agent teams through supported hosts and models. It serves people who want reusable agents that remain available across computers and model workspaces, and the catalogue contains its skills, commands, hooks, agents, instructions, plugin, and rule.

agentlas-ai/Agentlas-OS · 1,413 stars · on GitHub · agentlas.cloud

Reuse

Borrowing it

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

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 Agentlas-OS AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/agentlas-ai/agentlas-os/agents-md"><img src="https://agentmods.dev/badge/instructions/agentlas-ai/agentlas-os/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,539 This file is loaded in full into every session.
When invoked 4,539 The same file — it is already loaded in full.
Security scan C 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.04539 $0.04539
Opus 5.5 $0.01816 $0.01816
Sonnet 5.5 $0.00908 $0.00908
Haiku 4.5 $0.00454 $0.00454

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

Security

Grade C, and why

Agentlas-OS AGENTS.md scanned grade C 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 yesterday.

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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- prompt-module: {"id":"os.public.runtime-instructions","revision":3,"stability":"versioned-content","changeTriggers":["release"],"channel":"system"} -->
AGENTS.md · 367 lines

How it starts

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

Agentlas Core Engine Meta-Agent Team

installation: Read the install block at the top of README.md. scripts/install-all-runtimes.sh installs the runtime and this host's adapters.

This repository is a portable four-agent meta-agent team. Use it to create or package Agentlas-compatible single agents and multi-agent teams for Codex, Claude Code, Antigravity, Cursor, OpenCode, OpenClaw, Hermes Agent, Ollama-served local models (Gemma, DeepSeek), and AGENTS.md-compatible runtimes.

Source Of Truth

Use the shipped runtime contracts, schemas, skills, and entrypoints below. Runtime packages do not require internal maintainer documentation.

  • Canonical entry point: AGENTS.md.
  • Production Ontology Runtime: ontology/ and bin/ontology.
  • Agentlas Cloud runtime: agentlas_cloud/, schemas/agentlas-manifest.schema.json, and templates/agentlas.json.tpl.
  • Workforce execution: agentlas_cloud/networking/, schemas/routing-card.schema.json, and .agentlas/routing-card.json.
  • Stormbreaker execution: agentlas_cloud/networking/stormbreaker_harness.py and schemas/stormbreaker-goal-ultracode-harness.schema.json.
  • Builder quality gate: contracts/builder-interview-research-gate.md, templates/builder-interview.md.tpl, templates/research-sources.md.tpl, templates/tool-selection.md.tpl, templates/domain-expert-synthesis.md.tpl, templates/prompt-performance-contract.md.tpl, and templates/capability-eval-plan.json.tpl.
  • Agent experience and MCP contracts: the shipped schemas/*.schema.json and .agentlas/mcp-policy.json.
  • Team members: agents/10-single-agent-builder/agent.md, agents/20-multi-agent-team-builder/agent.md, and agents/30-agentlas-packager/agent.md, plus agents/40-session-agent-builder/agent.md.
  • Mode contracts: modes/single-agent-creator.md, modes/team-builder.md, modes/agentlas-packager.md, and modes/session-agent-builder.md.
  • Portable runtime core: .agents/agentlas-core-engine-meta-agent/agent.md.
  • Reusable skills: .agents/skills/*/SKILL.md and root skills/*/SKILL.md.
  • Agentlas contracts: .agentlas/mode-map.json, .agentlas/agent-card.json, .agentlas/company-blueprint.json, .agentlas/sitemap.json, .agentlas/global-commands.json, .agentlas/memory-map.json, .agentlas/memory-tickets.jsonl, .agentlas/vault-references.json, .agentlas/local-credentials.map.json, .agentlas/mcp-policy.json, and skill lifecycle files emitted in generated packages.
  • Public install surfaces: codex/, .claude/, antigravity/, and scripts/.

Read the full file on GitHub · 367 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. yesterday Changed · -65 lines · -985 tokens per session 0dcd7df7ca83
  2. 20d ago Changed · +1 lines · +42 tokens per session ac70bfd9db20
  3. 1mo ago Changed · -78 lines · -1,007 tokens per session scan A → C 0918ab63d97d
  4. 1mo ago Changed · -4 tokens per session 940e3dfae6c9
  5. 1mo ago Changed · +1 lines · +22 tokens per session d5aefa551e97
  6. 2mo ago Changed · +10 lines · +158 tokens per session 3f490e2e24e0
  7. 2mo ago Changed · +8 lines · +98 tokens per session fd56f0763842
  8. 3mo ago First seen · 490 lines · 6,215 tokens per session scan A 084fa391442c

Subscribe to this mod's changes

Agentlas-OS AGENTS.md is an instructions file published in the GitHub repository agentlas-ai/Agentlas-OS (1,413 stars, last pushed yesterday), licensed Apache-2.0. It adds 4,539 tokens to every session, about $0.0182 per session on Opus 5.5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Agentlas-OS AGENTS.md compared with instructions from other repositories

Agentlas-OS AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Agentlas-OS AGENTS.mdagentlas-ai/Agentlas-OSInstructions file1.4kyesterdayApache-2.0C4,539Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file150ktodayMITA4,951Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,685GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,303GitHub Copilot
deno copilot-instructions.mddenoland/denoInstructions file109kyesterdayMITA3,077GitHub Copilot