obd-mcp-server AGENTS.md

obd-mcp-server AGENTS.md is an instructions file for Codex, OpenCode from ayhammouda/obd-mcp-server. It costs 489 tokens per session, scanned A, original, Apache-2.0.

A set of repository instructions for a vehicle-diagnostics server that limits vehicle access to read-only operations. It also defines safety, data, licensing, network, and runtime rules.

In plain words
What is it for?
Use it when developing or reviewing changes to this vehicle-diagnostics project, especially features involving diagnostic operations, vehicle data, or external services.
Why use it?
It prevents an agent from adding commands that could change vehicle systems or expose unsafe low-level controls.

Instructions file for CodexOpenCode

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/ayhammouda/obd-mcp-server/agents-md
Clone the repo
git clone --depth 1 https://github.com/ayhammouda/obd-mcp-server

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/ayhammouda/obd-mcp-server/agents-md.svg)](https://agentmods.dev/instructions/ayhammouda/obd-mcp-server/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/ayhammouda/obd-mcp-server/agents-md"><img src="https://agentmods.dev/badge/instructions/ayhammouda/obd-mcp-server/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 489 This file is loaded in full into every session.
When invoked 489 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.00489 $0.00489
Opus 5 $0.00244 $0.00244
Sonnet 5 $0.00098 $0.00098
Haiku 4.5 $0.00049 $0.00049

Measured 4d ago against content hash db6992720219, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

obd-mcp-server 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 4d 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 · 60 lines

How it starts

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

Repository instructions

This repository implements a safety-critical boundary between AI clients and vehicle diagnostic interfaces.

Non-negotiable safety rules

  • Vehicle access is read-only. Never add fault clearing, ECU resets, session changes, security access, routine control, coding, flashing, actuator tests, write-by-identifier, raw command passthrough, or gateway bypass features.
  • Enforce safety in the diagnostic core before a request reaches a driver. Descriptions, prompts, UI warnings, and MCP annotations are defense in depth; they are not policy enforcement.
  • New protocol operations are denied unless a reviewed policy explicitly allowlists the operation and tests prove mutable operations remain blocked.
  • AI-facing tools operate on normalized capabilities. Never expose raw CAN frames, arbitrary service IDs, adapter AT commands, or profile-defined tool code.
  • Do not claim that a vehicle is safe to drive. Return observations, uncertainty, and a recommendation to consult a qualified professional.

Data and licensing rules

  • Do not commit OEM manuals, diagnostic databases, screenshots, proprietary identifiers, copied standards text, vehicle captures, VINs, or user logs.
  • External profiles must declare provenance, scope, license, confidence, and redistribution status. Bundled data must have affirmative redistribution permission.
  • Community-derived data is untrusted configuration, never authoritative truth. Validate it before use and label it in every result.
  • Keep full VINs out of tool results and logs. Use a local fingerprint unless a future, separately reviewed feature requires explicit disclosure.

Network and runtime rules

  • Stdio stdout is protocol-only. Send diagnostics to stderr.
  • Streamable HTTP is loopback-only until authenticated remote access is designed, implemented, and reviewed.
  • Raw capture is disabled by default. Do not weaken local file permissions.
  • Preserve cancellation, bounded timeouts, per-vehicle concurrency, and response-size limits when adding drivers or tools.

Read the full file on GitHub · 60 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. 4d ago First seen · 60 lines · 489 tokens per session scan A db6992720219

Subscribe to this mod's changes

obd-mcp-server AGENTS.md is an instructions file published in the GitHub repository ayhammouda/obd-mcp-server (0 stars, last pushed 2d ago), licensed Apache-2.0. It adds 489 tokens to every session, about $0.0024 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.