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 agentmods add skills/striveh/agent-skills/icp-batch-skillnpx skills add striveh/agent-skills --skill icp-batch-skillgit clone --depth 1 https://github.com/striveh/agent-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/striveh/agent-skills/icp-batch-skill)<a href="https://agentmods.dev/skills/striveh/agent-skills/icp-batch-skill"><img src="https://agentmods.dev/badge/skills/striveh/agent-skills/icp-batch-skill.svg" alt="Measured on agentmods" 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.00063 | $0.00705 |
| Opus 5 | $0.00032 | $0.00352 |
| Sonnet 5 | $0.00013 | $0.00141 |
| Haiku 4.5 | $0.00006 | $0.00071 |
Grade A, and why
icp-batch-skill 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.
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
ICP 批处理工作流
此技能封装了整套批量查询流程,适用于类似 domains.xlsx 的表格:
- 从表头含“链接”的列提取域名(保留去重,非标准值也保留)。
- 优先使用本地缓存
icp_results.csv;仅对缺失或失败记录调用 API。 - 写回/更新:
icp_results.csv:完整原始响应缓存(domain,status_code,error_header,body)。icp_success.csv:解析后的成功条目(code=1)。- 原始 Excel 在末尾追加两列:备案主体、备案号。
运行前准备
- Python 3.9+,依赖:
pip install openpyxl requests。 - AppCode 可通过环境变量、
--appcode、或appcode.txt(同目录一行内容)提供;未提供会提示输入。 - 默认文件:
domains.xlsx,若找不到会弹出文件选择器;执行过程中会显示进度与错误提示。
快速使用
python icp-batch-skill/scripts/run_icp_batch.py \
--workbook domains.xlsx \
--cache icp_results.csv \
--success icp_success.csv
参数说明(均有默认,可省略):
--workbook:待处理 Excel(默认 domains.xlsx)。--cache:缓存文件(默认 icp_results.csv)。--success:成功解析输出(默认 icp_success.csv)。
过程要点
- 提取域名:优先匹配表头等于“链接”的列,否则使用首列。对每行提取正则域名;无匹配则使用原文本。
- 缓存策略:
- 命中且
status_code=200且响应code=1→ 直接复用。 - 其他情况 → 调用 API
GET https://domainicp.market.alicloudapi.com/do?domain=...,头Authorization: APPCODE <APP_CODE>。
- 命中且
- 写回:
- 追加两列表头:
备案主体、备案号,按行填充命中数据(无则留空)。 icp_results.csv覆盖写入完整域名顺序。icp_success.csv写入成功解析条目,便于后续复用。
- 追加两列表头:
常见问题
- 403/鉴权失败:检查 APP_CODE 是否有效、套餐授权正常。
- 非标准域名:脚本保留并尝试查询,若返回 code=0 / 字段为空,输出空。
- 如需更换 API Host/Path,可用参数
--host、--path(见脚本)。
资源
- 脚本:
scripts/run_icp_batch.py
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.
- 5d ago First seen · 50 lines · 63 tokens per session scan A 8644e5228285
icp-batch-skill is a skill published in the GitHub repository striveh/agent-skills (5 stars, last pushed 7mo ago), licensed MIT. It adds 63 tokens to every session and 705 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-31.
Other skills, from other repositories
specification-writing
Write the full patent specification from claims and invention disclosure. Use when user says "撰写说明书", "write specification", "写说明书", "patent description", or wants to draft the complete patent specification.
regulatory-research-fallback
Fallback workflow for regulatory research when web extraction tools fail on government PDFs.
x-scorecard
OpenSSF Scorecard for assessing open source project security. Check security best practices and compliance. Dependency: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options). see x-cmd skill for installation.
memstack-business-gdpr
Use this skill when the user says 'GDPR', 'data protection', 'privacy compliance', 'DPA', 'DSAR', 'data subject request', 'cookie consent', 'privacy audit', 'CCPA', or asks 'do I need GDPR for this repo'. Scans the repository to detect what personal data is collected, classifies sensitivity, determines whether GDPR…
gesellschaftsrechtliche-satzungen-agb
Für Gesellschaftsrechtliche Satzungen AGB Abgrenzung: ordnet Norm, Beweislast und Gegenargument; Ergebnis: Prüfprodukt mit Risiko und nächstem Schritt. Fachgebiet: AGB-Recht-Prüfer. Route: gesellschaftsrechtliche-satzungen-agb.
nda-review
Use when the user uploads or pastes a non-disclosure agreement and asks for review, redline, risk assessment, or a recommendation on whether to sign. Identifies missing standard protections, one-sided or unusual provisions, and operational issues; produces a structured report with severity ratings and citations to…