claudepot-app: Instructions file for Claude Code

AGENTS.md

claudepot-app AGENTS.md is an instructions file for Claude Code, Codex, OpenCode from xiaolai/claudepot-app. It costs 5,302 tokens per session, scanned A, 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 Claude CodeCodexOpenCode

Written for Claude Code and Codex and OpenCode: PreToolUse hook event, but also the file is AGENTS.md. Also seen: mentions Claude Code; mentions Codex.

This is xiaolai/claudepot-app's own configuration. It tells Claude Code, Codex and OpenCode how to work on claudepot-app 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 claudepot-app configures →

Reuse

Borrowing it

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

Made for: Claude Code, 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/github.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/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 claudepot-app AGENTS.md

Your own site · 80×15
<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="Reviewed on agentmods" width="80" height="20"></a>
Per session 5,302 This file is loaded in full into every session.
When invoked 5,302 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.05302 $0.05302
Opus 5.5 $0.02121 $0.02121
Sonnet 5.5 $0.01060 $0.01060
Haiku 4.5 $0.00530 $0.00530

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

Security

Grade A, and why

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

AGENTS.md · 405 lines

How it starts

The opening of the file, as written. The whole thing — 405 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: accounts, projects, sessions, API keys, third-party providers, agents, memory files, usage and cost, updates, notifications and a LAN remote panel, under one shell with tray and menubar.

The domain model is five nouns — account, cli, desktop, project, agent. Every other surface is a presentation layer or a behaviour over those nouns and over CC's filesystem. Do not add a noun casually (.claude/rules/architecture.md); that limit is on the domain model, not on what the UI may expose.

How the docs are split

This file is @-included into every session, so it holds commands, layout and the rules that must not be broken, in a line or two each. docs/notes/ carries the reasoning: what was measured, which obvious alternative was tried and reverted, and which shipped bug each rule was written after. Notes are read on demand; they are not optional.

Note Read it before changing
data-dir.md anything in ~/.claudepot/ — the store inventory and each file's contract
gui-shell.md the Tauri shell, the section registry, the ⌘K palette, event channels, the session index
cc-integration.md retention, permission grants, peer messaging, CC env variables, any write to a CC settings file
remote-control.md claudepot-core::remote, panel/, approving from the phone
relay.md claudepot-core::relay, claudepot relay, Settings → Relay
core-modules.md pricing, the env vault, auto-rotation, token refresh, the corpus
i18n.md any user-facing string or catalog
test-gates.md a check:* gate, and especially before relaxing one
assets-and-release.md icons, screenshots, git hooks, release validation
web.md web/ (claudepot.com)

Read the full file on GitHub · 405 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 Changed · +6 lines · +114 tokens per session 9aee2a42147c
  2. 6d ago Changed · +26 lines · +390 tokens per session 5312b86fe737
  3. 1mo ago Changed · -941 lines · -15,138 tokens per session scan D → A 909c4cb09043
  4. 1mo ago Changed · +63 tokens per session e572bb79948d
  5. 1mo ago Changed · -1,363 lines · -18,109 tokens per session 731f57c45e61
  6. 2mo ago Changed · +289 lines · +4,386 tokens per session 9c94eac6cc29
  7. 2mo 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 (127 stars, last pushed 2d ago), licensed ISC. It adds 5,302 tokens to every session, about $0.0212 per session on Opus 5.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

claudepot-app AGENTS.md compared with instructions from other repositories

claudepot-app AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
claudepot-app AGENTS.mdxiaolai/claudepot-appInstructions file1272d agoISCA5,302Claude Code, Codex, OpenCode
vibe-coding-prompt-template backend.instructions.mdKhazP/vibe-coding-prompt-templateInstructions file3.2k1mo agoMITA139GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot