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/dleerdefi/claude-code-construction/spec-splitternpx skills add dleerdefi/claude-code-construction --skill spec-splittergit clone --depth 1 https://github.com/dleerdefi/claude-code-constructionWrote 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/dleerdefi/claude-code-construction/spec-splitter)<a href="https://agentmods.dev/skills/dleerdefi/claude-code-construction/spec-splitter"><img src="https://agentmods.dev/badge/skills/dleerdefi/claude-code-construction/spec-splitter.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 | $0.00057 | $0.02201 |
| Opus 5 | $0.00028 | $0.01100 |
| Sonnet 5 | $0.00011 | $0.00440 |
| Haiku 4.5 | $0.00006 | $0.00220 |
Grade A, and why
spec-splitter 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 4d 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 — 196 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Spec Splitter
Two functions for specification processing:
- Split: Break a bound project manual PDF into individual spec section PDFs — navigable files the project team can use directly
- Extract: Pull searchable text from each section PDF into persistent
.txtfiles — enables downstream skills (submittal-log-generator, spec-parser) to work from text without re-extracting from PDFs
Pipeline Position
Run after /project-setup identifies bound spec manuals. Produces split PDFs, spec_index.yaml, and extracted text consumed by /submittal-log-generator and /code-researcher.
Either function can run independently. For example, specs may already be split but text has not yet been extracted.
Workflow
Spec Split Progress:
- [ ] Step 1: Check current state (split? text extracted?)
- [ ] Step 2: Discover Specifications directory
- [ ] Step 3: Find ALL spec PDFs (bound manuals)
- [ ] Step 4-5: Split PDF into individual section files
- [ ] Step 6: Write spec index
- [ ] Step 7: Extract text from all sections
- [ ] Step 8: Repair degraded/poor text quality
- [ ] Step 9: Write graph entry (AgentCM only)
Step 1: Check Current State
Check what already exists:
Split PDFs present?
- Look for individual spec section PDFs with CSI section numbers in filenames (e.g.,
03 30 00 - Cast-in-Place Concrete.pdf) - Check for
spec_index.yaml - If found, report count and skip to Step 7 (text extraction)
Text already extracted?
- Check
.construction/spec_text/manifest.json - If manifest exists and covers all sections, report and skip Step 7
Step 2: Discover Specifications Directory
Determine where split spec PDFs should go. Search for an existing Specifications directory (case-insensitive):
02 - Specifications/(numbered project folder convention)Specifications/- Any folder with "specification" in the name
Output directory resolution:
- If Specifications directory found → output to
{specs_dir}/Specification Sections/ - If not found → output to
Specification Sections/in project root
What ships with it
3 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.
- 4d ago First seen · 196 lines · 57 tokens per session scan A 33e2172409ff
spec-splitter is a skill published in the GitHub repository dleerdefi/claude-code-construction (35 stars, last pushed 4mo ago), licensed MIT. It adds 57 tokens to every session and 2,201 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
nature-reader
Build full-paper Chinese-English side-by-side, figure/table/equation-aware, source-grounded Markdown readers for journal or conference papers from PDF, DOI, arXiv, publisher HTML, or pasted text. Use whenever the user asks to translate or read a paper, make 中英文对照/原文对照/全文翻译解读, render equations instead of exposing raw…
download-fulltext-pdf
当用户明确要求"下载文献全文"或"获取论文PDF"时使用。通过 DOI 号下载学术论文全文 PDF,支持 arXiv、Sci-Hub、Unpaywall、期刊官网等多源策略。⚠️ 不适用:用户只是想解析或处理已有的 PDF 文件(应使用 pdf skill)、只是想搜索论文信息而无需下载全文、没有提供 DOI/标题/BibTeX 任何标识符。.
document-parser
Parse and extract structured content from PDFs, Word documents, and other file formats. Converts documents into clean, machine-readable text for analysis, summarization, data extraction, and content processing workflows.
report-helper
当用户说「深度研究 X」「深入研究 X」或要求生成某产品、公司、概念、人物、产业链、政策、趋势的深度研究/发展研究报告时触发,自动进行联网搜索和研究,产出排版后的 PDF 文档,总字数通常 1-3 万字。 作者:嘉然 | GitHub: https://github.com/Jiaranbb/report-helper.
markdown-to-pdf
Convert Markdown (.md) files to a polished PDF with ALL images preserved and scaled to the page. Use whenever the user asks to "save this markdown as a PDF", "convert README.md to pdf", "export the .md as a pdf", "turn these notes/docs into a PDF", or wants a PDF deliverable of any GitHub-flavored Markdown document…
download-gated-pdfs
Download the actual PDF binary from bot-gated sites (taxpolicycenter.org, urban.org, SSRN-hosted mirrors, think-tank/publisher sites) via the Wayback Machine id URL form. Use when: (1) curl/WebFetch of a .pdf URL returns HTML instead of a PDF even with a browser User-Agent, (2) pypdf fails with "invalid pdf header…