nelson-mcp: Instructions file for Codex

AGENTS.md

nelson-mcp AGENTS.md is an instructions file for Codex, OpenCode from quazardous/nelson-mcp. It costs 3,448 tokens per session, scanned C, original, MPL-2.0.

Project instructions for nelson-mcp covering its layout, setup, development process, and release process.

In plain words
What is it for?
Use them when setting up, changing, developing, or releasing the nelson-mcp project.
Why use it?
They give an agent the repository context needed to work in the project without guessing where things belong or how changes are shipped.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/quazardous/nelson-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/quazardous/nelson-mcp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,448 This file is loaded in full into every session.
When invoked 3,448 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 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.03448 $0.03448
Opus 5.5 $0.01379 $0.01379
Sonnet 5.5 $0.00690 $0.00690
Haiku 4.5 $0.00345 $0.00345

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

Security

Grade C, and why

nelson-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.

> `unopkg remove org.extension.nelson` → `rm -rf $PROFILE/user/uno_packages/cache
AGENTS.md · 259 lines

How it starts

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

AGENTS.md — Quickstart cheatsheet for AI agents

[!IMPORTANT] Update this file after making nontrivial changes.

Project

Nelson MCP — LibreOffice extension (Python/UNO) exposing document tools via MCP server.

Where is what

plugin/main.py              Entry point, bootstrap
plugin/version.py           Version (single source of truth)
plugin/plugin.yaml          Global config schema
plugin/_manifest.py         Generated — do not edit
plugin/framework/           Core engine (services, tools, events, config, http, dialogs)
plugin/modules/<name>/      Feature modules (module.yaml + __init__.py + tools/ + services/)
extension/                  Static LO files (XCU, manifest, assets)
scripts/                    Build & deploy scripts
tests/                      Pytest suite (must pass — 'make test' is a gate)
Makefile                    All build/dev targets
install.ps1 / install.sh    Dev environment setup (installs bash, make, pyyaml, vendor deps)

Setup & dev loop

./install.ps1               # Windows: installs deps (bash, make, pyyaml, vendor)
./install.sh                # Linux/macOS equivalent
make build                  # Build .oxt
make deploy                 # Build + reinstall + restart LO + show log
make log                    # Show ~/nelson.log
make test                   # Pytest
make set-config             # List all config keys
make help                   # All targets

AI agent note: make deploy takes 60–120 seconds (kills LO, reinstalls extension, restarts LO, waits for bootstrap). Do not pipe its output (| tail, | grep) — this causes buffering freezes. Run it plain with a long timeout (300s+).

Under wbox (the usual agent loop) use the MCP tools instead, in this order — never deploy while soffice is running:

mcp__lo-wbox__kill  →  mcp__lo-wbox__deploy  →  mcp__lo-wbox__launch

The same loop is available from make, without MCP — offscreen by default, WBOX_VISIBLE=1 to get a window:

Read the full file on GitHub · 259 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 Changed · +7 lines · +106 tokens per session a66b1e88f4cf
  2. 1mo ago Changed · +37 lines · +490 tokens per session a32338f0259c
  3. 2mo ago First seen · 215 lines · 2,852 tokens per session scan C 3128cc659a38

Subscribe to this mod's changes

nelson-mcp AGENTS.md is an instructions file published in the GitHub repository quazardous/nelson-mcp (41 stars, last pushed 3d ago), licensed MPL-2.0. It adds 3,448 tokens to every session, about $0.0138 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-01.

Related

nelson-mcp AGENTS.md compared with instructions from other repositories

nelson-mcp AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nelson-mcp AGENTS.mdquazardous/nelson-mcpInstructions file413d agoMPL-2.0C3,448Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode