elm327_obd_for_mac: Instructions file for Claude Code

CLAUDE.md

elm327_obd_for_mac CLAUDE.md is an instructions file for Claude Code from TheTom/elm327_obd_for_mac. It costs 4,418 tokens per session, scanned A, original, Apache-2.0.

A set of development rules for a native macOS Ford diagnostic tool written in Rust. The tool communicates with ELM327 USB adapters to read vehicle data and perform Ford-specific diagnostics.

In plain words
What is it for?
It guides work on serial communication, ELM327, OBD-II vehicle diagnostics, and Ford diagnostic features, using a tests-first development cycle.
Why use it?
It gives contributors a consistent way to build the project while keeping it tested, compilable, and focused on tracked GitHub issues.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Codex.

This is TheTom/elm327_obd_for_mac's own configuration. It tells Claude Code how to work on elm327_obd_for_mac 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 elm327_obd_for_mac configures →

Reuse

Borrowing it

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

Made for: Claude Code.

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 elm327_obd_for_mac CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/thetom/elm327_obd_for_mac/claude-md"><img src="https://agentmods.dev/badge/instructions/thetom/elm327_obd_for_mac/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,418 This file is loaded in full into every session.
When invoked 4,418 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.04418 $0.04418
Opus 5.5 $0.01767 $0.01767
Sonnet 5.5 $0.00884 $0.00884
Haiku 4.5 $0.00442 $0.00442

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

Security

Grade A, and why

elm327_obd_for_mac CLAUDE.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.

CLAUDE.md · 653 lines

How it starts

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

CLAUDE.md

Ford Diagnostic Tool — Autonomous Development Rules

Native macOS Ford Diagnostic Tool — a Rust CLI that communicates directly with ELM327 USB adapters for Ford-specific OBD-II and UDS diagnostics on Apple Silicon. No Wine, no Windows. See PRD.md for full product spec.

Core thesis:

Most Ford owners can't run FORScan on macOS without painful Wine hacks. Build a native Rust tool that talks directly to ELM327 adapters and the truck's CAN bus.

This repository is developed using test-driven, autonomous execution with strict guardrails.


Core Operating Principles

  1. Tests before implementation — mandatory.
  2. Every piece of work must correspond to a GitHub Issue.
  3. Implement the smallest working solution.
  4. No unsafe unless justified — if you write unsafe, comment why.
  5. Keep architecture simple and extensible.
  6. Keep the repository compilable at all times.
  7. Maintain organized documentation, repository maps, and test maps.
  8. Follow the issue → failing tests → implementation → review → commit → close issue loop.
  9. Focus on serial communication, ELM327 protocol, OBD-II, and Ford-specific diagnostics.
  10. If uncertain about a requirement, create a GitHub Issue and continue with other unblocked work.

GitHub Issue-Driven Development (MANDATORY)

This project uses GitHub Issues as the bug/task system, modeled after Google Buganizer.

Every unit of work is treated as an issue.

This includes:

  • features
  • bugs
  • implementation tasks
  • investigations
  • product questions
  • refactors
  • architectural decisions
  • hardware compatibility findings

Issue Requirement (MANDATORY)

Before starting any work:

  1. Ensure a GitHub Issue exists
  2. Assign the correct priority label
  3. Assign the correct type label
  4. Assign the correct area label(s)
  5. Write failing tests
  6. Only then may implementation begin

No task may be worked on without a corresponding issue.


Priority Labels (Buganizer Style)

Read the full file on GitHub · 653 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 · 653 lines · 4,418 tokens per session scan A 8c60997992bd

Subscribe to this mod's changes

elm327_obd_for_mac CLAUDE.md is an instructions file published in the GitHub repository TheTom/elm327_obd_for_mac (16 stars, last pushed 7mo ago), licensed Apache-2.0. It adds 4,418 tokens to every session, about $0.0177 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-30.

Related

elm327_obd_for_mac CLAUDE.md compared with instructions from other repositories

elm327_obd_for_mac CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
elm327_obd_for_mac CLAUDE.mdTheTom/elm327_obd_for_macInstructions file167mo agoApache-2.0A4,418Claude Code
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,685GitHub Copilot
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