sim-use: Instructions file for Codex

AGENTS.md

sim-use AGENTS.md is an instructions file for Codex, OpenCode from lycorp-jp/sim-use. It costs 2,896 tokens per session, scanned A, original, Apache-2.0.

A set of development instructions for lycorp-jp/sim-use, a Swift project for working with iOS simulators. It covers code quality, changelog updates, setup, building, and testing.

In plain words
What is it for?
Use it when developing sim-use, adding or removing commands, updating documentation, switching Xcode versions, building the project, or testing against a booted simulator.
Why use it?
It gives contributors consistent rules for changing the project and running its required build and test commands.

Instructions file for CodexOpenCode

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

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

About the project

lycorp-jp/sim-use is a command-line tool that lets AI agents observe and control iOS simulators, Android emulators, and devices through accessibility information and input actions. It helps agents test mobile applications by reading compact screen descriptions and interacting with named elements, while the catalogue skills and instructions teach agents how to use those capabilities.

lycorp-jp/sim-use · 1,532 stars · on GitHub

Reuse

Borrowing it

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

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 sim-use AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/lycorp-jp/sim-use/agents-md"><img src="https://agentmods.dev/badge/instructions/lycorp-jp/sim-use/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,896 This file is loaded in full into every session.
When invoked 2,896 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.02896 $0.02896
Opus 5.5 $0.01158 $0.01158
Sonnet 5.5 $0.00579 $0.00579
Haiku 4.5 $0.00290 $0.00290

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

Security

Grade A, and why

sim-use 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 16d 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.

Development Rules

Code quality

  • No Any types unless absolutely necessary; upgrade dependencies rather than downgrading code to work around type errors.
  • Follow Swift best practices and match the style of surrounding code.
  • When adding or removing commands/options, update the README and skills/sim-use/SKILL.md. If the Skill starts relying on behavior newer than its current compatibility floor, also bump MINIMUM_SIM_USE_VERSION in skills/sim-use/scripts/preflight.py and extend PreflightScriptTests.

Changelog

CHANGELOG.md is a release guide for tool users, not an implementation log. Follow Keep a Changelog.

  • Add changes under ## [Unreleased]. Released headings use ## [x.y.z] - YYYY-MM-DD; do not edit released sections unless the user explicitly asks.
  • Start each populated version, including Unreleased, with a 1–3 sentence summary. Assume the reader reads only this summary: name the main benefits and any required migration.
  • Use only non-empty subsections in this order: ### Added / ### Changed / ### Fixed / ### Removed. Put the most important changes first within each subsection.
  • Write each bullet in plain English, usually 1–2 short sentences and at most about 50 words. State what users can do now or what problem is solved. Name commands or flags when useful, but explain their benefit or required action too.
  • Combine related changes instead of listing every commit. Keep implementation details, investigation history and benchmark logs out of the changelog; use docs/ai/ for technical reasoning and the README for usage details.
  • Keep PR references and contributor thanks with the relevant change, including when merging or rewriting entries. Do not lose credit to save space. Describe each version as it shipped, without importing later behavior.

Design records (docs/ai/)

sim-use uses AI-docs-driven development. Before a substantial feature, a contract change (daemon or bridge wire, --json envelope, skill compatibility floor) or a non-trivial root-cause fix, create docs/ai/NNN-<slug>/000-plan.md (000-investigation.md for a root-cause hunt) with the write-ai-docs skill. Record each decision when you make it, and write 001-action.md after the work lands. Before you change code that an entry covers, read the entry. Index and layout: docs/ai/README.md.

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. 16d ago Changed · +7 lines · +212 tokens per session ee46dcb4c271
  2. 23d ago Changed · +3 lines · +145 tokens per session 639d4e73e0c6
  3. 29d ago Changed · +3 lines · +233 tokens per session 56730636b78b
  4. 1mo ago Changed · +26 lines · +323 tokens per session 02f146b3baf2
  5. 1mo ago Changed · +42 tokens per session c261ee4f1bc3
  6. 2mo ago First seen · 126 lines · 1,941 tokens per session scan A e66a0db2a3b2

Subscribe to this mod's changes

sim-use AGENTS.md is an instructions file published in the GitHub repository lycorp-jp/sim-use (1,532 stars, last pushed 13d ago), licensed Apache-2.0. It adds 2,896 tokens to every session, about $0.0116 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

sim-use AGENTS.md compared with instructions from other repositories

sim-use AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sim-use AGENTS.mdlycorp-jp/sim-useInstructions file1.5k13d agoApache-2.0A2,896Codex, 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