quotio: Instructions file for Codex

AGENTS.md

quotio AGENTS.md is an instructions file for Codex, OpenCode from nguyenphutrong/quotio. It costs 2,489 tokens per session, scanned A, original, MIT.

A set of project instructions for Quotio, a macOS menu-bar app that manages AI-provider sign-ins, usage limits, proxy services, and agent configuration. It describes the Swift and SwiftUI codebase, where key files are located, and how to validate changes.

In plain words
What is it for?
Use it when changing Quotio’s Swift code, interface, provider or OAuth flows, proxy lifecycle, menu-bar behaviour, packaging, or public documentation.
Why use it?
It gives a coding agent the project’s conventions and boundaries before it edits code. This reduces the risk of using the wrong architecture or skipping the required checks.

Instructions file for CodexOpenCode

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

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

About the project

Quotio is a native macOS menu bar application for managing CLIProxyAPI, a local proxy server that connects AI coding tools to multiple provider accounts. It lets users configure coding agents, monitor quotas and usage, and manage account failover. The catalogue instruction supports its workflow.

nguyenphutrong/quotio · 4,847 stars · on GitHub · quotio.dev

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/nguyenphutrong/quotio/agents-md"><img src="https://agentmods.dev/badge/instructions/nguyenphutrong/quotio/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,489 This file is loaded in full into every session.
When invoked 2,489 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.02489 $0.02489
Opus 5 $0.01244 $0.01244
Sonnet 5 $0.00498 $0.00498
Haiku 4.5 $0.00249 $0.00249

Measured 2d ago against content hash 79a7557ea40d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

quotio 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 2d 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 · 195 lines

How it starts

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

AGENTS.md

Project

Quotio is a native macOS menu bar and window app for operating CLIProxyAPI. It manages the local proxy lifecycle, provider OAuth accounts, quota monitoring, CLI agent configuration, tunnels, updates, and optional telemetry.

  • Swift 6 and SwiftUI, with targeted AppKit integration
  • Minimum deployment target: macOS 14.0
  • Xcode project: Quotio.xcodeproj; shared scheme: Quotio
  • Targets: Quotio (application) and QuotioTests (executable integration tests)
  • Core package: Packages/QuotioCore with four source and four test targets
  • Dependency manager: Swift Package Manager through the local package and Xcode project
  • Packages: Sparkle 2.8.1 and PostHog 3.64.1
  • No CocoaPods, Carthage, Fastlane, root Swift package, or UI-test target

The app uses Clean Architecture module boundaries with pragmatic MVVM in Presentation. QuotioDomain owns values and rules, QuotioApplication owns use cases and ports, QuotioInfrastructure owns side effects and SDK adapters, and QuotioPresentation owns SwiftUI/AppKit views and observable screen state. The executable composes the production graph and owns lifecycle only.

Project Map

  • Packages/QuotioCore/Sources/QuotioDomain/: entities, value types, settings values, and pure policies.
  • Packages/QuotioCore/Sources/QuotioApplication/: use cases, feature controllers, and side-effect ports.
  • Packages/QuotioCore/Sources/QuotioInfrastructure/: HTTP, filesystem, process, Keychain, SQLite, Sparkle, PostHog, OAuth, provider, proxy, agent, and tunnel adapters.
  • Packages/QuotioCore/Sources/QuotioPresentation/: SwiftUI/AppKit views, observable screen models, settings managers, menu bar UI, and localization helpers.
  • Packages/QuotioCore/Tests/: unit and regression tests, split by owning module.
  • Quotio/QuotioApp.swift: SwiftUI scene entry point.
  • Quotio/App/: CompositionRoot, AppRuntime, AppDelegate, and app-only adapters.
  • Quotio/Assets.xcassets: app icon, accent color, provider art, and menu bar assets.
  • Quotio/Localizable.xcstrings: String Catalog for en, fr, vi, and zh-Hans.
  • Quotio/Info.plist, Quotio/Quotio.entitlements: app metadata and entitlements.
  • QuotioTests/: executable dependency-graph, lifecycle, identity, and bundle tests.
  • Config/: Debug/Release xcconfig files and the template for local overrides.
  • scripts/: local build/run helpers and release packaging scripts.
  • .github/workflows/release.yml: tag/manual release pipeline.

Read the full file on GitHub · 195 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. 2d ago Changed · +30 lines · +457 tokens per session 79a7557ea40d
  2. 6d ago Changed · +102 lines · +1,460 tokens per session 26f3feb84e4c
  3. 10d ago First seen · 63 lines · 572 tokens per session scan A 39f3c66aa45e

Subscribe to this mod's changes

quotio AGENTS.md is an instructions file published in the GitHub repository nguyenphutrong/quotio (4,847 stars, last pushed 3d ago), licensed MIT. It adds 2,489 tokens to every session, about $0.0124 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

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

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,153 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

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

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

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 3,735 tokens