Borrowing it
Nothing to install: this file belongs to r1c7/CluxMate. 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/r1c7/CluxMate/master/AGENTS.mdgit clone --depth 1 https://github.com/r1c7/CluxMateWrote 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/r1c7/cluxmate/agents-md)<a href="https://agentmods.dev/instructions/r1c7/cluxmate/agents-md"><img src="https://agentmods.dev/badge/instructions/r1c7/cluxmate/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.
<a href="https://agentmods.dev/instructions/r1c7/cluxmate/agents-md"><img src="https://agentmods.dev/badge/instructions/r1c7/cluxmate/agents-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.15399 | $0.15399 |
| Opus 5.5 | $0.06160 | $0.06160 |
| Sonnet 5.5 | $0.03080 | $0.03080 |
| Haiku 4.5 | $0.01540 | $0.01540 |
Grade B, and why
CluxMate AGENTS.md scanned grade B with 3 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 1mo 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.
Asks for rootlowPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
- Risk levels `safe` < `write` < `dangerous` < `critical`. `critical` (bash `format`/`mkfs`/`dd`/`> /dev/`/`chmod 777`) never auto-approves **where a policy is consulted (TUI/desktop — headless has no gate, see above)** Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
Reaches for credential filesmediumPrivilege escalation
SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.
- **Read denylist** — `~/.cluxmate/forbid-read.json` (`core/read_denies.py`, user-global): an explicit `paths` list plus an opt-in `protect_sensitive` toggle (default OFF = zero behavior change) adding `.env` / `.git-cre Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
- **Project root ≠ session cwd** (`core/project_root.py` — the ONE place this policy lives): `resolve(cwd).config_root` is the session cwd EXCEPT inside a LINKED git worktree (git-dir ≠ git-common-dir), where it is the m How it starts
The opening of the file, as written. The whole thing — 175 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Project memory
What CluxMate is
- CluxMate = one Python agent core (
cluxmate/) driving three front-ends: headless CLI (cluxmate -p "..."), Textual TUI (cluxmate), and an Electron desktop (desktop/) over JSON-RPC stdio (cluxmate agent stdio). Providers are OpenAI-compatible only (core/providers/= base + openai + factory; no Anthropic provider). - Four risk modes (
plan/default/acceptEdits/yolo), per-session only, never persisted:planregisters ONLY read tools (no bash/write/delete/task/update_memory/MCP — hard isolation, nothing to approve);defaultauto-approvessafeand asks forwrite/dangerous;acceptEditsauto-approveswrite;yolodisarms the sandbox boundaries entirely (the one explicit opt-out). Approval is a FRONT-END feature, not an agent-loop one:PermissionPolicyis instantiated only in the JSON-RPC server and the TUI, and the loop itself never consults it —AgentCallbacks.on_tool_startdefaults toToolDecision(True, "auto"), so headlesscluxmate -pauto-approves every call (includingcriticaland escalation) and relies on the two enforcement boundaries instead of prompts. Any claim that "risky tools always prompt" holds for TUI/desktop only. - Risk levels
safe<write<dangerous<critical.critical(bashformat/mkfs/dd/> /dev//chmod 777) never auto-approves where a policy is consulted (TUI/desktop — headless has no gate, see above) and is never always-allowable, like escalation. Running code (interpreters/build tools/scripts —python,node,npm run,./x.sh, …) isdangerous, neversafe; classified by runner name with arunfallback for unlisted executables. - Always-allow lives in
permissions.jsonin two tiers:always_allow_tools(write risk) andalways_allow_dangerous_tools(dangerous risk —delete_filewhole-tool, and bash PER category"bash:rm"/"bash:git-reset-hard"/"bash:python"/"bash:run"/ …, NEVER a bare"bash"). Escalation (danger-full-access),criticalbash and MCP dangerous tools are never always-allowable. - The repo root IS the git repo (branch
master, remote[email protected]:r1c7/CluxMate.git)..gitignoreexcludesdocs/,scripts/,.cluxmate/;snapshots/*.png(UI screenshots) ARE tracked. Undo checkpoints are a SEPARATE shadow repo at~/.cluxmate/checkpoints/<sha1(cwd)>.git(env GIT_DIR/GIT_WORK_TREE +GIT_CONFIG_GLOBAL=/dev/null) and never touch the user's repo —core/checkpoints.py.
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.
- 1mo ago Changed · +302 tokens per session 215121d4eefe
- 1mo ago Changed · +3 lines · +1,131 tokens per session 35413df73522
- 1mo ago Changed · +24 lines · +3,505 tokens per session d5f1e694b967
- 1mo ago Changed · +10 lines · +1,038 tokens per session 7a4b3ee640ae
- 1mo ago Changed · -14 lines · -5,034 tokens per session 0f753e2f6e51
- 1mo ago Changed · +1 lines · +848 tokens per session 095262e12eb0
- 1mo ago Changed · +9 lines · +1,049 tokens per session 48f3ff5c6a65
- 1mo ago Changed · +29 lines · +3,155 tokens per session 28adf90131ea
- 1mo ago Changed · +8 lines · +867 tokens per session 55af4d60898f
- 2mo ago First seen · 105 lines · 8,538 tokens per session scan B 04aec69df836
CluxMate AGENTS.md is an instructions file published in the GitHub repository r1c7/CluxMate (140 stars, last pushed 1mo ago), licensed MIT. It adds 15,399 tokens to every session, about $0.0616 per session on Opus 5.5. A static security scan graded it B with 3 findings (asks for root, reaches for credential files, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
CluxMate AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| CluxMate AGENTS.mdr1c7/CluxMate | Instructions file | 140 | 1mo ago | MIT | B | 15,399 | Claude Code, Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |