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 wangyendt/wayne-skills --skill calib-pattern-generatorgit clone --depth 1 https://github.com/wangyendt/wayne-skillsWrote 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/wangyendt/wayne-skills/calib-pattern-generator)<a href="https://agentmods.dev/skills/wangyendt/wayne-skills/calib-pattern-generator"><img src="https://agentmods.dev/badge/skills/wangyendt/wayne-skills/calib-pattern-generator/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/wangyendt/wayne-skills/calib-pattern-generator"><img src="https://agentmods.dev/badge/skills/wangyendt/wayne-skills/calib-pattern-generator.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.00081 | $0.01508 |
| Opus 5.5 | $0.00032 | $0.00603 |
| Sonnet 5.5 | $0.00016 | $0.00302 |
| Haiku 4.5 | $0.00008 | $0.00151 |
Grade A, and why
calib-pattern-generator 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 6d 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.
How it starts
The opening of the file, as written. The whole thing — 59 lines — stays where its author put it; the contents beside it link to each section on GitHub.
标定板生成
默认 在线优先,无法访问时离线兜底。在线通过 calib.io 网页在本机浏览器生成 PDF,不是云端生成 API;离线用 Python/ReportLab/OpenCV 独立生成矢量 PDF。
先补全参数
从用户请求和已确认上下文提取下表字段,统一尺寸为 mm。缺失时一次列出所缺字段及单位/选项,等用户补全;不得用网页默认值擅自填充。用户明确同意推荐值后才可使用。
| 字段 | 必填范围与含义 |
|---|---|
target |
checker 棋盘格 / charuco / kalibr AprilGrid / circles 对称圆点 / circlesA 非对称圆点 |
width, height |
所有类型:整张板/PDF 页面的宽、高,不是图案包围盒 |
rows, columns |
所有类型:行、列;棋盘/ChArUco 为方格数,AprilGrid 为 tag 数 |
spacing |
所有类型:方格边长 / tag 边长 / 对称圆心间距 / 非对称对角圆心间距 |
dictionary, id, legacy |
ChArUco:DICT_4X4 / DICT_5X5 / DICT_6X6 / DICT_7X7,起始 ID(可为 0),兼容模式 true/false(须确认) |
id |
AprilGrid:起始 ID |
diameter |
两类圆点板:圆直径 |
- “9×6 棋盘格”未说明方格还是内角点时先问;明确为 9 列×6 行内角点才转换成 10 列×7 行方格。A4 未说明方向时询问横向/纵向。
circlesA行列是交错网格槽位,只在行列索引同奇偶时画圆,不是 OpenCV 每行圆点个数;不要直接照搬用户的patternSize。- ChArUco marker 边长固定
floor(0.75*spacing),网页字典对应本地 OpenCVDICT_NXN_1000;检测端需匹配字典、ID、marker 尺寸和 legacy。 - AprilGrid 固定 36h11,黑边 2 模块,间隔比例 0.3,ID 从底行左侧逐行向上;本地无需另设字典/间隔。
运行
脚本路径相对于本 skill 目录解析。要求 Python 3.9+;缺少依赖时安装 scripts/requirements.txt。已有可用 cv2.aruco 时不要并装多个 OpenCV wheel 变体。在线需要 Playwright 浏览器:默认尝试 Chromium,再尝试已安装 Chrome;也可 python -m playwright install chromium 安装。
python <SKILL_DIR>/scripts/generate_pattern.py \
--target checker --width 200 --height 150 \
--rows 8 --columns 11 --spacing 15 \
--output /absolute/output/checker.pdf
以上是完整示例,不是缺省参数。JSON 配置可用 --config /absolute/path/config.json,字段名同上,legacy 必须为 JSON 布尔值;命令行值优先。
- 默认
--backend auto:先在线;网络超时、浏览器/依赖缺失、网页资源或下载不可用时,以完全相同参数生成离线版本。单步超时默认 15 秒,可--timeout修改。只尝试一次在线生成,不无限重试。 --backend calib.io:强制在线,失败即报错;--channel chrome可明确使用已安装 Chrome。--backend offline:强制离线,不联网、不启动浏览器;依赖预先装好后可完全离线生成。--dry-run:只校验参数,不联网、不生成;--list-types:列出类型。- 缺参、非法尺寸、ID 越界、输出已存在、PDF 校验失败或网页参数契约变化时不自动兜底,先解释错误让用户修正/排查,不能擅改参数或绕过校验。
- 默认输出当前目录
calib-pattern.pdf;已有文件不覆盖,除非用户明确同意使用--overwrite。
What ships with it
2 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.
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.
- 6d ago First seen · 59 lines · 81 tokens per session scan A f64104cda838
calib-pattern-generator is a skill published in the GitHub repository wangyendt/wayne-skills (9 stars, last pushed 7d ago), licensed MIT. It adds 81 tokens to every session and 1,508 once invoked, about $0.0003 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-10-24.
Other skills, from other repositories
neuroskill-bci
Use live BCI cognitive and mood state from NeuroSkill.
ruview-applications
Run RuView sensing applications — presence/occupancy, breathing & heart rate, activity & fall detection, 17-keypoint pose estimation (WiFlow), sleep monitoring & apnea screening, environment mapping, Mass Casualty Assessment (MAT), and the 3D point-cloud fusion demo. Use when someone wants to actually do something…
lab-hardware-cad
Designs custom laboratory hardware as parametric build123d models and exports fabrication artifacts as STEP, STL, and DXF files - microfluidic chips and molds, optomechanical mounts and breadboard adapters, cuvette and microplate holders, tube racks, animal-behavior rigs, and 3D-printed instrument fixtures. Use when a…
pylabrobot
Develops and reviews PyLabRobot lab-automation resources, liquid-handling plans, offline simulations, and supported-device integrations. Supports PyLabRobot protocols and API questions; keep physical execution behind an explicit operator safety gate.
pybamm
Simulates lithium-ion battery charge, discharge and rest experiments with PyBaMM, records parameter-set provenance, checks mesh and solver sensitivity, and compares predicted voltage curves with measured cycling data. Use for SPM or DFN electrochemical battery modeling, C-rate protocols, voltage cutoffs, parameter…
calibrate-room
Run the ADR-151 per-room calibration pipeline — baseline → enroll → extract → train → a bank of small specialists (presence/posture/breathing/heartbeat/restlessness/anomaly).