enigmagent-mcp: Instructions file for Codex

AGENTS.md

enigmagent-mcp AGENTS.md is an instructions file for Codex, OpenCode from Agnuxo1/enigmagent-mcp. It costs 686 tokens per session, scanned A, original, MIT.

Instructions for a local tool that replaces named placeholders such as {{NAME}} with encrypted credentials during tool calls. The secret is decrypted on the user's machine and is not exposed in the model's context or logs.

In plain words
What is it for?
It helps list available secret names, resolve a named credential for one tool call, and enforce rules such as never echoing or caching the secret.
Why use it?
It lets agents use credentials without copying plaintext secrets into conversations, files, logs, or external provider requests.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions AGENTS.md; built for openclaw; mentions Cursor.

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

Reuse

Borrowing it

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/agnuxo1/enigmagent-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/agnuxo1/enigmagent-mcp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 686 This file is loaded in full into every session.
When invoked 686 The same file — it is already loaded in full.
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.00686 $0.00686
Opus 5.5 $0.00274 $0.00274
Sonnet 5.5 $0.00137 $0.00137
Haiku 4.5 $0.00069 $0.00069

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

Security

Grade A, and why

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

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.md · 62 lines

How it starts

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

AGENTS.md — enigmagent-mcp

Version 2.0.0 security contract

The current entry point is index.js and the current vault implementation is vault-secure.js. index-legacy-v1.js, vault-core.js, and README-legacy-v1.md are retained only as historical references. Do not use the legacy files in new code or describe their behavior as the current security boundary.

MCP raw resolution is disabled by default. REST requires a high-entropy Bearer token, loopback binding, bounded JSON, and no browser CORS. A caller-declared origin is not attestation. Never enable raw resolution for an untrusted client, never put a real credential in tests, and never claim that a returned value is invisible to a trusted client or its model after explicit opt-in.

All security-sensitive changes require tests for malformed input, wrong credentials, domain mismatch, redaction, and process continuity. Keep public errors code-based and do not serialize arbitrary exception messages.

This file is addressed to AI agents and LLM-based tools that discover or use this repository.

What this tool does

enigmagent-mcp is a local MCP server that resolves {{PLACEHOLDER}} tokens in your tool calls and prompts into real credentials — decrypted on the user's machine with AES-256-GCM + Argon2id — so the plaintext secret never appears in the model context, logs, or provider APIs.

Tools exposed via MCP

Tool Description
enigmagent_resolve Resolves a {{NAME}} placeholder to its decrypted value for the requesting origin.
enigmagent_list Lists available secret names (names only — never values).

Use enigmagent_list to discover what secrets are available, then reference them in downstream tool arguments as {{NAME}}. Never log or echo the resolved value back into the conversation.

Security rules for agents

  1. Never echo a resolved secret back into the chat or into any file.
  2. Never cache a resolved value beyond the immediate tool call.
  3. Detect and redirect — if the user pastes a raw credential into the conversation, pause and suggest storing it with enigmagent_set instead.

Read the full file on GitHub · 62 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 · +17 lines · +205 tokens per session 9f2cf890fca0
  2. 1mo ago First seen · 45 lines · 481 tokens per session scan A 8d3b27cd6fee

Subscribe to this mod's changes

enigmagent-mcp AGENTS.md is an instructions file published in the GitHub repository Agnuxo1/enigmagent-mcp (6 stars, last pushed 1mo ago), licensed MIT. It adds 686 tokens to every session, about $0.0027 per session on Opus 5.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.

Related

Other instructions, from other repositories