warp-command-runner: Instructions file for Codex

AGENTS.md

warp-command-runner AGENTS.md is an instructions file for Codex, OpenCode from M-Pineapple/warp-command-runner. It costs 665 tokens per session, scanned A, original, MIT.

A project instruction file for Warp Command Runner, a Swift command-line tool and MCP server that lets AI agents communicate with it through standard input/output or optional local HTTP. It defines project boundaries, coding rules, and required checks.

In plain words
What is it for?
Use it when changing, building, testing, or documenting the Warp Command Runner repository.
Why use it?
It keeps public identity, network binding, logs, credentials, and release claims within safe project limits, while ensuring documentation matches the built program.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

This is M-Pineapple/warp-command-runner's own configuration. It tells Codex and OpenCode how to work on warp-command-runner 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 warp-command-runner configures →

Reuse

Borrowing it

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

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 warp-command-runner AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/m-pineapple/warp-command-runner/agents-md"><img src="https://agentmods.dev/badge/instructions/m-pineapple/warp-command-runner/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 665 This file is loaded in full into every session.
When invoked 665 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.00665 $0.00665
Opus 5.5 $0.00266 $0.00266
Sonnet 5.5 $0.00133 $0.00133
Haiku 4.5 $0.00067 $0.00067

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

Security

Grade A, and why

warp-command-runner 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 22d 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 · 50 lines

How it starts

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

Warp Command Runner

Public MIT MCP server (Pineapple / M-Pineapple). Speaks MCP over stdio by default. Opt-in --http serves Streamable HTTP on 127.0.0.1 only. Users bring their own HTTPS tunnel. This project does not host a relay.

Done means the verification gate is green, docs match the binary, and the tree has no private identity.

Boundaries

  • Public identity is Pineapple / M-Pineapple only. No private-estate names, maintainer tunnels, or real hostnames in git. Sample origin: https://mcp.example.com.
  • --http binds loopback only. Never 0.0.0.0.
  • Stdio owns stdout. Logs go to stderr.
  • Do not commit tokens, tunnel credentials, or oauth-store.json.
  • No money-path. This is not a trading product.

Coding standards

SwiftPM CLI + MCP. Match existing files. ArgumentParser for flags. Agent workflow when driving this server: docs/AGENT_CODING_SOP.md.

Verification gate

Run from the repo root on macOS. Quote the summary lines. Triage every failure. There is no Xcode project; skip xcodebuild.

  1. swift package resolve && swift build && swift test Green: Test Suite 'All tests' passed with 0 failures.
  2. swift build -c release Green: .build/release/warp-command-runner exists.
  3. Stdio MCP proof against that binary (not debug): ./examples/run_test.sh .build/release/warp-command-runner Green: initialize → Warp Command Runner v<version> and tools/list → 40 tools.
  4. Remote HTTP proof against the same binary: ./examples/run_http_test.sh .build/release/warp-command-runner Green: line LOOPBACK_OK and initialize version matching AppIdentity.version.
  5. Version: AppIdentity.version, .build/release/warp-command-runner --version, CHANGELOG [X.Y.Z], and README "What's new in vX.Y.Z" agree.

Known failures: none. ProcessRunnerTests.testTimeoutTerminatesHungProcess waits on a real hung child (timeout API), not a test sleep.

Dependencies: Package.resolved is committed; swift-sdk is on 0.12.x, which compiles under Swift 6.4 without the old patch-swift-sdk.sh. DependencyFloorTests fails if the lockfile drops below the floors. After swift package update, commit the new Package.resolved.

Read the full file on GitHub · 50 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. 22d ago Changed · +20 tokens per session c1352aec508f
  2. 2mo ago First seen · 50 lines · 645 tokens per session scan A 62118e3bac14

Subscribe to this mod's changes

warp-command-runner AGENTS.md is an instructions file published in the GitHub repository M-Pineapple/warp-command-runner (18 stars, last pushed 5d ago), licensed MIT. It adds 665 tokens to every session, about $0.0027 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

warp-command-runner AGENTS.md compared with instructions from other repositories

warp-command-runner AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
warp-command-runner AGENTS.mdM-Pineapple/warp-command-runnerInstructions file185d agoMITA665Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,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