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 zhaixin244-wq/fnw --skill chip-create-dirgit clone --depth 1 https://github.com/zhaixin244-wq/fnwWrote 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/zhaixin244-wq/fnw/chip-create-dir)<a href="https://agentmods.dev/skills/zhaixin244-wq/fnw/chip-create-dir"><img src="https://agentmods.dev/badge/skills/zhaixin244-wq/fnw/chip-create-dir/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/zhaixin244-wq/fnw/chip-create-dir"><img src="https://agentmods.dev/badge/skills/zhaixin244-wq/fnw/chip-create-dir.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.00056 | $0.00889 |
| Opus 5 | $0.00028 | $0.00445 |
| Sonnet 5 | $0.00011 | $0.00178 |
| Haiku 4.5 | $0.00006 | $0.00089 |
Grade A, and why
chip-create-dir 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 10d 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.
What it actually says
Chip Create Directory
任务
为芯片模块创建标准化工作目录结构,初始化 <module_name>_work/ 根目录及 ds/dv 两级目录树。
依赖
- 无外部依赖,纯目录创建
执行步骤
- 确认模块名:用户输入
<module_name>(必填),如axi_bridge、pcie_ctrl。命名规范:字母+数字+下划线。 - 确认父目录:用户输入
[parent_dir](可选),默认当前目录.。 - 检查目录是否已存在:若
<module_name>_work/已存在,提示用户选择:覆盖/跳过/重命名。 - 执行创建:运行脚本或手动
mkdir -p创建完整目录树。 - 验证结果:运行
tree或ls -R确认所有目录存在。
调用命令:
bash .claude/skills/chip-create-dir/init_workdir.sh <module_name> [parent_dir]
目录结构
<module_name>_work/
├── ds/ # Design(设计)
│ ├── doc/ # 设计文档
│ │ ├── pr/ # PR 原始资料
│ │ ├── fs/ # 功能规格书(FS)
│ │ ├── ua/ # 微架构规格书(UA)
│ │ └── report/ # 设计报告
│ ├── rtl/ # RTL 源码
│ ├── lib/ # IP/CBB 库
│ ├── common/ # 公共头文件(.vh)、Interface(.sv)
│ └── run/ # 综合/实现运行目录
│
└── dv/ # Verification(验证)
├── doc/ # 验证文档
│ ├── chk_point/ # 验证检查点
│ ├── plan/ # 验证计划
│ └── report/ # 验证报告
├── env/ # 验证环境(UVM/自定义)
├── tb/ # Testbench
├── case/ # 测试用例
├── ral/ # 寄存器抽象层
└── run/ # 仿真运行目录
使用示例
# 在当前目录创建
bash .claude/skills/chip-create-dir/init_workdir.sh axi_bridge
# 指定父目录
bash .claude/skills/chip-create-dir/init_workdir.sh axi_bridge /d/work/project
创建完成后输出目录树摘要。
异常处理
| 场景 | 触发条件 | 处理动作 |
|---|---|---|
| 脚本不存在 | init_workdir.sh 找不到 |
用 mkdir -p 手动创建目录结构,输出创建日志 |
| 目录已存在 | 目标 _work 目录已存在 |
提示用户:覆盖/跳过/重命名,等待确认 |
| 权限不足 | mkdir 失败 |
提示权限问题,建议 chmod 或换目录 |
| 模块名非法 | 含空格/特殊字符 | 提示命名规范(字母+数字+下划线),等待修正 |
检查点
- 创建前:展示即将创建的目录结构,用户确认后执行
- 创建后:展示
tree输出,确认所有目录存在
What ships with it
1 file 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.
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.
- 10d ago First seen · 79 lines · 56 tokens per session scan A 507702ccfc6a
chip-create-dir is a skill published in the GitHub repository zhaixin244-wq/fnw (29 stars, last pushed 3mo ago), licensed MIT. It adds 56 tokens to every session and 889 once invoked, about $0.0003 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-30.
Other skills, from other repositories
gke-compute-classes
Configures, optimizes, and troubleshoots GKE ComputeClasses. Use when configuring Spot VMs with on-demand fallback, targeting specific accelerators (GPUs/TPUs) or machine families, restricting ComputeClass access, or debugging pending pods related to node pool auto-creation. Do not use for cluster-level Node Auto…
jetson-diagnostic
Read-only Jetson health snapshot for identity, memory, GPU, thermal, power, storage, services, and top processes.
doca-socket-relay
Use this skill when the operator is driving the DOCA Socket Relay to bridge a socket-oriented host application onto a BlueField DPU peer without rewriting it — picking the deployment shape (in-process, sidecar, or BlueField service container), configuring the host-side socket and the DPU-side forwarding endpoint…
offensive-z-wave
Z-Wave attack methodology — sniffing with Z-Force / EZ-Wave / RTL-SDR + ZniffMobile, S0 (legacy) network-key derivation flaw and key reuse, S2 (modern) ECDH commissioning analysis, replay/injection on unauthenticated nodes, default-key brute-force on test deployments, and home-automation hub pivots. Use when targeting…
hsb-flash
Flash the FPGA on an HSB board connected to an NVIDIA devkit. Supports HSB Lattice boards (FPGA versions 2407, 2412, 2507, 2510) and Leopard Imaging VB1940 "all-in-one" cameras (FPGA versions 2507, 2510). Uses release-specific YAML manifests and board-type-specific program commands. Lattice and VB1940 commands must…
jetson-validate-image
Use after jetson-flash-image to run static BSP checks, on-target smoke/regression tests on a flashed DUT, or both. Not for build or flash steps. Triggers: validate bsp, on-target validation.