OpenHBM: Instructions file for Codex

AGENTS.md

OpenHBM AGENTS.md is an instructions file for Codex, OpenCode from Netie-AI/OpenHBM. It costs 1,169 tokens per session, scanned C, original, Apache-2.0.

Repository instructions for coding agents working on OpenHBM, a hardware-design project written in SystemVerilog.

In plain words
What is it for?
Designing RTL hardware, writing timing descriptions and assertions, comparing outputs with Python reference models, and running the project’s verification checks.
Why use it?
They define the required design, verification, linting, formal-checking, and code-generation process before changes can be accepted.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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 OpenHBM AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/netie-ai/openhbm/agents-md"><img src="https://agentmods.dev/badge/instructions/netie-ai/openhbm/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,169 This file is loaded in full into every session.
When invoked 1,169 The same file — it is already loaded in full.
Security scan C 2 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.01169 $0.01169
Opus 5.5 $0.00468 $0.00468
Sonnet 5.5 $0.00234 $0.00234
Haiku 4.5 $0.00117 $0.00117

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

Security

Grade C, and why

OpenHBM AGENTS.md scanned grade C with 2 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

The toolchain is already installed at `~/oss-cad-suite`. Never run any install script, `apt install`, `pip install`, `curl | bash`, or any package manager command to install EDA tools. If a tool is not found, the fix is

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

The toolchain is already installed at `~/oss-cad-suite`. Never run any install script, `apt install`, `pip install`, `curl | bash`, or any package manager command to install EDA tools. If a tool is not found, the fix is
AGENTS.md · 89 lines

How it starts

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

AGENTS.md

This file is the entry point for any AI coding agent (Claude, GPT, Gemini, or otherwise) operating in this repository. It is the symlink-equivalent companion to CLAUDE.md -- agents that look for AGENTS.md first should read both.

Read CLAUDE.md next. It contains the binding contract: SystemVerilog subset, banned constructs, clock-domain rules, primitive library, CSR generation rule, and the assertion-first workflow.

Operating principles

  1. Spec first, code second. Before writing any RTL, produce a port and parameter table, a cycle-by-cycle timing narrative, and SVA assertions for every protocol invariant. Then implement.
  2. Test-with against a Python golden reference. Every leaf IP gets a dv/env/<ip>_ref.py model. Cocotb tests check RTL output against the reference, not against handwritten expected values.
  3. Lint clean, formal clean, mutation-tested. A PR is not mergeable until verible-verilog-lint, verilator -Wall --timing, the cocotb suite, sby (where applicable), and mcy mutation coverage all pass the gate threshold (80/100 score; see tools/agent_eval/harness/scoring.py).
  4. Hjson + reggen for every CSR. Never hand-write a CSR file.
  5. DCO on every commit. git commit -s. No exceptions.
  6. No JEDEC PDF redistribution. Spec summaries go in docs/spec/, derived clean-room from the free-registration PDF held in a non-redistributable local cache.
  7. No iEDA / OSCC code vendored into hw/vendor/ until export-controls counsel and license counsel both clear it. See docs/legal/export_control.md. Use iEDA via the prebuilt Docker image as a tool only.

Where to look

You want to ... Read
Understand the strategic plan Plan.md
Understand the current execution sprint .cursor/plans/openhbm4_*.plan.md
Find the binding RTL style contract CLAUDE.md
Generate RTL for a specific IP docs/agent-prompts/<ip>.md
Run the eval harness tools/agent_eval/harness/run.py
Add a new IP docs/rfcs/template.md
Vendor an external dependency util/vendor.py + hw/vendor/*.lock.hjson
Run an ASIC flow pd/sc_flows/<target>.py
Reproduce the toolchain flake.nix or .devcontainer/devcontainer.json

Read the full file on GitHub · 89 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 · 89 lines · 1,169 tokens per session scan C d8b17982a80f

Subscribe to this mod's changes

OpenHBM AGENTS.md is an instructions file published in the GitHub repository Netie-AI/OpenHBM (26 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 1,169 tokens to every session, about $0.0047 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

OpenHBM AGENTS.md compared with instructions from other repositories

OpenHBM AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
OpenHBM AGENTS.mdNetie-AI/OpenHBMInstructions file264mo agoApache-2.0C1,169Codex, 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 file143ktodayMITA7,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