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 runxhq/runx --skill extractgit clone --depth 1 https://github.com/runxhq/runxWrote 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/runxhq/runx/extract)<a href="https://agentmods.dev/skills/runxhq/runx/extract"><img src="https://agentmods.dev/badge/skills/runxhq/runx/extract/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/runxhq/runx/extract"><img src="https://agentmods.dev/badge/skills/runxhq/runx/extract.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.00030 | $0.00996 |
| Opus 5.5 | $0.00012 | $0.00398 |
| Sonnet 5.5 | $0.00006 | $0.00199 |
| Haiku 4.5 | $0.00003 | $0.00100 |
Grade A, and why
extract 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 2d 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 — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Extract
Turn already-collected HTML, markdown or plain text into the JSON your next operation actually needs. You choose the schema and extraction objective. The skill binds the result to the exact source bytes, validates it with Runx's native JSON Schema engine and keeps quotations for each populated field.
Use it for documents, captured pages, application forms or research material that needs a typed handoff. This is a semantic extraction task: the agent reads the supplied document and proposes a value. Validation and provenance checks are deterministic; the model's interpretation is not claimed to be deterministic.
Choose an input lane
The default extract runner accepts content, source_ref, schema and
objective. Use it when web-fetch, an artifact reader or an upstream operation
has already collected the text. source_ref identifies that document or capture;
it does not trigger a network request or prove the URL is current.
from-file accepts the same fields except content, plus a workspace-relative
path and optional repo_root, path_scope and max_bytes. The default root
is the caller workspace; path_scope: skill selects the owning package root. It uses native artifact.admit and
artifact.read under fs.read authority. It requires the complete document in
one bounded UTF-8 page; a larger or partial page fails before extraction. Convert
PDFs, images or audio through the selected document/OCR/transcription capability
first. This skill does not add a file reader, scraper or provider client.
Text is bounded to one million characters for inline input and one million bytes for a file read. The schema is a self-contained JSON Schema 2020-12, at most 256 KiB. External schema retrieval is disabled. Standard JSON Schema format keywords are annotations; a format-specific business rule needs its own check.
Procedure and proof
- Compile the caller's schema before asking an agent to extract anything.
- Digest the exact text as UTF-8.
- Extract one JSON value to the supplied schema and objective. Record missing fields and source quotations using JSON Pointers into the proposed value.
- Validate the value through native
data.validate, including nested arrays, string lengths, numeric bounds and local schema references. - Check that every populated scalar has a quotation present in the exact input,
and that each cited pointer names an actual populated field. JSON Pointer
escapes use
~0for~and~1for/. - Return
readyonly when schema and quotation checks pass. Otherwise returnheldwithvalue: nulland the failed checks. The sealed receipt retains what was proposed; do not treat a held result as usable extracted data.
What ships with it
12 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.
- extract.mjs 1.7 KB runs code
- fixtures/composes-in-graph.yaml 461 B
- fixtures/invoice.txt 51 B
- fixtures/rfc9110-http-semantics.html 1165 KB
- fixtures/support/composed.graph 649 B
- mark.svg 501 B
- package.json 198 B
- references/catalog.md 198 B
- references/mark-license.md 3.1 KB
- run.yaml 15 KB
- tools/structured/extract/manifest.json 1.2 KB
- tools/structured/extract/run.mjs 14 KB runs code
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.
- 2d ago Changed · -69 lines · +12 tokens per session b737d7ae1350
- 6d ago Changed · -1 lines 020f114d72bf
- 8d ago Changed · -5 lines 19ab7cce7424
- 1mo ago First seen · 158 lines · 18 tokens per session scan A 5e4b7c095b71
extract is a skill published in the GitHub repository runxhq/runx (103 stars, last pushed today), licensed Apache-2.0. It adds 30 tokens to every session and 996 once invoked, about $0.0001 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-09-03.
Other skills, from other repositories
feishu
Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.
Read, extract, split, merge, rotate, watermark, fill, OCR, or create PDF files with verification of page counts and text extraction.
docx
Create/edit/inspect Word documents using available managed or host capabilities.
pptx
Create/edit/inspect/verify slide decks and PPTX presentations.
xlsx
Create/edit/analyze/verify spreadsheet workbooks including XLSX/CSV/TSV.
spreadsheets
Compatibility alias for the xlsx skill. Prefer loading xlsx.