TraceWeave: Instructions file for Codex

AGENTS.md

TraceWeave AGENTS.md is an instructions file for Codex, OpenCode from gokeshenzhen/TraceWeave. It costs 8,922 tokens per session, scanned A, original, MIT.

Repository instructions for TraceWeave, a local project that analyzes semiconductor designs and digital simulation waveforms. They explain the project’s terms, allowed work, and operating rules.

In plain words
What is it for?
Following repository guidance, understanding waveform and RTL-analysis terminology, setting up approved tools, and making performance changes without breaking interfaces.
Why use it?
They give an agent the project context and boundaries it needs to work safely, while reducing confusion about specialized hardware-design files and tools.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/gokeshenzhen/traceweave/agents-md"><img src="https://agentmods.dev/badge/instructions/gokeshenzhen/traceweave/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 8,922 This file is loaded in full into every session.
When invoked 8,922 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.08922 $0.08922
Opus 5.5 $0.03569 $0.03569
Sonnet 5.5 $0.01784 $0.01784
Haiku 4.5 $0.00892 $0.00892

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

Security

Grade A, and why

TraceWeave 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 1mo 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 · 245 lines

How it starts

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

Repository Guidance

Domain Context and Authorized Scope

TraceWeave is a local EDA/RTL simulation-debugging project for semiconductor designs and simulation artifacts that the user owns or is authorized to analyze.

VCD and FSDB are local digital simulation waveform databases.

In this repository, terms such as scan, sweep, handshake, protocol, interface, payload, trace, driver, load, and connectivity refer to digital-logic signals, bus behavior, waveform transitions, and elaborated-netlist relationships.

protected IP means semiconductor intellectual property. narrow_condition_injection is an RTL structural-analysis category for control-logic conditions.

Repository tasks are limited to local source code, local waveform and log files, test fixtures, and locally configured EDA tools. Do not access unrelated external systems or resources.

For performance optimizations:

  1. Establish a measurable baseline before making substantial implementation changes when practical.

  2. Prefer preserving public MCP tool interfaces and output schemas. Intentional interface or schema changes are allowed when explicitly requested or when they provide a justified architectural benefit; update callers, tests, documentation, and compatibility handling accordingly.

  3. Preserve FSDB thread-safety and observable cancellation and timeout behavior. Changes to locking, scheduling, worker, or execution models are allowed when justified by evidence and covered by focused regression tests.

  4. Add regression tests appropriate to the behavioral risk of the change, and use reproducible before/after benchmarks for performance-sensitive changes.

  5. Report the tested workload, benchmark conditions, measured results, memory impact when relevant, and any behavioral or compatibility trade-offs before claiming a performance improvement.

Installation Discipline

When a user supplies this repository URL and explicitly asks to install TraceWeave, treat that as the repository-local full EDA profile unless the user explicitly requests the portable PyPI profile. First run the read-only check:

Read the full file on GitHub · 245 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. 1mo ago Changed · +3 lines · +47 tokens per session 14a40fb6bdbe
  2. 1mo ago Changed · +93 tokens per session 4550a43cd9d9
  3. 1mo ago Changed · +1 tokens per session 6a7d73fd51e7
  4. 1mo ago Changed · +14 lines · +436 tokens per session bb214ba5cc70
  5. 2mo ago First seen · 228 lines · 8,345 tokens per session scan A 9c5d47cd20d8

Subscribe to this mod's changes

TraceWeave AGENTS.md is an instructions file published in the GitHub repository gokeshenzhen/TraceWeave (129 stars, last pushed 25d ago), licensed MIT. It adds 8,922 tokens to every session, about $0.0357 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

TraceWeave AGENTS.md compared with instructions from other repositories

TraceWeave AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
TraceWeave AGENTS.mdgokeshenzhen/TraceWeaveInstructions file12925d agoMITA8,922Codex, 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