pdf-reader-mcp: Command for OpenCode

.opencode/command/saas-i18n.md

saas-i18n is a command for OpenCode from SylphxAI/pdf-reader-mcp. It costs 23 tokens per session (567 once invoked), scanned A, original, MIT.

A review command for checking internationalized websites, meaning sites that support multiple languages and regions. It examines locale support, URL routing, canonical URLs, hreflang, translations, and user-generated content.

In plain words
What is it for?
Use it to review multilingual SaaS routing and SEO behavior across the listed locales, including date, number, and currency formatting rules.
Why use it?
It finds inconsistent language URLs, duplicate pages, missing translations, and search-engine signals that can cause localization or indexing problems.

Command for OpenCode

Written for OpenCode: installed under .opencode/. Also seen: agent in frontmatter.

This is SylphxAI/pdf-reader-mcp's own configuration. It tells OpenCode how to work on pdf-reader-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything pdf-reader-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to SylphxAI/pdf-reader-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/SylphxAI/pdf-reader-mcp/main/.opencode/command/saas-i18n.md
Clone the repo
git clone --depth 1 https://github.com/SylphxAI/pdf-reader-mcp

Made for: OpenCode.

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 saas-i18n

README.md
[![agentmods](https://agentmods.dev/badge/commands/sylphxai/pdf-reader-mcp/saas-i18n/github.svg)](https://agentmods.dev/commands/sylphxai/pdf-reader-mcp/saas-i18n)
Your own site
<a href="https://agentmods.dev/commands/sylphxai/pdf-reader-mcp/saas-i18n"><img src="https://agentmods.dev/badge/commands/sylphxai/pdf-reader-mcp/saas-i18n/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.

agentmods 80×15 button for saas-i18n

Your own site · 80×15
<a href="https://agentmods.dev/commands/sylphxai/pdf-reader-mcp/saas-i18n"><img src="https://agentmods.dev/badge/commands/sylphxai/pdf-reader-mcp/saas-i18n.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 567 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.
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.00023 $0.00567
Opus 5 $0.00012 $0.00283
Sonnet 5 $0.00005 $0.00113
Haiku 4.5 $0.00002 $0.00057

Measured 4d ago against content hash 9f989226a3fb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

saas-i18n 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.

.opencode/command/saas-i18n.md · 67 lines

How it starts

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

Internationalization & Routing Review

Scope

Review internationalization systems: locale support, URL routing strategy, canonicalization, hreflang implementation, and UGC handling across languages.

Specification

Supported Locales

en, zh-Hans, zh-Hant, es, ja, ko, de, fr, pt-BR, it, nl, pl, tr, id, th, vi

URL Strategy: Prefix Except Default

  • English is default and non-prefixed.
  • /en/* must not exist; permanently redirect to non-prefixed equivalent.
  • All non-default locales are /<locale>/....

Globalization Rules

  • Use Intl APIs for formatting (dates, numbers, currencies).
  • Explicit fallback rules for missing translations.
  • Missing translation keys must fail build — no silent fallbacks in production.
  • No hardcoded user-facing strings outside localization system.

UGC Canonicalization

  • Separate UI language from content language.
  • Exactly one canonical URL per UGC resource determined by content language.
  • No indexable locale-prefixed duplicates unless primary content is truly localized; otherwise redirect to canonical.
  • Canonical/hreflang/sitemap must reflect only true localized variants.

SEO Requirements

  • hreflang tags with x-default pointing to non-prefixed (English) version.
  • sitemap.xml containing only true localized variants.
  • Canonical URLs properly set per page.
  • No duplicate content across locale paths.

Domain Discovery

After reviewing compliance with spec, explore improvements:

  • Market expansion: Are high-value markets missing? (e.g., Arabic RTL, Hindi)
  • Translation quality: Are translations professional or machine-generated? User complaints?
  • Locale detection: Is auto-detection helpful or annoying? Is manual switching easy?
  • Regional pricing: Does i18n support regional pricing display? Currency localization?
  • Legal localization: Are terms/privacy properly localized per jurisdiction?
  • Date/time handling: Timezone-aware displays? User preference respected?

Read the full file on GitHub · 67 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. 4d ago First seen · 67 lines · 23 tokens per session scan A 9f989226a3fb

Subscribe to this mod's changes

saas-i18n is a command published in the GitHub repository SylphxAI/pdf-reader-mcp (921 stars, last pushed 3d ago), licensed MIT. It adds 23 tokens to every session and 567 once invoked, about $0.0001 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-09-06.

Related

Other commands, from other repositories

localization-check

Vérification des Traductions.

TheBeardedBearSAS/claude-craft · 6 tokens

brief-compliance-check

Check a LaTeX coursework submission against the requirements in a supplied PDF assessment brief. Use when verifying format, required sections, word limits, or deliverables before submission. Not for general prose proofreading; use $proofread.

flonat/flonat-research · 45 tokens

insights-deck

Archive an exported Claude Code insights HTML report and turn it into a timestamped Beamer presentation usable from either client. Use when the insights export is the source artifact for a presentation. Not for a general research talk; use $talk-deck.

flonat/flonat-research · 49 tokens

latex-polish

Inspect a cleanly compiling LaTeX document for source pathologies and rendered visual defects by linting and viewing selected PDF pages. Use when compilation succeeds but title pages, floats, tables, figures, or layout still need publication-quality review. Not for basic compilation health; use $latex-health-check.

flonat/flonat-research · 60 tokens

latex

Compile one specified LaTeX document, resolve build errors, audit citations, and report build quality. Use when a .tex source must be built or a concrete compilation failure repaired. Not for corpus-wide build checks, visual polish after a clean build, or creating a project; use $latex-health-check, $latex-polish, or…

flonat/flonat-research · 72 tokens

bib-filter

Filter a LaTeX project's bibliography to the entries actually cited, with Overleaf-source resolution, temporary staging, validation, approval-gated canonical replacement, and compilation. Use before submission or after large revisions.

flonat/flonat-research · 41 tokens