consult-user-mcp: Instructions file for Codex

AGENTS.md

consult-user-mcp AGENTS.md is an instructions file for Codex, OpenCode from doublej/consult-user-mcp. It costs 1,761 tokens per session, scanned C, a copy of awesome-spain AGENTS.md, MIT.

Repository instructions for coding agents working on a project that tracks issues in a local database called Beads. They explain the project workflow, verification commands, and how to run shell commands safely.

In plain words
What is it for?
Use them to find ready issues, claim and close work, sync issue data, and run the project's test suites in a macOS container.
Why use it?
They reduce mistakes caused by using the wrong issue-tracking files or skipping the required test environment. They also clarify when changes are pushed to the shared repository.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: names the TodoWrite tool; mentions Codex.

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

Reuse

Borrowing it

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

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 consult-user-mcp AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/doublej/consult-user-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/doublej/consult-user-mcp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,761 This file is loaded in full into every session.
When invoked 1,761 The same file — it is already loaded in full.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 81% copy Near-identical to another mod 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.01761 $0.01761
Opus 5.5 $0.00704 $0.00704
Sonnet 5.5 $0.00352 $0.00352
Haiku 4.5 $0.00176 $0.00176

Measured 1mo ago against content hash 690361760ae7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

consult-user-mcp AGENTS.md scanned grade C 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 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.

Recursive force deletehighDestructive command

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

rm -rf directory # NOT: rm -r directory
Origin

This is a copy

81% identical to awesome-spain AGENTS.md — 54 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

AGENTS.md · 156 lines

How it starts

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

Agent Instructions

This project uses bd (beads) for issue tracking. Run bd prime for full workflow context.

Architecture in one line: Issues live in a local Dolt database (.beads/dolt/); cross-machine sync uses bd dolt push/pull (a git-compatible protocol), stored under refs/dolt/data on your git remote — separate from refs/heads/* where your code lives. .beads/issues.jsonl is a passive export, not the wire protocol.

See SYNC_CONCEPTS.md for the one-screen overview and anti-patterns (don't treat JSONL as the source of truth; don't bd import during normal operation; don't reach for third-party Dolt hosting before trying the default).

Quick Reference

bd ready              # Find available work
bd show <id>          # View issue details
bd update <id> --claim  # Claim work atomically
bd close <id>         # Complete work
bd dolt push          # Push beads data to remote

Verification

Run the suites in the macOS container. bun run test:container, or a subset with SUITES="unit layout" bun run test:container. Setup, knobs and gotchas: container/README.md.

bun run test:container   # everything, in the VM — the verdict
bun test                 # mcp-server tests            (anywhere)
bun run test:layout      # clipping, overlap, text-fit (anywhere — off-screen)
bun run test:visual      # screenshot + OCR per fixture ⚠ container
bun run test:keyboard    # the keyboard contract        ⚠ container

The two marked ⚠ spawn a real dialog per case. On a machine somebody is using they take the screen and the keyboard for minutes, and any focus change corrupts the result silently — the visual suite spent months photographing one stuck window and reporting OK. test:layout is the exception: it renders off-display, so it is safe anywhere and it is the one that fails a build.

A green layout run is not a clean surface. It waives every state with a known open bug and prints a NOT VOUCHED FOR line naming them. Read it.

Read the full file on GitHub · 156 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. 1mo ago First seen · 156 lines · 1,761 tokens per session scan C 690361760ae7

Subscribe to this mod's changes

consult-user-mcp AGENTS.md is an instructions file published in the GitHub repository doublej/consult-user-mcp (39 stars, last pushed 14d ago), licensed MIT. It adds 1,761 tokens to every session, about $0.0070 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). It is 81% identical to awesome-spain AGENTS.md, differing in 54 lines, and is treated as a copy.

Related

Other instructions, from other repositories