Borrowing it
Nothing to install: this file belongs to Jarcis-cy/codex-island-app. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Jarcis-cy/codex-island-app/main/AGENTS.mdgit clone --depth 1 https://github.com/Jarcis-cy/codex-island-appWrote 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.
[](https://agentmods.dev/instructions/jarcis-cy/codex-island-app/agents-md)<a href="https://agentmods.dev/instructions/jarcis-cy/codex-island-app/agents-md"><img src="https://agentmods.dev/badge/instructions/jarcis-cy/codex-island-app/agents-md.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.02050 | $0.02050 |
| Opus 5 | $0.01025 | $0.01025 |
| Sonnet 5 | $0.00410 | $0.00410 |
| Haiku 4.5 | $0.00205 | $0.00205 |
Grade A, and why
codex-island-app 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 7d 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.
How it starts
The opening of the file, as written. The whole thing — 167 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Repository Guidelines
沟通要求
本仓库的代理、维护者与协作者在与用户沟通时统一使用中文。提交说明、评审意见、执行反馈和补充说明优先使用中文;引用命令、路径、类型名和代码标识符时保留原文。
项目结构与模块划分
仓库采用 apps/ + engine/ 结构。apps/macos/CodexIsland/ 是当前 macOS 主应用目录,其中 App/ 放应用入口与窗口生命周期,Core/ 放状态、几何与设置等核心逻辑,Events/ 处理事件监听,Models/ 定义数据模型,Services/ 按能力拆分为 Chat/、Hooks/、Session/、Tmux/、Update/、Window/ 等模块。界面代码位于 UI/Views 和 UI/Components,窗口封装在 UI/Window。资源文件在 Assets.xcassets/、Resources/ 与 Info.plist。engine/ 是共享 Rust 引擎 workspace,承接协议、运行时、host daemon 与后续 FFI。发布脚本仍在 scripts/。
构建、测试与开发命令
日常开发可直接用 Xcode,也可执行:
xcodebuild -project apps/macos/CodexIsland.xcodeproj -scheme CodexIsland -configuration Debug build
发布构建使用 ./scripts/build.sh,产物输出到 build/export/Codex Island.app。首次配置 Sparkle 密钥使用 ./scripts/generate-keys.sh。打包、签名、公证、生成 appcast 以及可选 GitHub Release 使用 ./scripts/create-release.sh。
当前仓库未提交独立测试 Target;如果补充测试,优先使用:
xcodebuild test -project apps/macos/CodexIsland.xcodeproj -scheme CodexIsland -destination 'platform=macOS'
代码风格与命名规范
遵循现有 Swift 风格:4 空格缩进,类型名使用 PascalCase,属性和方法使用 camelCase。扩展文件保持聚焦,命名参考 Ext+NSScreen.swift。较长文件可用 // MARK: 分段,但不要滥用。UI 状态尽量留在 SwiftUI 视图模型或协调器中,进程、Socket、tmux、文件系统等平台能力集中放在 Services/。
测试要求
由于当前缺少自动化测试,所有行为变更都需要手工验证。至少覆盖 hooks 安装、会话识别、notch 展开/收起、权限审批流程,以及涉及多屏时的屏幕切换行为。新增测试文件建议使用 XxxTests.swift 命名,例如 SessionStoreTests.swift。
提交与 Pull Request 要求
提交信息沿用现有仓库风格,使用简短、明确的祈使句,例如 Reorganize settings menu items。一次提交只解决一个问题。PR 需要说明用户可见影响,关联 issue;若改动 notch、菜单或窗口表现,附截图或短录屏。涉及 Sparkle、签名、hooks、版本号的改动要单独说明风险和发布影响。
代理在每次 git commit 之前,必须先运行与本次改动相匹配的质量门禁,确认结果通过后才能提交。默认应优先执行“只覆盖本次改动相关代码”的门禁,而不是每次都对全仓库做一次完整扫描,避免不必要的性能浪费。
当前仓库的默认提交前门禁如下:
./scripts/swift-quality.sh --staged
如果本次改动涉及构建行为、共享基础模块、跨文件接口、发布脚本、hooks、远端链路或其他高风险区域,代理还需要在 --staged 基础上补充对应的定向验证,例如相关测试、定向 xcodebuild test 或一次 Debug build;只有在需要确认仓库整体基线时,才运行:
./scripts/swift-quality.sh --all
代理在完成一个独立功能改动后,默认需要执行一次构建验证,优先使用:
xcodebuild -project apps/macos/CodexIsland.xcodeproj -scheme CodexIsland -configuration Debug build
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.
- 7d ago First seen · 167 lines · 2,050 tokens per session scan A 5aadf72670f2
codex-island-app AGENTS.md is an instructions file published in the GitHub repository Jarcis-cy/codex-island-app (11 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 2,050 tokens to every session, about $0.0103 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.
Other instructions, from other repositories
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.