Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/tomevault-io/skills-registry --skill htr-transcription명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
| Use when this capability is needed.
> Use when this capability is needed.
Review architecture and API design for the vfs-s3 project. Use when the user mentions @architect, asks to review an issue's design, discuss module boundaries, API shape, or architectural decisions for vfs-s3. Also trigger when the user wants to create an ADR (Architecture Decision Record) or evaluate a technical approach for the project. Intended for dispatch from Codex automation or Claude routines; GitHub trigger phrase: @vfs-s3-bot please prepare design doc Use when this capability is needed.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | htr-transcription |
| description | > Use when this capability is needed. |
Transcribe handwritten historical documents using the HTRflow MCP server. Returns an interactive viewer, per-line transcription JSON, and archival exports.
htr_transcribe — Transcribe images and return result URLshtr_transcribe runs on a remote server. It can only access URLs it can
reach. Local file paths and user attachments are not accessible to the
server — you must upload them first.
The base URL is the MCP server host (e.g. https://riksarkivet-htr-demo.hf.space).
For each file:
POST the file:
curl -s -X POST "{base_url}/gradio_api/upload" \
-F "files=@filename.jpg"
Extract server path from JSON response:
["/tmp/gradio/abc123def/filename.jpg"]
Construct the image URL:
{base_url}/gradio_api/file=/tmp/gradio/abc123def/filename.jpg
Upload ALL files and collect ALL image URLs before proceeding to step 3.
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.
After transcription, present results as an inline artifact for the viewer and downloadable links for data exports.
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)
Then call present_files with /mnt/user-data/outputs/viewer.html to render
the interactive viewer as an inline artifact.
Provide the remaining URLs as clickable download links:
- Transcription data: [pages_url] (per-line JSON)
- Export: [export_url] (archival export)
Do NOT reproduce document text as plain text in your response — present the artifact and links instead.
| Value | Use when |
|---|---|
swedish | Swedish handwriting (default) |
norwegian | Norwegian handwriting |
english | English handwriting |
medieval | Medieval scripts |
| Value | Use when |
|---|---|
single_page | Single pages, snippets, cropped regions (default) |
spread | Two-page book openings (Swedish only) |
| Value | Description |
|---|---|
alto_xml | ALTO XML — standard archival (default) |
page_xml | PAGE XML — alternative archival format |
json | JSON — structured data format |
custom_yaml accepts a raw HTRflow YAML config string. Overrides
language and layout. Use only when user explicitly provides one.
Example — English modern handwriting with a custom TrOCR model:
steps:
- step: Segmentation
settings:
model: yolo
model_settings:
model: Riksarkivet/yolov9-lines-within-regions-1
- step: TextRecognition
settings:
model: TrOCR
model_settings:
model: microsoft/trocr-base-handwritten
generation_settings:
batch_size: 16
- step: OrderLines
Converted and distributed by TomeVault — claim your Tome and manage your conversions.