chowser: Instructions file for Claude Code

CLAUDE.md

chowser CLAUDE.md is an instructions file for Claude Code from bsreeram08/chowser. It costs 2,256 tokens per session, scanned A, a copy of chowser AGENTS.md, MIT.

Repository instructions for Chowser, a macOS menu-bar application, covering its build commands, unit tests, user-interface tests, release builds, and automated deployment workflows.

In plain words
What is it for?
Use it when building Chowser, running its unit or UI tests, creating App Store or direct-download releases, or working on its documentation and deployment workflows.
Why use it?
It gives a coding agent the project-specific commands and constraints needed to change the repository safely. Without it, the agent may build the wrong target or skip relevant tests.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code.

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

Reuse

Borrowing it

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

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 chowser CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/bsreeram08/chowser/claude-md"><img src="https://agentmods.dev/badge/instructions/bsreeram08/chowser/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,256 This file is loaded in full into every session.
When invoked 2,256 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 95% copy Near-identical to another mod 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.02256 $0.02256
Opus 5.5 $0.00902 $0.00902
Sonnet 5.5 $0.00451 $0.00451
Haiku 4.5 $0.00226 $0.00226

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

Security

Grade A, and why

chowser CLAUDE.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 4d 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.

Origin

This is a copy

95% identical to chowser AGENTS.md — 8 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

CLAUDE.md · 86 lines

How it starts

The opening of the file, as written. The whole thing — 86 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.

Commands

# Direct-download build (unsandboxed, includes Sparkle)
xcodebuild -project Chowser.xcodeproj -scheme Chowser-osp -configuration Release build

# Unit tests
xcodebuild test -project Chowser.xcodeproj -scheme Chowser-osp -destination 'platform=macOS' -only-testing:ChowserTests

# UI tests
xcodebuild test -project Chowser.xcodeproj -scheme ChowserUITests -destination 'platform=macOS'

# App Store build (uses the sandboxed ChowserAppStore target)
xcodebuild archive -project Chowser.xcodeproj -scheme Chowser-appstore -configuration Release \
  -archivePath release/Chowser-appstore.xcarchive

CI/CD Pipelines

  • .github/workflows/deploy-docs.yml — Verifies signed hosted catalogs, builds the docs site, and deploys to GitHub Pages on eligible main pushes.
  • .github/workflows/release-macos.yml — Tag-driven direct-download release. Requires all signing, notarization, and Sparkle secrets; publishes a verified DMG and signed appcast.

Architecture

Chowser is a macOS menu-bar-only app (LSUIElement) that intercepts HTTP/HTTPS links and routes them to configured browsers.

Flow

  1. On first launch, AppDelegate checks OnboardingManager.hasCompletedOnboarding — if false, shows the onboarding wizard before setting up the status bar
  2. Apple Event handler (handleGetURLEvent) is registered in applicationWillFinishLaunching (before Cocoa's default handler) — extracts source app via keyAddressAttr → PID → bundle ID
  3. macOS calls application(_:open:) in AppDelegate when a link is clicked anywhere
  4. Chowser applies enabled URL rewrites, optional shortlink resolution, and tracking cleanup before deciding where to open the link
  5. Destination precedence is Shift-forced picker → explicit/focus browser route → approved native app → configured browser fallback → picker; private-mode requests skip native apps
  6. Native-app routing uses the verified signed directory, exact per-app behavior approval, and a handler bundle-ID check immediately before launch
  7. Picker (ContentView) lets user choose; keyboard shortcuts 1-9, initials, P for private mode, R for quick rule creation, or arrow keys work
  8. User can also open clipboard URLs or create routing rules directly from the picker
  9. Each outcome (browser, native app, or dismissed picker) is recorded in LinkHistory unless private mode or Activity level forbids it; the picker ignores focus loss for 400 ms after appearing

Read the full file on GitHub · 86 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. 4d ago First seen · 86 lines · 2,256 tokens per session scan A 20df9a38a661

Subscribe to this mod's changes

chowser CLAUDE.md is an instructions file published in the GitHub repository bsreeram08/chowser (12 stars, last pushed 1mo ago), licensed MIT. It adds 2,256 tokens to every session, about $0.0090 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 95% identical to chowser AGENTS.md, differing in 8 lines, and is treated as a copy.

Related

chowser CLAUDE.md compared with instructions from other repositories

chowser CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
chowser CLAUDE.mdbsreeram08/chowserInstructions file121mo agoMITA2,256Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deno copilot-instructions.mddenoland/denoInstructions file109kyesterdayMITA3,077GitHub Copilot