AppKitInspector: Instructions file for Codex

AGENTS.md

AppKitInspector AGENTS.md is an instructions file for Codex, OpenCode from JaminZhou/AppKitInspector. It costs 326 tokens per session, scanned A, original, Apache-2.0.

Project-specific instructions for AppKit Inspector, a tool for reviewing native macOS app interfaces during development.

In plain words
What is it for?
Use them when changing the inspector, its macOS probe, its MCP server, or its embedded app.
Why use it?
They set boundaries for safe UI inspection, local data handling, project structure, and build verification.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/jaminzhou/appkitinspector/agents-md"><img src="https://agentmods.dev/badge/instructions/jaminzhou/appkitinspector/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 326 This file is loaded in full into every session.
When invoked 326 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.00326 $0.00326
Opus 5.5 $0.00130 $0.00130
Sonnet 5.5 $0.00065 $0.00065
Haiku 4.5 $0.00033 $0.00033

Measured 2mo ago against content hash 3af99374872b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

AppKitInspector 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 2mo 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 · 34 lines

What it actually says

AppKit Inspector — Agent Instructions

Purpose

AppKit Inspector is a reusable Debug bridge between native macOS AppKit applications and a Codex MCP App. Keep it independent from any inspected product repository.

Safety boundary

  • Use public Apple SDK APIs only. ScreenCaptureKit is limited to the inspected Debug process's own windows through SCShareableContent.currentProcess; never request Screen Recording permission or enumerate capture content owned by another process.
  • Do not add code injection, private frameworks, Accessibility automation, or Screen Recording permission.
  • Keep discovery on a user-private path and transport on authenticated 127.0.0.1 only.
  • Never make the probe active in Release, archive, TestFlight, or App Store builds.
  • Treat captured UI and hierarchy data as private local content.

Structure

  • Put native probe and demo code under native/.
  • Put MCP server code under packages/mcp/.
  • Put the embedded MCP App under packages/app/.
  • Treat plugins/appkit-inspector/dist/ as generated distributable output; run npm run build after changing either TypeScript package and include the matching output.
  • Keep the plugin skill concise; place protocol detail in its references/ directory.

Verification

  • Full automated check: npm run check
  • Release compile: swift build -c release
  • Live bridge check: run make demo, then npm run test:live in another terminal.
  • Validate the plugin and skill with their respective Codex validation scripts before release.
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. 2mo ago First seen · 34 lines · 326 tokens per session scan A 3af99374872b

Subscribe to this mod's changes

AppKitInspector AGENTS.md is an instructions file published in the GitHub repository JaminZhou/AppKitInspector (0 stars, last pushed 2d ago), licensed Apache-2.0. It adds 326 tokens to every session, about $0.0013 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-31.

Related

AppKitInspector AGENTS.md compared with instructions from other repositories

AppKitInspector AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
AppKitInspector AGENTS.mdJaminZhou/AppKitInspectorInstructions file02d agoApache-2.0A326Codex, 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