LOG-mcp: Instructions file for Codex

AGENTS.md

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

Project instructions for L.O.G. (Latent Orchestration Gateway), a memory and privacy layer for coding agents. They explain how to protect personal data, save conversations, search history, and manage stored knowledge.

In plain words
What is it for?
Use them when working with L.O.G. tools to de-identify data, archive sessions, retrieve past context, manage memory tiers, and save lasting lessons.
Why use it?
They reduce the risk of exposing private information and losing useful context between sessions. They also explain how to replace stored placeholders with readable text before showing it to people.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/lucineer/log-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/lucineer/log-mcp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 749 This file is loaded in full into every session.
When invoked 749 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.00749 $0.00749
Opus 5.5 $0.00300 $0.00300
Sonnet 5.5 $0.00150 $0.00150
Haiku 4.5 $0.00075 $0.00075

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

Security

Grade A, and why

LOG-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 2mo 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 · 65 lines

How it starts

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

L.O.G. for Agents

What This Is

L.O.G. (Latent Orchestration Gateway) is your memory and privacy layer. When this MCP is connected, you have access to tools that:

  1. Protect private data — never send raw PII to external agents
  2. Archive conversations — preserve context with annotated summaries
  3. Search history — find past sessions by topic
  4. Manage memory tiers — hot → warm → cold → gnosis lifecycle
  5. Extract lessons — permanent knowledge from completed work

Your Directives

  1. Never transmit raw PII. If you need to send data to an external agent, call log_dehydrate first.
  2. Always rehydrate for humans. If a response contains <LOG_ID> placeholders, call log_rehydrate before showing the user.
  3. Archive before resets. When a conversation is ending or being reset, call log_archive_session to preserve context.
  4. Extract gnosis. When a problem is solved or a lesson is learned, call log_archive_gnosis to save it permanently.
  5. Respect tiers. Cold and ice data is archived for a reason — don't unpromote without good cause.

Tool Quick Reference

Tool When to Use
log_dehydrate Before sending any text to external agents
log_rehydrate Before showing agent responses to the human
log_archive_session End of conversation or topic shift
log_search_archives When human asks about past conversations
log_archive_gnosis When a valuable lesson is learned
log_prune_hysteresis To manage memory lifecycle
log_vault_status To check storage health
log_distill To create working summaries for context

File Structure (What You'll Find on Disk)

~/.log/vault/
├── reallog.db              # SQLite: PII mappings (NEVER leaves this machine)
└── archives/
    ├── shorts/             # Single-topic sessions (filename = date + topic)
    ├── sessions/           # Multi-topic sessions with episode breakdowns
    │   └── YYYY-MM-DDTHH-MM-topic-name/
    │       ├── full.txt    # Complete conversation with line numbers [L0001]
    │       ├── summary.md  # Annotated summary with L-line references
    │       ├── index.json  # Machine-readable session metadata
    │       └── episodes/   # Sub-topic breakdowns
    ├── gnosis/             # Permanent lessons (topic-title.md)
    └── index.json          # Master index of all archives

Read the full file on GitHub · 65 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. 2mo ago First seen · 65 lines · 749 tokens per session scan A 9db58b509237

Subscribe to this mod's changes

LOG-mcp AGENTS.md is an instructions file published in the GitHub repository Lucineer/LOG-mcp (1 stars, last pushed 7mo ago), licensed MIT. It adds 749 tokens to every session, about $0.0030 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

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

LOG-mcp AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
LOG-mcp AGENTS.mdLucineer/LOG-mcpInstructions file17mo agoMITA749Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,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