codex-island-app: Instructions file for Codex

AGENTS.md

codex-island-app AGENTS.md is an instructions file for Codex, OpenCode from Jarcis-cy/codex-island-app. It costs 2,050 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for a macOS app with Swift code and a shared Rust engine. They define communication language, project layout, build commands, testing, release steps, and coding style.

In plain words
What is it for?
Use them when developing, testing, packaging, or releasing CodexIsland, especially when deciding where Swift, Rust, interface, service, and resource files belong.
Why use it?
They give coding agents the project’s rules and commands, reducing guesswork and preventing changes that conflict with the repository’s structure or conventions.

Instructions file for CodexOpenCode

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

This is Jarcis-cy/codex-island-app's own configuration. It tells Codex and OpenCode how to work on codex-island-app 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 codex-island-app configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/Jarcis-cy/codex-island-app/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/Jarcis-cy/codex-island-app

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 codex-island-app AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/jarcis-cy/codex-island-app/agents-md.svg)](https://agentmods.dev/instructions/jarcis-cy/codex-island-app/agents-md)
Your own site
<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>
Per session 2,050 This file is loaded in full into every session.
When invoked 2,050 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.02050 $0.02050
Opus 5 $0.01025 $0.01025
Sonnet 5 $0.00410 $0.00410
Haiku 4.5 $0.00205 $0.00205

Measured 7d ago against content hash 5aadf72670f2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

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.

AGENTS.md · 167 lines

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/ViewsUI/Components,窗口封装在 UI/Window。资源文件在 Assets.xcassets/Resources/Info.plistengine/ 是共享 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

Read the full file on GitHub · 167 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. 7d ago First seen · 167 lines · 2,050 tokens per session scan A 5aadf72670f2

Subscribe to this mod's changes

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.

Related

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.

openai/codex · 5,182 tokens

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).

microsoft/vscode · 6,785 tokens

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.

vercel/next.js · 7,296 tokens

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.

langchain-ai/langchain · 4,469 tokens

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).

microsoft/vscode · 5,001 tokens

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.

github/spec-kit · 7,104 tokens