view-document-guide

view-document-guide is a skill for Claude Code, Codex from AI-Riksarkivet/ra-mcp. It costs 58 tokens per session (2,112 once invoked), scanned A, original, Apache-2.0.

A skill for opening and visually inspecting digitized archive documents in an interactive viewer. It supports Riksarkivet references, IIIF manifests, or direct image and text-layer URLs.

In plain words
What is it for?
Viewing archive pages, retrieving selected pages, highlighting search terms, and inspecting text layers when available.
Why use it?
It provides zooming, page navigation, text overlays, search, and fullscreen viewing instead of relying on raw document links.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Part of the ra-mcp-tools plugin — 8 skills shipped together

Good fit Viewing archive pages, retrieving selected pages, highlighting search terms, and inspecting text layers when available.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ai-riksarkivet/ra-mcp/view-document-guide
Install

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.

Any agent
npx skills add AI-Riksarkivet/ra-mcp --skill view-document-guide
Clone the repo
git clone --depth 1 https://github.com/AI-Riksarkivet/ra-mcp

Made for: Claude Code, Codex.

Or install ra-mcp-tools, the plugin that ships this one along with the rest of its 8 skills.

Wrote 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.

agentmods badge for view-document-guide

README.md
[![agentmods](https://agentmods.dev/badge/skills/ai-riksarkivet/ra-mcp/view-document-guide.svg)](https://agentmods.dev/skills/ai-riksarkivet/ra-mcp/view-document-guide)
Your own site
<a href="https://agentmods.dev/skills/ai-riksarkivet/ra-mcp/view-document-guide"><img src="https://agentmods.dev/badge/skills/ai-riksarkivet/ra-mcp/view-document-guide.svg" alt="Measured on agentmods" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,112 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00058 $0.02112
Opus 5 $0.00029 $0.01056
Sonnet 5 $0.00012 $0.00422
Haiku 4.5 $0.00006 $0.00211

Measured 8d ago against content hash 1408f7539f2b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

view-document-guide 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 8d 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.

plugins/ra-mcp-tools/skills/view-document-guide/SKILL.md · 215 lines

How it starts

The opening of the file, as written. The whole thing — 215 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Document Viewer Tools

Three tools open the interactive document viewer. Choose based on what you have:

Tool When to use
view_document You have a Riksarkivet reference code (e.g. from search results)
view_manifest You have a IIIF manifest URL (e.g. from SDHK/MPO search or any IIIF source)
view_document_urls You already have raw image URLs and text layer XML URLs

All tools render the same interactive viewer with zoomable images, text-layer overlays (when ALTO XML is available), search, info panel, and fullscreen.


view_document — From Reference Code

Resolves a Riksarkivet reference code into IIIF image URLs and ALTO XML text layers automatically via BrowseOperations.

Required Arguments

Argument Type Description
reference_code string Archive reference code (e.g. "SE/RA/420422/01")
pages string Page spec: "5", "1-10", or "5,7,9"

Optional Arguments

Argument Type Default Description
highlight_term string null Pre-populate search bar and highlight matches
max_pages int 20 Maximum pages to retrieve (max: 20)

Examples

{"reference_code": "SE/RA/420422/01", "pages": "7"}
{"reference_code": "SE/RA/420422/01", "pages": "1-10", "highlight_term": "Stockholm"}
{"reference_code": "SE/RA/310187/1", "pages": "5,7,9"}

view_manifest — From IIIF Manifest URL

Fetches a IIIF manifest, extracts page images and ALTO text layers (from seeAlso), and opens the viewer. Works with any IIIF Presentation API v3 manifest — Riksarkivet, Wellcome Collection, or other providers.

Required Arguments

Argument Type Description
manifest_url string Full IIIF manifest URL

Optional Arguments

Argument Type Default Description
highlight_term string null Pre-populate search bar and highlight matches
max_pages int 20 Maximum pages to load (max: 20)

Read the full file on GitHub · 215 lines

Changes

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.

  1. 8d ago First seen · 215 lines · 58 tokens per session scan A 1408f7539f2b

Subscribe to this mod's changes

view-document-guide is a skill published in the GitHub repository AI-Riksarkivet/ra-mcp (21 stars, last pushed today), licensed Apache-2.0. It adds 58 tokens to every session and 2,112 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.

Related

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.…

Wide-Moat/open-computer-use · 77 tokens

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…

Wide-Moat/open-computer-use · 115 tokens

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…

Wide-Moat/open-computer-use · 96 tokens

pdf

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.

Wide-Moat/open-computer-use · 50 tokens

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.

Wide-Moat/open-computer-use · 62 tokens

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…

Wide-Moat/open-computer-use · 78 tokens