pitlane-mcp: Instructions file for Codex

AGENTS.md

pitlane-mcp AGENTS.md is an instructions file for Codex, OpenCode from eresende/pitlane-mcp. It costs 2,170 tokens per session, scanned A, a copy of skills AGENTS.md, Apache-2.0.

Project instructions for a code-navigation tool that indexes a codebase and retrieves only the symbols an agent needs. A symbol is a named piece of code, such as a function, class, or variable.

In plain words
What is it for?
They are for working on pitlane-mcp and for navigating indexed source code by retrieving specific symbols.
Why use it?
They help an agent find relevant code without loading the whole project into its context.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/eresende/pitlane-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/eresende/pitlane-mcp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,170 This file is loaded in full into every session.
When invoked 2,170 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 100% copy Near-identical to another mod 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.02170 $0.02170
Opus 5.5 $0.00868 $0.00868
Sonnet 5.5 $0.00434 $0.00434
Haiku 4.5 $0.00217 $0.00217

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

Security

Grade A, and why

pitlane-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 10d 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.

Origin

This is a copy

100% identical to skills AGENTS.md — 109 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

AGENTS.md · 108 lines

How it starts

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

Pitlane MCP Usage

Use pitlane-mcp for code lookup whenever it is available.

Default public tier:

  • ensure_project_ready
  • investigate
  • locate_code
  • read_code_unit
  • trace_path
  • analyze_impact
  • analyze_changes
  • get_index_changes
  • get_index_stats
  • doctor
  • server_info
  • search_content
  • search_knowledge
  • read_knowledge_document

Advanced primitive tools are hidden from tools/list unless the server is started with PITLANE_MCP_TOOL_TIER=all.

Startup

  1. Prefer ensure_project_ready for normal startup. It ensures the index exists and reports whether embeddings are still running, but it does not block on embeddings.
  2. Use investigate as the first tool for broad code questions such as subsystem, behavior, and execution-path questions.
  3. If you explicitly exposed the advanced tool tier and use index_project directly, call wait_for_embeddings immediately when it returns embeddings="running". Do not poll get_index_stats to wait.
  4. Call watch_project only when you explicitly exposed advanced tools and expect the repo to change during the session.
  1. Use investigate for broad code questions when you want the server to discover symbols and inline the relevant source in one call.
  2. Use locate_code when the user wants to find code but it is not yet clear whether the target is a symbol, file, or text fragment.
  3. Use read_code_unit once you know the target and want the smallest useful read instead of manually choosing between lower-level read primitives.
  4. Use trace_path for behavior, source-to-sink, config-to-effect, shortest-path, and other execution-path questions.
  5. Use analyze_impact for blast-radius questions before edits or refactors. Use analyze_changes to map a Git diff to revision-qualified symbols, impact evidence, and test candidates.
  6. Use search_content when you know a text snippet, log string, import path, macro name, or regex fragment but do not know the symbol boundary yet.
  7. Use search_knowledge for documentation questions — it searches indexed Markdown (docs, READMEs, runbooks) by heading and content, with hybrid lexical/semantic ranking when embeddings exist. It understands OKF v0.2 documents natively: filter by concept type/status/trust tier via okf_type/status/min_trust, and results carry trust, staleness, and cross-document related_docs relationships.
  8. Use read_knowledge_document to open a document found by search_knowledge: the full source Markdown by default, or one section via section (a sections[].section_id slug or the full section_id). Results include OKF metadata, the section outline with line ranges, and the link graph (related_docs outgoing, referenced_by incoming).
  9. Use get_index_stats to orient yourself in unfamiliar repos before broader exploration.
  10. Fall back to direct file reads only when editing or when full-file context is genuinely required.
  11. Treat read_code_unit as the preferred diff-aware read surface. Use its read_state.status field to decide whether to reuse the payload, expand, or reread: new means first read in this session unchanged means the same target was reread with identical content, so expand instead of rereading again changed means the same target changed since the previous read, so use the refreshed payload before expanding
  12. When locate_code, trace_path, or analyze_impact return session_state, use it to understand whether the top target was already seen and whether the server intentionally promoted an unseen nearby alternative.

Read the full file on GitHub · 108 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. 10d ago Changed · +12 lines · +329 tokens per session 8089ba753771
  2. 20d ago Changed · +74 tokens per session ac8e38c2d302
  3. 28d ago Changed · +1 lines · +5 tokens per session b6b5b46d87da
  4. 1mo ago Changed · +8 lines · +114 tokens per session 3e65e8bf75fe
  5. 1mo ago Changed · +4 lines · +193 tokens per session ec04af6fe761
  6. 2mo ago Changed · +2 lines · +10 tokens per session 9f9cb7a81003
  7. 2mo ago Changed · +80 lines · +1,441 tokens per session f2cf794b063a
  8. 2mo ago First seen · 1 lines · 4 tokens per session scan A 6ebdb617a810

Subscribe to this mod's changes

pitlane-mcp AGENTS.md is an instructions file published in the GitHub repository eresende/pitlane-mcp (76 stars, last pushed yesterday), licensed Apache-2.0. It adds 2,170 tokens to every session, about $0.0087 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to skills AGENTS.md, differing in 109 lines, and is treated as a copy.

Related

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

pitlane-mcp AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pitlane-mcp AGENTS.mderesende/pitlane-mcpInstructions file76yesterdayApache-2.0A2,170Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot