ordinus AGENTS.md

ordinus AGENTS.md is an instructions file for Codex, OpenCode from muratgur/ordinus. It costs 1,112 tokens per session, scanned A, original, MIT.

A product and architecture guide for Ordinus, a desktop workspace that coordinates AI agents around software projects.

In plain words
What is it for?
Use it when changing agent coordination, Electron processes, the renderer, the preload API, provider runtimes, filesystem access, databases, or process execution.
Why use it?
It defines agent roles, visible work states, user control, and the boundary between the desktop process and its user interface.

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/muratgur/ordinus/agents-md
Clone the repo
git clone --depth 1 https://github.com/muratgur/ordinus

Made for: Codex, OpenCode.

Per session 1,112 This file is loaded in full into every session.
When invoked 1,112 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.01112 $0.01112
Opus 5 $0.00556 $0.00556
Sonnet 5 $0.00222 $0.00222
Haiku 4.5 $0.00111 $0.00111

Measured 3d ago against content hash 386f05d22497, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ordinus 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 3d 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 · 114 lines

How it starts

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

Ordinus Agent Guide

Mission

Ordinus is a desktop workspace for coordinating AI agents around real software work. Keep the product simple, observable, local-first, and user-controlled.

Build a command center for AI-assisted work, not a generic chatbot.

Product Principles

  • Make agent activity visible: planned, running, blocked, completed.
  • Give agents clear roles and responsibilities.
  • Help agents coordinate instead of running disconnected conversations.
  • Keep the user in control of important actions.
  • Prefer a small reliable workflow over broad unfinished features.
  • Avoid integrations before the core runtime model is stable.

Architecture Direction

  • Electron main process owns privileged work: filesystem, database, process execution, provider runtimes, and OS integration.
  • Renderer is UI only. It must not access Node, filesystem, child processes, secrets, or SQLite directly.
  • Preload exposes only a small typed window.ordinus API.
  • Never expose raw ipcRenderer, electron, filesystem, process, or database APIs to renderer code.
  • Provider runtime must follow docs/provider-runtime-contract.md before adding CLI detection or process spawning.
  • Provider commands use executable plus args, not raw shell strings.
  • Runtime environment is deny-by-default; secrets are referenced, resolved in main, and never logged.
  • Shared contracts live in src/shared.
  • Use SQLite for durable app state, but add tables only when the product model is clear.
  • Keep SQLite schema changes in Drizzle migrations under app/resources/db/migrations.
  • Run migrations from the Electron main process before registering IPC handlers.
  • Track applied SQL through Drizzle and app-level schema version through app_meta.schema_version.
  • Do not add agent, task, provider, schedule, or inbox schemas prematurely.

Cross-Platform Development

Ordinus must work on both macOS and Windows. When making changes, account for platform differences before finishing.

  • Do not assume POSIX-only paths, shell commands, environment variable syntax, executable names, file permissions, or case-sensitive filesystems.
  • Use Node/Electron APIs such as path, os, and provider command executable + args arrays instead of shell-specific strings.
  • Consider Windows .cmd/.exe behavior, spaces in paths, CRLF/LF differences, and macOS/Linux case sensitivity.
  • For changes touching filesystem access, process execution, packaging, provider runtimes, scripts, or native dependencies, verify or explain platform impact.
  • Prefer npm scripts and cross-platform tooling over shell-specific commands.

Read the full file on GitHub · 114 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. 3d ago First seen · 114 lines · 1,112 tokens per session scan A 386f05d22497

Subscribe to this mod's changes

ordinus AGENTS.md is an instructions file published in the GitHub repository muratgur/ordinus (110 stars, last pushed 21d ago), licensed MIT. It adds 1,112 tokens to every session, about $0.0056 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.