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 woodfishhhh/EZ_math_model --skill user-corpus-explorergit clone --depth 1 https://github.com/woodfishhhh/EZ_math_modelWrote 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/woodfishhhh/ez_math_model/user-corpus-explorer)<a href="https://agentmods.dev/skills/woodfishhhh/ez_math_model/user-corpus-explorer"><img src="https://agentmods.dev/badge/skills/woodfishhhh/ez_math_model/user-corpus-explorer/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/woodfishhhh/ez_math_model/user-corpus-explorer"><img src="https://agentmods.dev/badge/skills/woodfishhhh/ez_math_model/user-corpus-explorer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00045 | $0.00558 |
| Opus 5 | $0.00023 | $0.00279 |
| Sonnet 5 | $0.00009 | $0.00112 |
| Haiku 4.5 | $0.00005 | $0.00056 |
Grade A, and why
user-corpus-explorer 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 9d 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
user-corpus-explorer — 用户资料库索引
何时使用
external/user-corpus/存在用户自带参考材料。pipeline 00对该域决策不是skip。pipeline 01intake 结束前需要生成用户资料索引。
设计原则
- 由 subagent 执行,不污染主对话上下文。
- 每次覆盖生成
external/user-corpus/AGENTS.md。 - 失败不打断主 pipeline。
- 不上传全文到外部服务。
扫描范围
递归扫描 external/user-corpus/,跳过:
.gitkeepREADME.mdAGENTS.md.corpus_index.json.git/、.cache/、以.开头的目录- 大于 200MB 的文件只记录路径和大小
读取策略
| 扩展名 | 策略 |
|---|---|
.md .txt |
读全文,超长读首尾 |
.pdf |
MinerU → pdf → pdfplumber,长文仅读首 15 页和末 5 页 |
.docx |
docx 提取文本 |
.html |
Jina Reader 或 BeautifulSoup |
| 图片 | 视觉描述 |
| 其他二进制 | 只记录元信息 |
输出
生成:
external/user-corpus/AGENTS.md
external/user-corpus/.corpus_index.json
AGENTS.md 包含 inventory、per-file index、cross-cutting topics、recommendations、limitations。
下游衔接
- modeler 必读 recommendations,并在
modeling_plan.md标注参考来源。 - writer 可优先把 corpus 中可验证 DOI 的论文列入参考候选。
- coder 不直接读 corpus,除非 modeler 在计划中转述其方法。
失败诊断
| 情况 | 处理 |
|---|---|
| corpus 目录为空 | 写空索引,pipeline 继续 |
| 单文件读取失败 | 在 limitations 记录 |
| MinerU 不可用 | 降级 pdf → pdfplumber |
| 总耗时超过 5 分钟 | 写已完成索引,剩余标 unread |
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.
- 9d ago First seen · 68 lines · 45 tokens per session scan A 65df3d79e38e
user-corpus-explorer is a skill published in the GitHub repository woodfishhhh/EZ_math_model (41 stars, last pushed 1mo ago), licensed MIT. It adds 45 tokens to every session and 558 once invoked, about $0.0002 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
math-modeling-finalizer
A finalization guide for mathematical-modeling projects after the main results are largely fixed.
modeling-delivery-gate
Final delivery checker for support archives, DOCX/static checks and exact-PDF visual review. Missing exact PDF remains NOTVERIFIED.
pdf-batch
A batch converter for PDFs, Word documents, presentations, spreadsheets, and images. It creates Markdown for Dify text knowledge bases and packages original images for image-based search.
A guide and toolset for reading, extracting, creating, and changing PDF files. It covers text, tables, images, OCR, forms, page operations, watermarks, and encryption.
foundry-hosted-agent-validation
Step-by-step process for validating a Python Foundry hosted agent sample (under python/samples/04-hosting/foundry-hosted-agents/) end to end — running it locally (native runtime and azd ai agent run) and after deploying it to an Azure AI Foundry project with azd. Use this when asked to validate a hosted agent sample.
skill-doc-delivery
Convert markdown to DOCX, PPTX, XLSX, PDF office documents — use when you need exportable deliverables.