Borrowing it
Nothing to install: this file belongs to chussum/mobius. 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/chussum/mobius/main/CLAUDE.mdgit clone --depth 1 https://github.com/chussum/mobiusWrote 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/chussum/mobius/claude-md)<a href="https://agentmods.dev/instructions/chussum/mobius/claude-md"><img src="https://agentmods.dev/badge/instructions/chussum/mobius/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.
<a href="https://agentmods.dev/instructions/chussum/mobius/claude-md"><img src="https://agentmods.dev/badge/instructions/chussum/mobius/claude-md.svg" alt="Reviewed on agentmods" width="80" 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.33482 | $0.33482 |
| Opus 5.5 | $0.13393 | $0.13393 |
| Sonnet 5.5 | $0.06696 | $0.06696 |
| Haiku 4.5 | $0.03348 | $0.03348 |
Grade A, and why
mobius CLAUDE.md scanned grade A 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 28d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
invalid_grant는 원인이 딴판). (2) URLSession vs 참조 클라이언트(python/curl)를 **더미 자격으로** How it starts
The opening of the file, as written. The whole thing — 1,068 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Mobius (뫼비우스) — Claude·Codex 계정 매니저
Claude Code CLI + Claude Desktop + OpenAI Codex CLI 계정을 전환/자동 전환 하는
macOS 메뉴바 앱 + mobius CLI. Swift Package (SwiftUI, macOS 14+).
프로바이더(claude/codex)별 독립 풀 — 각 풀에서 primary 소진 → fallback 자동 전환 →
primary 회복 시 자동 복귀. 사용자 노출 용어는 '자동 전환'(구 '자동 fallback').
이 파일은 항상 최신 상태로 유지한다. 구조·핵심 사실·실패 기록이 바뀌면 같은 커밋에서 갱신할 것.
빌드 / 실행
swift test # 유닛 테스트 (MobiusCore)
swift build # 컴파일 확인
Scripts/make-app.sh # dist/Mobius.app 번들 조립 + 서명
Scripts/make-dmg.sh # dist/Mobius-<ver>.dmg 배포 이미지 (드래그 설치)
open dist/Mobius.app # 실행 (메뉴바 ∞ 아이콘)
Scripts/setup-signing.sh # (1회) 고정 서명 인증서 생성 — 아래 '서명' 참조
구조
Sources/MobiusCore/ 앱·CLI 공유 코어 (전부 의존성 주입 → 테스트 가능)
MobiusEnvironment.swift 모든 경로 컨테이너 (MOBIUS_HOME/CODEX_HOME 오버라이드)
Models.swift Provider / AccountProfile / AccountsFile(프로바이더별 풀) / RateLimitInfo
AccountKey(이메일+조직 열쇠 — 계정 대조는 firstIndex(provider:matching:) 한 곳)
ProviderConfigIO.swift 프로바이더 어댑터 프로토콜 (secret data = 프로바이더 정의 바이트)
KeychainClient.swift SystemKeychain + InMemoryKeychain(테스트)
ClaudeConfigIO.swift Claude 자격증명 읽기/쓰기 (★ 아래 '진실의 원천' 필독)
AccountStore.swift 프로필 영속(accounts.json) + 비밀 스냅샷(0600 파일, opaque Data)
CodexConfigIO.swift Codex 자격증명 읽기/쓰기 (auth.json 통째 스왑, JWT 신원)
Switcher.swift 전환/되저장/롤백/reconcile/adopt — 등록된 어댑터 풀 전체에 적용
backfillOrganizationUUIDs: 구버전 프로필 조직 채우기(저장 스냅샷 기준)
RateLimitParser.swift Claude 세션 로그 rate-limit 이벤트 파서 (실측 기반)
CodexRateLimitParser.swift Codex rate_limits 상태 파서 (매 턴 in-band, 게이지+소진 판정)
CodexStatusRouter.swift Codex 상태의 계정 귀속 — 전환 전 세션 파일 격리 (오염 방지 ★아래)
SessionLogWatcher.swift 세션 로그 tail — (루트, 파서, 정책) 주입 제네릭 (네트워크 0)
AutoSwitchEngine.swift 순수 상태머신, 풀당 1인스턴스 (쿨다운/마진/autoSwitchedFromPrimary,
on/off는 풀별 autoSwitchByProvider — 기록 없는 풀은 켬; 모델스코프 pin;
modelBlocked = 호출자가 usage 캐시로 계산한 "모델 창 소진" 계정 집합)
UsageFetcher.swift Claude usage 엔드포인트 조회 (게이지용, 팝오버 열 때만; Codex는 로그로 대체)
모델 스코프 주간 한도(weekly_scoped)도 파싱 → ScopedUsageLimit
UsageRateLimitBackoff.swift usage 엔드포인트 429의 계정별 대기 시각 (모든 조회 경로가 먼저 본다)
PendingHitTrigger.swift 판정 못 한 창 소진 트리거와 그 갱신 규칙 (hit 신뢰 판정은 도착 순간 한 번)
SyncEngine.swift 멀티 Mac 동기화 (클라우드 폴더 미러, ★ 아래 '동기화 원칙')
UpdateChecker.swift GitHub 릴리스 업데이트 확인 (하루 1회)
Sources/mobius/ CLI (list/switch/status/capture/auto)
Sources/MobiusApp/ SwiftUI 메뉴바 앱 + AppState + Views/ + LoginFlow + DesktopCoordinator
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.
- 28d ago Changed · +192 lines · +6,594 tokens per session 0d3c80ad7079
- 1mo ago Changed · +85 lines · +2,790 tokens per session c32cb262b71d
- 1mo ago First seen · 791 lines · 24,098 tokens per session scan A 8d53cf20a7bb
mobius CLAUDE.md is an instructions file published in the GitHub repository chussum/mobius (77 stars, last pushed 22d ago), licensed MIT. It adds 33,482 tokens to every session, about $0.1339 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
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.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).
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 copilot-instructions.md
Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).
vscode model-prompts.instructions.md
Model-specific prompt authoring and registry guidelines.