agentic-hil CLAUDE.md

agentic-hil CLAUDE.md is an instructions file for coding agents from agentic-hil/agentic-hil. It costs 726 tokens per session, scanned A, original, Apache-2.0.

Development instructions for Agentic HIL, a Python MCP server that safely tests embedded devices with connected hardware.

In plain words
What is it for?
Use them when developing or troubleshooting firmware tests involving probing, flashing, resetting, serial connections, CAN bus, or structured hardware reports.
Why use it?
They explain the approved configuration, supported setup, installation, and development rules, helping prevent unsafe or invalid hardware operations.

Instructions file

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/agentic-hil/agentic-hil/claude-md
Clone the repo
git clone --depth 1 https://github.com/agentic-hil/agentic-hil

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 agentic-hil CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/agentic-hil/agentic-hil/claude-md.svg)](https://agentmods.dev/instructions/agentic-hil/agentic-hil/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/agentic-hil/agentic-hil/claude-md"><img src="https://agentmods.dev/badge/instructions/agentic-hil/agentic-hil/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 726 This file is loaded in full into every session.
When invoked 726 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.00726 $0.00726
Opus 5 $0.00363 $0.00363
Sonnet 5 $0.00145 $0.00145
Haiku 4.5 $0.00073 $0.00073

Measured yesterday against content hash 007547ba457c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

agentic-hil 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 yesterday.

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 · 26 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code when working in this repository.

Canonical agent instructions live in AGENTS.md and AI_AGENT_QUICKSTART.md. Human-facing setup and troubleshooting entry points live in README.md and TROUBLESHOOTING.md.

Project Overview

Agentic HIL is a Python MCP stdio server for safe embedded firmware development with local hardware-in-the-loop targets. It exposes narrow tools for probing, flashing, resetting, configured COM port stimulus/feedback, configured CAN bus stimulus/feedback, and reading structured reports from a configured local embedded target.

Agentic HIL discovers the project's one authoritative configuration outside the repository; AGENTIC_HIL_CONFIG is an optional absolute-path override. Mandatory workspace_root binds either file to the exact project root. If an Agentic HIL tool returns permission_denied, stop and ask the user; never bypass the config.

Use STM32 Nucleo-F446RE + ST-Link + OpenOCD + Python 3.10 or newer as the supported first path unless project files or the user clearly identify another setup.

Development

  • Install: python -m pip install -e '.[dev,can]'
  • Lint: ruff check src tests evals tools
  • Test: pytest
  • Test on all cores: pytest -n auto, about five times faster than the single process (a minute and a half against seven and a half on fourteen cores). Not the default, so a bare pytest still runs one process. Nothing is marked serial; what a new test has to keep true for that to stay so is in CONTRIBUTING.md under "Running the suite on all cores".
  • Test the POSIX half from Windows: python tools/ci_linux.py: needs Docker, runs the committed tree in a Linux container, and matches the Linux CI job. On Windows the POSIX-only tests never run, and that is where the platform bugs have been. If you cannot run it, say in the pull request which tests you did not run.
  • Run the agent review loop in a container: python tools/loop_in_container.py --task "...": needs Docker, and it is how the loop should be run. On Windows the reviewer's test runs die on NTFS permissions a previous round left, Codex cannot run the suite under its own sandbox, and the POSIX half is invisible; none of that happens on Linux. It mounts this repository read-write so the commits land here, and takes every other tools/agent_review_loop.py option unchanged, except the four that decide what the container isolates (--repo, --codex-sandbox, --review-checkout, --review-checkout-dir), which it sets itself and refuses to forward. --codex-arg is forwarded, but a payload inside it that reaches one of those four decisions (--cd, --sandbox, -c sandbox_mode=… and their short and attached spellings) is refused too, because Codex reads the last one it is given. Each agent gets a virtualenv built from the committed tree it works in, so a round that changes pyproject.toml is reviewed against the commit that changed it.
  • Package check: python -m build and twine check dist/*

Read the full file on GitHub · 26 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. yesterday Changed · -3 tokens per session 007547ba457c
  2. 5d ago First seen · 26 lines · 729 tokens per session scan A 027690cd134e

Subscribe to this mod's changes

agentic-hil CLAUDE.md is an instructions file published in the GitHub repository agentic-hil/agentic-hil (12 stars, last pushed yesterday), licensed Apache-2.0. It adds 726 tokens to every session, about $0.0036 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-30.