jockey: Instructions file for Codex

AGENTS.md

jockey AGENTS.md is an instructions file for Codex, OpenCode from recailai/jockey. It costs 3,713 tokens per session, scanned A, original, MIT.

Repository instructions for Jockey, a desktop app with a SolidJS and TypeScript interface and a Rust backend built with Tauri.

In plain words
What is it for?
Use them when changing the app interface or Rust backend, running development and production builds, checking Rust code, formatting it, or adding tests.
Why use it?
They explain where code belongs, which commands build and test each part, and which generated files should stay out of version control.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions subagents; mentions Claude Code; mentions Codex.

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/recailai/jockey/agents-md"><img src="https://agentmods.dev/badge/instructions/recailai/jockey/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,713 This file is loaded in full into every session.
When invoked 3,713 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.03713 $0.03713
Opus 5.5 $0.01485 $0.01485
Sonnet 5.5 $0.00743 $0.00743
Haiku 4.5 $0.00371 $0.00371

Measured 13d ago against content hash 206be40d5a3a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

jockey 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 13d 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 · 165 lines

How it starts

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

Repository Guidelines

JockeyUI is a Tauri 2 desktop app — a multi-agent orchestrator ("Conductor") that coordinates AI CLI agents (Claude Code, Codex CLI, Pi CLI, Antigravity CLI). ACP (Agent Client Protocol) is the only live agent protocol. Claude, Codex, Pi and Antigravity run through external ACP adapters; Jockey owns the shared client, session lifecycle and decision UI (see ACP Transport).

Further documentation is indexed in docs/README.md.

Build, Test, and Development Commands

# Frontend & Tauri Development
pnpm dev          # Start the Vite dev server only (port 1420); use `pnpm tauri dev` for the app
pnpm build        # Build production frontend into dist/
pnpm tauri dev    # Start full Tauri desktop app (frontend + Rust backend)
pnpm tauri build  # Build distributable app bundle

# Rust Backend (from project root — use --manifest-path for CI or scripts)
cargo check --manifest-path src-tauri/Cargo.toml  # Fast Rust type check
cargo test --manifest-path src-tauri/Cargo.toml   # Run Rust tests
cargo clippy --manifest-path src-tauri/Cargo.toml # Rust lint checks
cargo fmt --manifest-path src-tauri/Cargo.toml    # Format Rust code

Project Structure & Architecture

File Layout

  • src/: SolidJS + TypeScript UI.
    • App.tsx — Main view entry.
    • index.tsx — Bootstraps app.
    • index.css — Tailwind and CSS design tokens (--ui-*).
    • components/ — ui/ (design-system primitives), composer/, management/ (settings tabs), sidebar/, plus chat, git, files, and terminal panels.
    • hooks/ — Session and agent state (useAgentData, useAgentContext, etc.).
    • lib/ — tauriApi.ts (typed invoke wrappers), engineEvents.ts (engine event listeners), acpEventBridge.ts (live ACP stream), commandUi/ (composer command registry), browserMock.ts (runs the UI without Tauri).
  • src-tauri/src/: Rust backend.
    • lib.rs — Registers Tauri commands (generate_handler!), state, and startup recovery.
    • engine/ — Engine service layer: turn lifecycle, queue, transcript recording, events, and engine commands.
    • acp/ — Runtime adapters and transports (see below).
    • chat.rs, chat/ — Chat core: prompt building, context bundle, and session runtime between the engine and acp.
    • db/ — SQLite persistence (pooled, migrations gated on user_version).
    • commands/ — Tauri #[command] handlers (runtime control, git, completion, ...).
    • web_gateway/ — axum HTTP + SSE gateway for the phone companion (src/companion/, built to dist-companion/ and embedded by build.rs); token auth, default port 8420.
    • jockey_mcp/ — Built-in MCP bridge exposing get_session_context, list_roles, list_skills, get_skill, invoke_role.
    • importer/ — Claude/Codex/Pi transcript import.
    • git/ — Git operations behind the git_*_cmd commands.
    • runtime_kind.rs, runtime_profile.rs — Canonical runtime keys and custom runtime profiles.
  • docs/: Architecture notes, reviews, roadmap, and reference material (index in docs/README.md).
  • public/: Static assets packaged by Vite.
  • Generated output: dist/ (frontend build) and src-tauri/target/ (Rust build artifacts); do not commit these.

Read the full file on GitHub · 165 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. 13d ago Changed · +9 lines · +653 tokens per session 206be40d5a3a
  2. 14d ago Changed · +2 lines · -125 tokens per session 5c95858870c8
  3. 18d ago Changed · +28 lines · +1,048 tokens per session 40acd5c19931
  4. 1mo ago Changed · +79 lines · +1,290 tokens per session 7c5b4531c0d3
  5. 1mo ago Changed · +8 lines · +260 tokens per session cf652f8644c7
  6. 2mo ago First seen · 39 lines · 587 tokens per session scan A d8bcb056c237

Subscribe to this mod's changes

jockey AGENTS.md is an instructions file published in the GitHub repository recailai/jockey (25 stars, last pushed 11d ago), licensed MIT. It adds 3,713 tokens to every session, about $0.0149 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

jockey AGENTS.md compared with instructions from other repositories

jockey AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
jockey AGENTS.mdrecailai/jockeyInstructions file2511d agoMITA3,713Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode