oraclemcp: Instructions file for Codex

AGENTS.md

oraclemcp AGENTS.md is an instructions file for Codex, OpenCode from MuhDur/oraclemcp. It costs 3,892 tokens per session, scanned C, original, Apache-2.0.

Repository instructions for oraclemcp, an unofficial Rust server that lets agents work with Oracle databases through MCP.

In plain words
What is it for?
They guide Rust development across the workspace's library crates and binary, optional PL/SQL support, safe agent collaboration, and release-related decisions.
Why use it?
They set strict safety rules for file deletion and irreversible actions while defining the project's workspace and verification practices.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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 oraclemcp AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/muhdur/oraclemcp/agents-md"><img src="https://agentmods.dev/badge/instructions/muhdur/oraclemcp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,892 This file is loaded in full into every session.
When invoked 3,892 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.03892 $0.03892
Opus 5.5 $0.01557 $0.01557
Sonnet 5.5 $0.00778 $0.00778
Haiku 4.5 $0.00389 $0.00389

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

Security

Grade C, and why

oraclemcp 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 8d 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.

deletion, or `rm -rf` on tracked paths without explicit in-session approval.
AGENTS.md · 299 lines

How it starts

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

AGENTS.md - oraclemcp

Operating rules for agents working in this repository.

oraclemcp is an unofficial, safe-by-default Oracle Database MCP server in pure Rust: a small Cargo workspace of 9 engine-free oraclemcp-* library crates plus the oraclemcp binary. Release archives, the single ghcr.io/muhdur/oraclemcp image, and the default source build embed the plsql-intelligence engine for offline tools; custom --no-default-features builds omit it. The maintained primary driver is oraclemcp-driver-cx, with a bounded official oracledb connect-time alternate for compatible password connections. The SQL guard remains independent of the PL/SQL engine. The separate plsql-mcp server is deprecated. Independent open-source project; not affiliated with Oracle.

RULE 1 - ABSOLUTE

Do not delete any file or directory unless the operator gives the exact command in-session. This includes files you just created. If something should go, stop and ask first.

Irreversible / outward-facing actions

Never run git reset --hard, git clean -fd, git push --force, branch deletion, or rm -rf on tracked paths without explicit in-session approval. Never force-push main. Do not commit on the operator's behalf without a clear in-session go-ahead. crates.io publishes and registry listings are permanent (versions immutable, names claimed forever); treat publishing as a gated, deliberate step.

Working rules

Binding on every agent, solo or swarmed. They come from past incidents (docs/plan/RETRO_SWARM_2026-10-04.md, docs/plan/SWARM_RECAP_2026-10.md).

  1. Never defer planned work on your own initiative; deferral is the operator's call.
  2. Green means honestly green. Surface red before the operator finds it.
  3. Claim only what you have just run and checked.
  4. Follow explicit operator choices (model, scope, agent count) exactly.
  5. The fail-closed guard is sacred and tighten-only (see "The safety invariant").
  6. Confidentiality: field-test/live-customer identifiers never leave todelete/ (gitignored) or enter a committed artifact.
  7. No surprise costs: cloud resources (OCI etc.) stay free-tier.
  8. Be resource-disciplined: scoped -p builds, a per-agent target dir, no unbounded concurrent compiles.
  9. A modified file that is not yours is another agent mid-edit, not a defect. Check git status / git show HEAD:<path> before calling it broken.
  10. Commit explicit paths (git commit -- <path>...), then check what landed with git show --stat HEAD. Never -a, git add -A or --amend in the shared checkout. A struct field and its initializers (or a trait method and its impls, an enum variant and its matches) land in one commit.
  11. Never block a turn on an unbounded wait. Check once, report, move on.
  12. Escalate blockers to the operator; file unforeseen work with br create instead of quietly widening scope.

Read the full file on GitHub · 299 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. 8d ago Changed · -11 lines · -201 tokens per session c899ae762f11
  2. 9d ago Changed · -72 lines · -1,015 tokens per session 3e47c8815666
  3. 1mo ago Changed · +29 lines · +430 tokens per session c16d88b3badd
  4. 1mo ago Changed · +1 lines · +19 tokens per session 0b3d28ba758d
  5. 1mo ago Changed · +38 lines · +483 tokens per session 4d272c8cc8ec
  6. 2mo ago First seen · 314 lines · 4,176 tokens per session scan C daf4367461d4

Subscribe to this mod's changes

oraclemcp AGENTS.md is an instructions file published in the GitHub repository MuhDur/oraclemcp (4 stars, last pushed today), licensed Apache-2.0. It adds 3,892 tokens to every session, about $0.0156 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-08-31.

Related

oraclemcp AGENTS.md compared with instructions from other repositories

oraclemcp AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
oraclemcp AGENTS.mdMuhDur/oraclemcpInstructions file4todayApache-2.0C3,892Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,649GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode ai-customization.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA1,907GitHub Copilot