OrbitDock AGENTS.md

A repository guide for OrbitDock, an application with SwiftUI native clients and a Rust server, command-line tools, storage, and service integrations. It explains where durable data belongs and points developers to the main setup, architecture, and operations documents.

In plain words
What is it for?
It is for developing the macOS and iOS app, Rust server, command-line tools, persistence, and provider integrations while following the project’s build and data-flow rules.
Why use it?
It gives agents the project’s key boundaries, such as keeping business truth on the server and SQLite ownership in the Rust code, so changes fit the existing design.

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/robdel12/orbitdock/agents-md
Clone the repo
git clone --depth 1 https://github.com/Robdel12/OrbitDock

Made for: Codex, OpenCode.

Per session 935 This file is loaded in full into every session.
When invoked 935 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.00935 $0.00935
Opus 5 $0.00467 $0.00467
Sonnet 5 $0.00187 $0.00187
Haiku 4.5 $0.00093 $0.00093

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

Security

Grade A, and why

OrbitDock 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 2d 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 · 76 lines

How it starts

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

Repository Guidelines

AGENTS.md is the front door, not the handbook.

Start here, then jump to the right doc.

Read This First

If you're making code changes, these are the docs that matter most:

Short Version

OrbitDock has two main parts:

  • OrbitDockNative/OrbitDock/ — SwiftUI app for macOS and iOS
  • orbitdock-server/ — Rust server, CLI, persistence, and provider integrations

The repo rules are simple:

  • keep durable business truth on the server
  • apply authoritative POST/PATCH/PUT responses to local state immediately, then let subscriptions reconcile
  • use make rust-* targets instead of plain cargo
  • keep shared Make config in the root Makefile and target families in make/*.mk
  • keep SQLite ownership in the Rust server
  • prefer focused docs in docs/ over growing this file again

Native App Workflow

For Swift app work, prefer the newer plugin skills and MCP tools over ad hoc shell workflows.

  • use the Build iOS Apps plugin for iOS build, simulator, UI inspection, screenshots, logs, and debugger flows
  • use the Build macOS Apps plugin for macOS build, run, test, debug, telemetry, and packaging flows
  • when the task clearly matches one of the native skills, load it first instead of reaching straight for raw xcodebuild
  • prefer build-ios-apps:ios-debugger-agent for simulator runs and interactive iOS debugging
  • prefer build-macos-apps:build-run-debug for local macOS build and launch work, and build-macos-apps:test-triage when macOS tests fail
  • prefer the mcp__xcodebuildmcp__* tool family for simulator control, screenshots, UI snapshots, log capture, and Xcode-backed build/test actions
  • use shell xcodebuild or swift build as a fallback when the MCP/plugin path does not cover the task cleanly

Read the full file on GitHub · 76 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. 2d ago First seen · 76 lines · 935 tokens per session scan A b6db072c0ff1

Subscribe to this mod's changes

OrbitDock AGENTS.md is an instructions file published in the GitHub repository Robdel12/OrbitDock (95 stars, last pushed 4mo ago), licensed MIT. It adds 935 tokens to every session, about $0.0047 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.