Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add AI-Riksarkivet/ra-mcp/plugin install ra-mcp-toolsWrote 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/ai-riksarkivet/ra-mcp/htr-transcription)<a href="https://agentmods.dev/skills/ai-riksarkivet/ra-mcp/htr-transcription"><img src="https://agentmods.dev/badge/skills/ai-riksarkivet/ra-mcp/htr-transcription/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/ai-riksarkivet/ra-mcp/htr-transcription"><img src="https://agentmods.dev/badge/skills/ai-riksarkivet/ra-mcp/htr-transcription.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.00055 | $0.01043 |
| Opus 5 | $0.00028 | $0.00522 |
| Sonnet 5 | $0.00011 | $0.00209 |
| Haiku 4.5 | $0.00006 | $0.00104 |
Grade A, and why
htr-transcription scanned grade A with 1 finding 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 12d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -sL "{viewer_url}" -o /home/claude/viewer.html How it starts
The opening of the file, as written. The whole thing — 139 lines — stays where its author put it; the contents beside it link to each section on GitHub.
HTR Transcription
Transcribe handwritten historical documents using the HTRflow MCP server. Returns an interactive viewer, per-line transcription JSON, and archival exports.
Tools
htr_transcribe— Transcribe images and return result URLs
Workflow
1. Determine image source
- http/https URLs (IIIF links, public image URLs): Use directly — skip to step 2.
- Local files or attachments: Must be uploaded first. Use the
/upload-filesskill, then continue to step 2.
2. Transcribe
Call htr_transcribe once with ALL image URLs in a single call.
Batching rule: Never call htr_transcribe multiple times for separate
images. Each call runs an expensive GPU pipeline — batch everything.
3. Present results
After transcription, present results as an inline artifact for the viewer and downloadable links for data exports.
4a. Inline viewer artifact
Download the viewer HTML, then inline all external dependencies (OpenSeadragon JS and images) so the artifact is fully self-contained (the artifact sandbox blocks external requests).
curl -sL "{viewer_url}" -o /home/claude/viewer.html
Then run this Python script to embed dependencies:
import re, base64, urllib.request
with open("/home/claude/viewer.html", "r") as f:
html = f.read()
# Inline OpenSeadragon JS (CDN script -> inline script)
osd_match = re.search(r'<script src="(https://cdn[^"]+openseadragon[^"]+)">\s*</script>', html)
if osd_match:
with urllib.request.urlopen(osd_match.group(1)) as resp:
osd_js = resp.read().decode()
html = html.replace(osd_match.group(0), f"<script>{osd_js}</script>")
# Embed all Gradio image URLs as base64 data URIs
for url in set(re.findall(
r'https://riksarkivet-htr-demo\.hf\.space/gradio_api/file=[^\s"]+\.(?:jpg|png)', html
)):
with urllib.request.urlopen(url) as resp:
img_data = resp.read()
ext = "jpeg" if url.endswith(".jpg") else "png"
data_uri = f"data:image/{ext};base64,{base64.b64encode(img_data).decode()}"
html = html.replace(url, data_uri)
with open("/mnt/user-data/outputs/viewer.html", "w") as f:
f.write(html)
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.
- 12d ago First seen · 139 lines · 55 tokens per session scan A 4699a41dd78d
htr-transcription is a skill published in the GitHub repository AI-Riksarkivet/ra-mcp (23 stars, last pushed 2d ago), licensed Apache-2.0. It adds 55 tokens to every session and 1,043 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers.…
xlsx
Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Assistant needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2) Reading or analyzing data, (3) Modify…
pdf-reading
Use this skill when you need to read, inspect, or extract content from PDF files — especially when file content is NOT in your context and you need to read it from disk. Covers content inventory, text extraction, page rasterization for visual inspection, embedded image/attachment/table/form-field extraction, and…
Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. When Assistant needs to fill in a PDF form or programmatically process, generate, or analyze PDF documents at scale.
pptx
Presentation creation, editing, and analysis. When Assistant needs to work with presentations (.pptx files) for: (1) Creating new presentations, (2) Modifying or editing content, (3) Working with layouts, (4) Adding comments or speaker notes, or any other presentation tasks.
docx
Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction. When the Assistant needs to work with professional documents (.docx files) for: (1) Creating new documents, (2) Modifying or editing content, (3) Working with tracked…