agent-isle: Instructions file for Claude Code

CLAUDE.md

agent-isle CLAUDE.md is an instructions file for Claude Code from DevLab-Technologies/agent-isle. It costs 1,607 tokens per session, scanned B, original, MIT.

Repository-specific instructions for Agent Isle, a macOS menu-bar app that displays AI coding-agent sessions in the MacBook notch and handles permission requests.

In plain words
What is it for?
Use it when developing, building, testing, packaging, or installing hooks for Agent Isle.
Why use it?
It gives the agent the project's build commands, architecture, and setup needed for safe changes and end-to-end checks.

Instructions file for Claude Code

Written for Claude Code: PreToolUse hook event. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

This is DevLab-Technologies/agent-isle's own configuration. It tells Claude Code how to work on agent-isle 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 agent-isle configures →

Reuse

Borrowing it

Nothing to install: this file belongs to DevLab-Technologies/agent-isle. 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/DevLab-Technologies/agent-isle/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/DevLab-Technologies/agent-isle

Made for: Claude Code.

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 agent-isle CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/devlab-technologies/agent-isle/claude-md/github.svg)](https://agentmods.dev/instructions/devlab-technologies/agent-isle/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/devlab-technologies/agent-isle/claude-md"><img src="https://agentmods.dev/badge/instructions/devlab-technologies/agent-isle/claude-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 agent-isle CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/devlab-technologies/agent-isle/claude-md"><img src="https://agentmods.dev/badge/instructions/devlab-technologies/agent-isle/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,607 This file is loaded in full into every session.
When invoked 1,607 The same file — it is already loaded in full.
Security scan B 1 finding. 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.01607 $0.01607
Opus 5.5 $0.00643 $0.00643
Sonnet 5.5 $0.00321 $0.00321
Haiku 4.5 $0.00161 $0.00161

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

Security

Grade B, and why

agent-isle CLAUDE.md scanned grade B with 1 finding 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 1mo 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

- `Scripts/install-hooks.sh` / `uninstall-hooks.sh` — shell scripts that edit `~/.claude/settings.json` (honors `CLAUDE_CONFIG_DIR`), pointing hooks at the in-repo `Scripts/agent-isle-hook.py`.
CLAUDE.md · 58 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

What this is

Agent Isle is a native macOS menu-bar accessory app (Swift/SwiftUI/AppKit, no third-party dependencies) that renders a "Dynamic Island" in the MacBook notch to monitor AI coding-agent sessions, approve their permission requests, and chat with them. It runs as an LSUIElement (no dock icon) and force-terminates other running copies on launch so only one instance owns the event port.

Commands

swift build                     # debug build
swift test                      # run all tests
swift test --filter ChatHistoryTests   # run a single test target/case
bash Scripts/bundle.sh          # build "build/Agent Isle.app" (release; pass "debug" for a debug bundle)
open "build/Agent Isle.app"     # launch
bash Scripts/release.sh         # universal build + optional notarization + zip

To exercise permission approvals end-to-end you must run the app AND install the Claude Code hooks (bash Scripts/install-hooks.sh); monitoring works without hooks.

Architecture

Three cooperating layers, all under Sources/AgentIsle/:

  1. UI (Notch/, Views/) — AppDelegate builds a fixed-size floating NotchWindow pinned over the notch (NotchGeometry detects the physical notch, else centers a pill). PassthroughView makes the window click-through everywhere except the island itself. IslandRootView toggles collapsed↔expanded.

  2. State (Model/) — SessionStore is the single ObservableObject source of truth (sessions, filters, demo mode). Everything else feeds it or reads from it.

  3. Ingest (Server/) — two independent input paths populate the store:

    • Hook-free watching: IdeWatcher discovers Claude Code sessions by tailing ~/.claude/projects/ transcripts (TranscriptReader/TranscriptTailer extract activity + token totals); ExternalAgents adapts Grok (~/.grok/sessions) and Copilot (~/.copilot/history-session-state). This is read-only and always on.
    • Event server: EventServer is an NWListener HTTP server on 127.0.0.1:4711. Any tool POSTs to /event with header X-Agent-Isle-Token matching ~/.agent-isle/token (created on first launch). Read the module comment before touching it — see the parking model below.

Read the full file on GitHub · 58 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. 1mo ago Changed · +25 tokens per session 9ecafc4f01b5
  2. 1mo ago First seen · 58 lines · 1,582 tokens per session scan B b2830e4129b3

Subscribe to this mod's changes

agent-isle CLAUDE.md is an instructions file published in the GitHub repository DevLab-Technologies/agent-isle (44 stars, last pushed 1mo ago), licensed MIT. It adds 1,607 tokens to every session, about $0.0064 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.