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.
npx skills add Eriemon/verilog-generator --skill readable-verilog-specgit clone --depth 1 https://github.com/Eriemon/verilog-generatorWrote 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.
[](https://agentmods.dev/skills/eriemon/verilog-generator/readable-verilog-spec)<a href="https://agentmods.dev/skills/eriemon/verilog-generator/readable-verilog-spec"><img src="https://agentmods.dev/badge/skills/eriemon/verilog-generator/readable-verilog-spec/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.
<a href="https://agentmods.dev/skills/eriemon/verilog-generator/readable-verilog-spec"><img src="https://agentmods.dev/badge/skills/eriemon/verilog-generator/readable-verilog-spec.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00038 | $0.04387 |
| Opus 5.5 | $0.00015 | $0.01755 |
| Sonnet 5.5 | $0.00008 | $0.00877 |
| Haiku 4.5 | $0.00004 | $0.00439 |
Grade A, and why
readable-verilog-spec 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.
How it starts
The opening of the file, as written. The whole thing — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.
讨论 RTL 规格
完整新设计由总调度器登记目标。新设计先从下面的规格事项表选题。逐条写出需要用户决定的具体行为,把题干与候选答案一起登记,多题可在一次 dispatch 中传入。将返回的问题和范围一起发给用户,等待回答后再起草。草稿中发现新歧义也按此方式提问。起草时和用户讨论会改变功能、接口、时序、资源约束或验收结果的选择。按 path 更新草稿,运行 resume_after_work;正式确认以 await_confirmation 返回的版本为准。用户明确同意该版后再建模、冻结 golden、编写 RTL。独立使用 write-spec 可生成讨论稿;交付为已确认规格同样需要用户明确答复。
与用户确认的规格事项
select_spec_questions 只做选题。已明确时执行 argv_if_scope_known,有未决项时填写 argv_template。返回 ask_user 就提问。收到答复后按 next_action 创建或续写草稿。字段取值、稀疏激励及波形窗口见规格字段契约;用 resume_after_work 一次校验并生成正式讨论稿。设计任务中检索范围是用户工程,套件自身的 Python 源码留给工具维护任务。
对可枚举的取舍优先出单选按钮。每题只问一个实质决定,题干与答案分别作为参数,例如 --spec-question "每方向允许几笔在途?" "单笔,严格保序" "多笔,同 ID 保序"。用户可自填不同答案。对已有明确约定可给一个具体的确认按钮。确实只能填写路径或数值时用 --spec-input。若已依据需求与资料完成选题,首条 design dispatch 就带上本批参数,一次进入用户问答;板卡、接口及综合工具等仅按实际范围询问。
提交草稿前,按功能块核对寄存器写入职责和各分支优先级,按握手拍核对实际采样数据,并对照场景检查端口拼写。把发现的行为矛盾集中修正,再运行续跑命令。到 await_confirmation 时直接将 next_action.spec_files 的全部正文链接发到当前对话,随即展示确认卡。用户指出问题或已发现具体行为错误时,修订并重新展示对应版本。
例如,只写组合加法器时,位宽和溢出行为已明确就合并成一句范围确认,用户同意后起草;若满量程加一的结果未定,只问饱和还是回绕。只做功能仿真时,从已有 TB、激励和期望结果入手,普通 Verilog 用套件 Icarus。用户要求 DC 面积数据时,才需要考虑综合库、约束和报告口径;工程中已有的值直接复用。
先从用户需求、现有顶层、协议、器件约束或已确认的设计决定填写已知值。由当前 LLM 根据本次交付判断每项是否适用、答案是否已有、剩余歧义是否会改变设计或验收。三者中只有“适用、未定且有实质影响”的事项才追加澄清问题。没有未决项时,用已知输入、采样事件与预期输出形成一条具体确认题,请用户同时核对范围;规格成稿后由用户明确确认本版。功能、外部接口和验收判据也遵循同样的提问条件;已知信息直接写入草稿。已有明确答案的事项直接列出供整版核对。有实质取舍时,列出可选值和各自影响,集中询问。内部状态编码、FIFO 实现方式等若已由用户交给设计者决定,只记录选择及依据。
| 事项 | 何时适用 | 需要和用户确定什么 | 可用于确认的例子 |
|---|---|---|---|
| 功能与边界 | 所有模块 | 输入怎样变成输出,支持哪些模式,上下游各自负责什么 | 给一组输入,请核对正常输出及完成条件 |
| 外部接口与总线 | 所有模块;采用总线时再核对协议 | 端口方向、位宽、符号、位序、采样条件;协议版本、角色、通道、握手和背压 | valid 连续两拍而 ready 仅第二拍为高,应接收几笔 |
| 时钟、复位与跨域 | 有时序状态、异步输入或多时钟域 | 时钟频率和有效沿,复位极性、断言与释放,复位中及首个有效沿的行为;跨域脉冲或数据如何接收 | 复位与使能同拍时输出什么,短脉冲是否允许丢失 |
| 并行、流水与性能 | 可重叠事务、多通道或有性能指标 | 并行路数、每拍可接收量、最大在途事务数、延迟和吞吐,是否允许停顿或乱序 | 第 0 拍接收 A 后,第 1 拍能否接收 B,各在哪一拍输出 |
| 状态、仲裁与优先级 | 有多阶段事务、共享资源或竞争事件 | 进入、等待、退出和恢复条件;同拍冲突时谁优先;输出在转移沿还是下一拍可见 | busy 时又来 start;完成与取消同拍时保留哪项 |
| 缓冲与流控 | 上下游速率不同、突发传输或下游可停顿 | 缓冲单位、深度及推导依据,满空行为、同拍读写、旁路、溢出策略 | 深度 4 的 FIFO 已满,同拍出队和入队能否都接受 |
| 数值与参数 | 运算、转换或可配置设计 | 有符号性、定点格式、中间位宽、舍入、饱和或回绕;参数默认值、合法范围及组合限制 | 最大正数再加 1,预期输出哪个位型 |
| 存储与软件可见寄存器 | RAM、寄存器映射或中断 | 地址、对齐、字节使能、读延迟、同址读写语义;清零、副作用及中断应答方式 | RAM 同址读写返回旧值还是新值;状态位置位与写一清零同拍谁优先 |
| 异常、中断事务与恢复 | 有非法输入、超时、flush 或中途复位 | 丢弃、报错、重试或保留哪些数据,何时重新接受事务 | 半包时复位,首个新包是否会带出旧数据 |
| 实现平台与集成约束 | 用户指定实现目标,或平台差异会改变本次交付时 | 器件或工艺、目标频率、资源预算、已有 IP 或引脚约束;沿用已选注释语言 | DSP 有上限时,能否用额外周期换取资源 |
| 仿真软件 | 有编译、仿真或对拍验收 | 普通 Verilog-2001 RTL 功能仿真首选套件 Icarus(iverilog 编译、vvp 运行)。用户指定工具,或工程依赖特定语言特性、IP 仿真库、门级模型时,核对目标仿真器、版本、运行主机及脚本入口 |
已有回归用 Questa 和预编译 IP 库;正式验收是否沿用该回归,Icarus 是否仅用于独立模块冒烟 |
| 综合软件 | 要求综合交付,或验收面积、资源、频率等指标 | FPGA 按器件和现有工程确定综合工具、版本与时钟约束;ASIC 确认综合器、目标库、工艺角和约束。明确采用综合估计还是布局布线后报告 | 200 MHz 的指标以哪套工具、哪份约束和哪个实现阶段的报告为准 |
| 验收与可观察结果 | 所有模块 | 比较哪些输出、在什么事件或拍号采样、允许什么误差;选正常、边界及适用的竞争场景 | 停顿三拍再恢复,首个有效输出是哪笔数据 |
What ships with it
34 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- examples/capture-spec.doc 85 KB
- examples/capture-spec.md 4.0 KB
- examples/capture-spec.pdf 254 KB
- examples/i2s-tx/media/0f9d1ded9f435940-narrow_word-2.svg 45 KB
- examples/i2s-tx/media/217697abfaab4550-bclk_phase.svg 46 KB
- examples/i2s-tx/media/260933aadd0ddb46-narrow_word-2.json 754 B
- examples/i2s-tx/media/2feca6e62da796b5-full_frame-1.json 1001 B
- examples/i2s-tx/media/4697940e151d6d4f-narrow_word-1.svg 51 KB
- examples/i2s-tx/media/5ef2f6be00d89d20-full_frame-2.svg 50 KB
- examples/i2s-tx/media/6d8d1e287e12aae1-full_frame-1.svg 51 KB
- examples/i2s-tx/media/6da0282d85fd6246-left_word.json 251 B
- examples/i2s-tx/media/727ac1d82b2d5db1-no_sample_first.json 865 B
- examples/i2s-tx/media/8fd8b118714bb50a-left_word.svg 47 KB
- examples/i2s-tx/media/a72f2f29db0a9c7a-bclk_phase.json 467 B
- examples/i2s-tx/media/c0f79d53a0d036c8-narrow_word-1.json 1003 B
- examples/i2s-tx/media/c38a677cc6e37f60-no_sample_first.svg 57 KB
- examples/i2s-tx/media/ec2f8c3bb807faa0-full_frame-2.json 986 B
- examples/i2s-tx/media/f43aedde157e3f38-right_word.svg 47 KB
- examples/i2s-tx/media/ff9c396a6106b43b-right_word.json 251 B
- examples/i2s-tx/spec.doc 503 KB
- examples/i2s-tx/spec.md 16 KB
- examples/i2s-tx/spec.pdf 546 KB
- examples/waveforms/continuous.json 418 B
- examples/waveforms/hold.json 405 B
- examples/waveforms/reset_priority.json 451 B
- references/capture-spec.json 7.7 KB
- references/continuous.svg 43 KB
- references/contract.md 12 KB
- references/hold.svg 43 KB
- references/reset_priority.svg 43 KB
- scripts/specs/parameter_names.py 5.9 KB runs code
- scripts/specs/specification.py 50 KB runs code
- scripts/specs/templates/module-spec.json 927 B
- scripts/specs/templates/sample-register.json 1.8 KB
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.
- today Changed · +14 lines 9f797e5c50be
- yesterday First seen · 59 lines · 38 tokens per session scan A d94c80413f4f
readable-verilog-spec is a skill published in the GitHub repository Eriemon/verilog-generator (350 stars, last pushed yesterday), licensed Apache-2.0. It adds 38 tokens to every session and 4,387 once invoked, about $0.0002 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-03.
readable-verilog-spec compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| readable-verilog-specEriemon/verilog-generator | Skill | 350 | yesterday | Apache-2.0 | A | 38 | Claude Code, Codex |
| readable-hls-generatorEriemon/hls-generator | Skill | 35 | 3mo ago | none | A | 40 | Codex |
| vivado-cdc-auditmapleleavessssssss-wq/vivado-mcp | Skill | 181 | 1mo ago | Apache-2.0 | A | 58 | Claude Code, Codex |
| vivado-constraints-authoringmapleleavessssssss-wq/vivado-mcp | Skill | 181 | 1mo ago | Apache-2.0 | A | 66 | Claude Code, Codex |
| vivado-project-bringupmapleleavessssssss-wq/vivado-mcp | Skill | 181 | 1mo ago | Apache-2.0 | A | 50 | Claude Code, Codex |
| vivado-timing-closuremapleleavessssssss-wq/vivado-mcp | Skill | 181 | 1mo ago | Apache-2.0 | A | 56 | Claude Code, Codex |
| vivado-waveform-debugmapleleavessssssss-wq/vivado-mcp | Skill | 181 | 1mo ago | Apache-2.0 | A | 62 | Claude Code, Codex |