claudepot-app AGENTS.md

claudepot-app AGENTS.md is an instructions file for Codex, OpenCode from xiaolai/claudepot-app. It costs 37,982 tokens per session, scanned D, original, ISC.

A project instruction file for Claudepot, a desktop control center for Claude Code and Claude Desktop. It explains the app's main concepts, shared memory, building, testing, and graphical interface.

In plain words
What is it for?
For guiding development of Claudepot's accounts, projects, sessions, agents, integrations, memory files, usage tracking, updates, notifications, and Tauri desktop interface.
Why use it?
It gives coding agents the project context and working rules they need before changing the code. This helps keep new work consistent with the app's structure and existing workflows.

Instructions file for CodexOpenCode

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/xiaolai/claudepot-app/agents-md
Clone the repo
git clone --depth 1 https://github.com/xiaolai/claudepot-app

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 claudepot-app AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/xiaolai/claudepot-app/agents-md.svg)](https://agentmods.dev/instructions/xiaolai/claudepot-app/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/xiaolai/claudepot-app/agents-md"><img src="https://agentmods.dev/badge/instructions/xiaolai/claudepot-app/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 37,982 This file is loaded in full into every session.
When invoked 37,982 The same file — it is already loaded in full.
Security scan D 2 findings. Scan, not verified.
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 $0.37982 $0.37982
Opus 5 $0.18991 $0.18991
Sonnet 5 $0.07596 $0.07596
Haiku 4.5 $0.03798 $0.03798

Measured today against content hash 9c94eac6cc29, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade D, and why

claudepot-app AGENTS.md scanned grade D with 2 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 today.

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.

`~/.claude/settings.json` and exists exactly while a grant is live.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

`projects/<slug>/<uuid>.jsonl` also `rm -rf`s the session folder
AGENTS.md · 2,677 lines

How it starts

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

Claudepot

Control center for Claude Code and Claude Desktop. Tauri 2 + Rust + React.

The seed was multi-account credential switching. The shipped surface is broader: accounts, projects, sessions, API keys, third-party integrations, agents, memory (CLAUDE.md files), usage/cost tracking, updates, service status, and notifications — all under one Tauri shell with tray + menubar integration.

The domain model in claudepot-core is five nouns: account, cli, desktop, project, plus agent (scheduled headless claude -p runs — the one noun added since the seed; see claudepot-core::agent). Other surfaces are presentation layers over those nouns and over CC's filesystem, not new domain types. See .claude/rules/architecture.md for the noun-vs-surface distinction. Scope discipline applies to the domain model (don't add nouns casually); it does not cap what the UI can usefully expose.

Shared memory (dogfooding)

Claudepot indexes this repo's own Claude + Codex transcripts and exposes them over MCP. The snippet below tells you which tools exist and when to call them. It is generated — refresh with claudepot mcp install-snippet --out .claude/claudepot-mcp-instructions.md; never hand-edit it, and never duplicate it inline.

@.claude/claudepot-mcp-instructions.md

Build

cargo check --workspace              # Rust
cargo build -p claudepot-cli         # CLI binary
pnpm build                           # Frontend bundle
pnpm tauri dev                       # GUI in dev mode (hot reload)
pnpm tauri build --no-bundle         # GUI release binary (no .dmg)
scripts/build-panel.sh               # Remote panel → committed embed dir

scripts/build-panel.sh is separate because panel/ has its own install and its output is committed — see "## Remote control". A source change under panel/ that nobody rebuilt ships the previous bundle with no error anywhere.

Test

cargo test --workspace               # Rust
cargo xtask verify-cc-parity         # CC settings-merge parity goldens (see parity-harness/README.md)
pnpm test                            # React (Vitest + RTL, jsdom)
pnpm test:coverage                   # React with coverage report
cd panel && pnpm check:render        # the built remote panel actually mounts
pnpm check:classes                   # every className has a CSS rule behind it
pnpm check:a11y                      # every role="switch" has an accessible name

Read the full file on GitHub · 2,677 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. today Changed · +289 lines · +4,386 tokens per session 9c94eac6cc29
  2. 5d ago First seen · 2,388 lines · 33,596 tokens per session scan D 41f17222c1aa

Subscribe to this mod's changes

claudepot-app AGENTS.md is an instructions file published in the GitHub repository xiaolai/claudepot-app (118 stars, last pushed today), licensed ISC. It adds 37,982 tokens to every session, about $0.1899 per session on Opus 5. A static security scan graded it D with 2 findings (reads agent configuration directories, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.