readNdraft-imap-mcp: Skill for Codex

.agents/skills/readndraft-local-mcp-test/SKILL.md

readndraft-local-mcp-test is a skill for Codex from LeoPhoenixT/readNdraft-imap-mcp. It costs 86 tokens per session (1,233 once invoked), scanned A, original, Apache-2.0.

A local setup and testing guide for the readNdraft development MCP, a connector that lets Codex work with readNdraft from a repository checkout.

In plain words
What is it for?
Use it to configure the repository’s MCP settings, run a local smoke test, refresh the local service after code changes, and diagnose stale or incorrectly resolved checkouts.
Why use it?
It helps verify that Codex is using the intended local code and configuration without changing personal files or exposing account and email data.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents); mentions Codex.

This is LeoPhoenixT/readNdraft-imap-mcp's own configuration. It tells Codex how to work on readNdraft-imap-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 readNdraft-imap-mcp configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is uv run --locked python scripts/codex_dev_mcp_smoke.py.

Reuse

Borrowing it

Nothing to install: this file belongs to LeoPhoenixT/readNdraft-imap-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/LeoPhoenixT/readNdraft-imap-mcp/main/.agents/skills/readndraft-local-mcp-test/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/LeoPhoenixT/readNdraft-imap-mcp

Made for: Codex.

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 readndraft-local-mcp-test

README.md
[![agentmods](https://agentmods.dev/badge/skills/leophoenixt/readndraft-imap-mcp/readndraft-local-mcp-test/github.svg)](https://agentmods.dev/skills/leophoenixt/readndraft-imap-mcp/readndraft-local-mcp-test)
Your own site
<a href="https://agentmods.dev/skills/leophoenixt/readndraft-imap-mcp/readndraft-local-mcp-test"><img src="https://agentmods.dev/badge/skills/leophoenixt/readndraft-imap-mcp/readndraft-local-mcp-test/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 readndraft-local-mcp-test

Your own site · 80×15
<a href="https://agentmods.dev/skills/leophoenixt/readndraft-imap-mcp/readndraft-local-mcp-test"><img src="https://agentmods.dev/badge/skills/leophoenixt/readndraft-imap-mcp/readndraft-local-mcp-test.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,233 The whole file, excluding the scripts and references it only reads on demand.
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.00086 $0.01233
Opus 5 $0.00043 $0.00616
Sonnet 5 $0.00017 $0.00247
Haiku 4.5 $0.00009 $0.00123

Measured 11d ago against content hash 809ea1e3bd1a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

readndraft-local-mcp-test 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 11d 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/skills/readndraft-local-mcp-test/SKILL.md · 125 lines

How it starts

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

Test the readNdraft Local MCP

Run this workflow only from the readNdraft repository root.

Preserve local work

  1. Inspect git status -sb before running anything.
  2. Treat modified and untracked files as user-owned. The test workflow must not stage, reset, delete, or rewrite them.
  3. Confirm .codex/config.toml defines mcp_servers.readndraft_dev and launches the checkout through locked uv with required = false for ordinary work.

Confirm the repository configuration

Use this repository-scoped configuration:

[mcp_servers.readndraft_dev]
command = "uv"
args = ["run", "--locked", "--no-sync", "readndraft-imap-mcp", "mcp"]
cwd = "."
startup_timeout_sec = 10
tool_timeout_sec = 60
required = false
default_tools_approval_mode = "approve"

Run Codex with codex -C . from the repository root; MCP cwd is resolved from that Codex working directory, so use cwd = ".". Confirm the resolved entry with codex -C . mcp get readndraft_dev --json; do not edit the user's global Codex configuration. If a required MCP session closes during initialization, inspect the resolved cwd first and temporarily pin it to the absolute repository root to distinguish a path problem from a server problem.

Refresh changed local code

Do not rebuild or reinstall for ordinary Python source edits. uv run executes this checkout. Run uv sync --locked --extra dev only when the environment is missing, unsynchronized, or dependency/lock metadata changed.

Distinguish the two processes before testing:

  • A new Codex CLI session starts a fresh MCP frontend from the checkout.
  • The frontend reuses any healthy broker at the current IPC protocol endpoint.
  • Therefore, frontend-only changes are picked up by a new CLI session, but broker-side changes under broker/, imap/, mime/, drafts/, or shared code require a fresh broker process.

Before refreshing the broker, close or disconnect active readNdraft MCP frontends when practical so their leases end. On Windows, inspect only processes whose command line contains readndraft_imap_mcp.broker.daemon; do not stop a process based only on python.exe. Show the exact PID, executable, and command line, explain that connected clients will briefly lose readNdraft access, and obtain direct user confirmation before stopping that exact process. Never stop unrelated Python or Codex processes.

Read the full file on GitHub · 125 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago First seen · 125 lines · 86 tokens per session scan A 809ea1e3bd1a

Subscribe to this mod's changes

readndraft-local-mcp-test is a skill published in the GitHub repository LeoPhoenixT/readNdraft-imap-mcp (0 stars, last pushed 2d ago), licensed Apache-2.0. It adds 86 tokens to every session and 1,233 once invoked, about $0.0004 per session on Opus 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-31.