open-TH

open-TH is a command for coding agents from WARROOM-CEO/CORE. It costs 0 tokens per session (492 once invoked), scanned A, original, MIT.

A command for opening a PDF in an interactive viewer, so you can see its pages and work with the document visually. It accepts local files, arXiv links, and direct HTTPS PDF links.

In plain words
What is it for?
Use it to inspect contracts, reports, forms, and academic papers, then continue with highlighting, notes, form filling, or other visual review.
Why use it?
It helps when reading the document means looking at its layout, images, or form fields rather than only extracting text.

Command

Part of the pdf-viewer plugin — 1 skill, 8 commands shipped together

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.

agentmods
npx agentmods add commands/warroom-ceo/core/open-th
Clone the repo
git clone --depth 1 https://github.com/WARROOM-CEO/CORE

Or install pdf-viewer, the plugin that ships this one along with the rest of its 1 skill, 8 commands.

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 open-TH

README.md
[![agentmods](https://agentmods.dev/badge/commands/warroom-ceo/core/open-th.svg)](https://agentmods.dev/commands/warroom-ceo/core/open-th)
Your own site
<a href="https://agentmods.dev/commands/warroom-ceo/core/open-th"><img src="https://agentmods.dev/badge/commands/warroom-ceo/core/open-th.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 492 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00492
Opus 5 $0.00000 $0.00246
Sonnet 5 $0.00000 $0.00098
Haiku 4.5 $0.00000 $0.00049

Measured yesterday against content hash 84c5a443cc56, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

open-TH 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 yesterday.

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/pdf-viewer/commands/open-TH.md · 52 lines

What it actually says

เปิด PDF (/pdf-viewer:open)

เปิด PDF ในตัวแสดงผลแบบโต้ตอบ


คำสั่งนี้ทำอะไร?

แสดงเอกสาร PDF ในตัวแสดงผลสด ใช้เมื่อคุณต้องการ เห็น เอกสาร — ไม่ใช่แค่ดึงข้อความออกมา


วิธีใช้

/pdf-viewer:open
/pdf-viewer:open [path หรือ URL ของไฟล์ PDF]

ขั้นตอนการทำงาน

  1. ถ้าคุณระบุ URL หรือ path — Claude จะเปิด PDF ในตัวแสดงผลสด
  2. ถ้าไม่ได้ระบุ path — Claude จะแสดงรายการ PDF ที่มีให้เลือกก่อน
  3. หลังเปิดแล้ว Claude จะเสนอขั้นตอนถัดไปตามประเภทเอกสาร:
    • สัญญา / รายงาน → "ต้องการให้ฉัน highlight ส่วนสำคัญหรือเพิ่มหมายเหตุตรวจสอบไหม?"
    • แบบฟอร์ม → "มีช่องกรอกได้ — ต้องการให้ฉันช่วยกรอกไหม?"
    • บทความวิชาการ → "ต้องการให้ฉันเดินทางผ่านและอธิบายประกอบผลการค้นพบสำคัญไหม?"

แหล่ง PDF ที่รองรับ

แหล่ง รายละเอียด
ไฟล์ local path ไฟล์หรือลากวางเข้า working directory
arXiv URL รูปแบบ arxiv.org/abs/... แปลงเป็น PDF อัตโนมัติ
HTTPS PDF URL bioRxiv, Zenodo, OSF ฯลฯ — ใช้ link PDF ตรง ไม่ใช่หน้า landing page

เมื่อไหร่ที่ไม่ควรใช้คำสั่งนี้

ถ้าคุณต้องการเพียง สรุปหรือดึงข้อความ จาก PDF — ไม่ต้องใช้ตัวแสดงผล Claude อ่าน PDF โดยตรงได้เร็วกว่าสำหรับการดึงข้อมูล

ตัวแสดงผลเหมาะสำหรับ workflow แบบโต้ตอบและภาพ — ดู ทำเครื่องหมาย และ download ไฟล์ที่แก้ไขแล้ว


ดู CONNECTORS-TH.md สำหรับข้อมูลการเชื่อมต่อเครื่องมือ

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. yesterday First seen · 52 lines · 0 tokens per session scan A 84c5a443cc56

Subscribe to this mod's changes

open-TH is a command published in the GitHub repository WARROOM-CEO/CORE (30 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 492 tokens. 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.