lint-cdc

lint-cdc is a skill for Claude Code, Codex from chipweaver/veripower. It costs 40 tokens per session (1,985 once invoked), scanned A, original, MIT.

A lint and CDC skill runs SpyGlass checks on hardware RTL. Lint finds code and design-rule problems, while clock-domain-crossing checks look for unsafe signals moving between different clock regions.

In plain words
What is it for?
It is for running SpyGlass lint and CDC analysis, reviewing violations, adding waivers or annotations, and checking again after RTL changes.
Why use it?
It helps identify RTL issues and unsafe clock-crossing behavior, then tracks the fixes or approved waivers until the checks are clean.

Skill for Claude CodeCodex

Part of the veripower plugin — 12 skills, 3 hooks shipped together

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 skills/chipweaver/veripower/lint-cdc
Any agent
npx skills add chipweaver/veripower --skill lint-cdc
Clone the repo
git clone --depth 1 https://github.com/chipweaver/veripower

Made for: Claude Code, Codex.

Or install veripower, the plugin that ships this one along with the rest of its 12 skills, 3 hooks.

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 lint-cdc

README.md
[![agentmods](https://agentmods.dev/badge/skills/chipweaver/veripower/lint-cdc.svg)](https://agentmods.dev/skills/chipweaver/veripower/lint-cdc)
Your own site
<a href="https://agentmods.dev/skills/chipweaver/veripower/lint-cdc"><img src="https://agentmods.dev/badge/skills/chipweaver/veripower/lint-cdc.svg" alt="Measured on agentmods" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,985 The whole file, excluding the scripts and references it only reads on demand.
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.00040 $0.01985
Opus 5 $0.00020 $0.00992
Sonnet 5 $0.00008 $0.00397
Haiku 4.5 $0.00004 $0.00198

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

Security

Grade A, and why

lint-cdc 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 5d ago.

The scan reads SKILL.md. This mod also ships 7 executable files (scripts/lintcdc/__init__.py, scripts/lintcdc/__main__.py, scripts/lintcdc/bootstrap.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/lint-cdc/SKILL.md · 144 lines

How it starts

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

Lint / CDC

Your sole responsibility: converge SpyGlass lint and CDC to a clean error and warning count on this module's RTL, and close the run through the lintcdc CLI.

Iron Rule

  • Write only under {workdir}. Every injected input location is read-only, as is every other stage's output.
  • Scripts are black boxes, never Read their source. Invoke them per this skill's documented command lines (flags via --help); on a non-zero exit act on the documented failure protocol (stderr, stdout verdict), not the source. Sole exception: debugging a suspected bug in a script itself.

What you read, and what you edit

<skill> is this skill's own base directory, named on the first line of this file.

{workdir}/dispatch.json carries the inputs table below, so <key> denotes a location and you read <key>/<subpath>. It also carries a scope list when the kernel knows which inputs changed since your last run: that narrows what you triage, never what the tool analyzes.

Path Use
<annotations>/constraint-annotations.json The sgdc block per child: every depth annotation this RTL implies. bootstrap renders all four categories into the SGDC itself — you never transcribe them. Nothing upstream matched a name against the netlist, so a name SpyGlass cannot find surfaces here first, as its author's defect. Schema: skills/rtl-design/references/constraint-annotations.schema.json.
<rtl>/rtl-files.json Per-child file layout, which bootstrap turns into scripts/filelist.txt. Schema: skills/rtl-design/references/rtl-files.schema.json.
<sgdc_seed>/constraints/<TOP>.sgdc Clocks and resets from specification. bootstrap reads it every round, so a correction here arrives on its own; it is not yours to restate or override.

Two files under {workdir} are yours, and both reach you holding the previous round's work rather than a pristine template:

  • scripts/local.sgdc: your own SGDC — the port/clock associations the seed cannot know.
  • scripts/waiver.tcl: the waivers, each carrying its reason.

Read the full file on GitHub · 144 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. 5d ago First seen · 144 lines · 40 tokens per session scan A 130ba506d9e1

Subscribe to this mod's changes

lint-cdc is a skill published in the GitHub repository chipweaver/veripower (6 stars, last pushed 5d ago), licensed MIT. It adds 40 tokens to every session and 1,985 once invoked, about $0.0002 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.