readable-verilog-classify

readable-verilog-classify is a skill for Claude Code, Codex from Eriemon/verilog-generator. It costs 37 tokens per session (1,210 once invoked), scanned A, original, Apache-2.0.

A Verilog organization and documentation workflow. It groups registers, wires, assignments, and processes by their actual hardware function, timing domain, or data path, and adds comments explaining each process.

In plain words
What is it for?
Use it to reorganize and review Verilog modules, generate blocks, declarations, continuous assignments, and always blocks while preserving their behavior.
Why use it?
It makes hardware source easier to read without relying on signal names alone. Checking drivers and readers first helps avoid grouping signals or describing behavior incorrectly.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to reorganize and review Verilog modules, generate blocks, declarations, continuous assignments, and always blocks while preserving their behavior.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/eriemon/verilog-generator/readable-verilog-classify
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.

Any agent
npx skills add Eriemon/verilog-generator --skill readable-verilog-classify
Clone the repo
git clone --depth 1 https://github.com/Eriemon/verilog-generator

Made for: Claude Code, Codex.

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 readable-verilog-classify

README.md
[![agentmods](https://agentmods.dev/badge/skills/eriemon/verilog-generator/readable-verilog-classify/github.svg)](https://agentmods.dev/skills/eriemon/verilog-generator/readable-verilog-classify)
Your own site
<a href="https://agentmods.dev/skills/eriemon/verilog-generator/readable-verilog-classify"><img src="https://agentmods.dev/badge/skills/eriemon/verilog-generator/readable-verilog-classify/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 readable-verilog-classify

Your own site · 80×15
<a href="https://agentmods.dev/skills/eriemon/verilog-generator/readable-verilog-classify"><img src="https://agentmods.dev/badge/skills/eriemon/verilog-generator/readable-verilog-classify.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,210 The whole file, excluding the scripts and references it only reads on demand.
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.00037 $0.01210
Opus 5.5 $0.00015 $0.00484
Sonnet 5.5 $0.00007 $0.00242
Haiku 4.5 $0.00004 $0.00121

Measured today against content hash 78f1c7be329e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

readable-verilog-classify 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 today.

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/readable-verilog-classify/SKILL.md · 63 lines

What it actually says

按功能归类 RTL

逐模块、逐 generate 作用域阅读实际声明、驱动、读者以及规格。先按模块布局区分声明、连续赋值和过程,再在各区域内把同一职责的实体连续放置。根据时钟域、接口、数据通道、状态或流水级判定职责。一个 reg 也可能是组合译码结果,判断依据是实际驱动。按数据流或使用顺序排列同组实体。

对象 归组做法
reg 声明 分开计数/分频、状态寄存、输入同步、采样历史、移位/缓存、输出标志等本设计实际存在的职责。每个信号单独声明,同一组内连续书写,换组空一行并写组说明。
wire 声明 区分子模块连线、组合译码、边沿或握手事件、输出连接等;同一事务的数据和有效条件放在同一功能组。带初值的 net 声明同时承担连续驱动,移动前核对名字解析和位宽依赖。
assign 将同一功能的组合条件、数据通路和外部输出映射分别归组。同组的上游条件在前,派生结果在后;声明区和连线区可使用相同的功能组名。
always 同一职责、同一时钟域的过程相邻;各块前保留一行空行和紧贴本块的独立用途注释。功能组的第一块紧接区域标题和组说明。组间空一行并用组说明标出职责变化。

每个 always 单独解释。 注释写在 always 或其属性正上方,用当前工程的注释语言说明更新的对象、触发条件和可观察作用。组合过程说明默认值及覆盖条件。组名不能代替各块说明。先查驱动和读者再落笔;仅凭命名无法确定设计意图时,给出位置并回到规格核对。

例如 I²S 设计中的分频计数、BCLK 翻转和 MCLK 翻转可归入“主机时钟生成”,仍分别说明计数重装条件、BCLK 的半周期使能、MCLK 的翻转沿。BCLK/WS 输入采样另归“从机输入同步”,分别标明移位方向和下游使用的采样级。“槽边界与声道”另起一组。每个时序过程继续遵守单寄存器写入规则。

以下片段假定所有控制信号已同步到 i_clk。两类事件先分别定义,再在已有寄存器边界处理:

// 帧内流量统计。
reg [7:0] cnt_words;   // 本帧已接受的字数,按 8 位回绕
reg [7:0] cnt_stalls;  // 本帧有输入但下游未就绪的拍数,按 8 位回绕

// 帧尾通知:向下游标记最后一次接收。
reg flag_last;

// 输入握手。
wire word_taken;

// 帧尾判定。
wire last_taken;

// 输入握手:双方就绪才接收当前字。
assign word_taken = i_valid && i_ready;

// 帧尾判定:停顿期间的 last 不产生通知。
assign last_taken = word_taken && i_last;

// 帧内流量统计。
// 接收计数:帧开始时清零,之后只在成功接收时递增。
always@(posedge i_clk)begin
	if(i_frame_start)cnt_words <= 8'd0;
	else if(word_taken)cnt_words <= cnt_words + 8'd1;
end

// 停顿计数:下游未就绪而输入有效时,每个等待沿记一拍。
always@(posedge i_clk)begin
	if(i_frame_start)cnt_stalls <= 8'd0;
	else if(i_valid && !i_ready)cnt_stalls <= cnt_stalls + 8'd1;
end

// 帧尾通知:寄存本拍的帧尾握手,供下游在下一拍采样。
always@(posedge i_clk)begin
	flag_last <= last_taken;
end

编辑与验收。 在原作用域内移动完整实体,绑定其前导注释、属性和尾注。遇到宏分支、声明初值依赖、隐式 net、重叠驱动或阻塞赋值竞争,保留相关顺序,用就地注释和空行划组。不得为归类合并 always、拆改敏感表、改外部接口顺序或插入寄存器。用 format 预览,逐块检查空行和注释归属,再运行 review。always.missing_comment 定位缺少独立说明的过程;说明是否准确和同组职责是否一致,由主责对照源码及规格复核。

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. today First seen · 63 lines · 37 tokens per session scan A 78f1c7be329e

Subscribe to this mod's changes

readable-verilog-classify is a skill published in the GitHub repository Eriemon/verilog-generator (350 stars, last pushed yesterday), licensed Apache-2.0. It adds 37 tokens to every session and 1,210 once invoked, about $0.0001 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-12-04.

Related

readable-verilog-classify compared with skills from other repositories

readable-verilog-classify next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
readable-verilog-classifyEriemon/verilog-generatorSkill350yesterdayApache-2.0A37Claude Code, Codex
readable-hls-generatorEriemon/hls-generatorSkill353mo agononeA40Codex
vivado-cdc-auditmapleleavessssssss-wq/vivado-mcpSkill1811mo agoApache-2.0A58Claude Code, Codex
vivado-constraints-authoringmapleleavessssssss-wq/vivado-mcpSkill1811mo agoApache-2.0A66Claude Code, Codex
vivado-project-bringupmapleleavessssssss-wq/vivado-mcpSkill1811mo agoApache-2.0A50Claude Code, Codex
vivado-timing-closuremapleleavessssssss-wq/vivado-mcpSkill1811mo agoApache-2.0A56Claude Code, Codex
vivado-waveform-debugmapleleavessssssss-wq/vivado-mcpSkill1811mo agoApache-2.0A62Claude Code, Codex