tencent-docs-routing

tencent-docs-routing is a skill for Claude Code, Codex from rojim666/SztuCode. It costs 162 tokens per session (4,488 once invoked), scanned A, original, MIT.

A routing guide for local Microsoft Office and WPS files, such as documents, spreadsheets, and presentations. It decides how content should be read, edited, created, or transformed.

In plain words
What is it for?
Use it when working with DOC, XLS, CSV, PPT, WPS, and related local files, or when creating a new local document, spreadsheet, or presentation.
Why use it?
It prevents file work from being sent through the wrong workflow. It also distinguishes changing a file's content from simply opening or presenting it for viewing.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit Use it when working with DOC, XLS, CSV, PPT, WPS, and related local files, or when creating a new local document, spreadsheet, or presentation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rojim666/sztucode/tencent-docs-routing
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 rojim666/SztuCode --skill tencent-docs-routing
Clone the repo
git clone --depth 1 https://github.com/rojim666/SztuCode

Made for: Claude Code, Codex.

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 tencent-docs-routing

README.md
[![agentmods](https://agentmods.dev/badge/skills/rojim666/sztucode/tencent-docs-routing/github.svg)](https://agentmods.dev/skills/rojim666/sztucode/tencent-docs-routing)
Your own site
<a href="https://agentmods.dev/skills/rojim666/sztucode/tencent-docs-routing"><img src="https://agentmods.dev/badge/skills/rojim666/sztucode/tencent-docs-routing/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 tencent-docs-routing

Your own site · 80×15
<a href="https://agentmods.dev/skills/rojim666/sztucode/tencent-docs-routing"><img src="https://agentmods.dev/badge/skills/rojim666/sztucode/tencent-docs-routing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 162 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,488 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.00162 $0.04488
Opus 5.5 $0.00065 $0.01795
Sonnet 5.5 $0.00032 $0.00898
Haiku 4.5 $0.00016 $0.00449

Measured 1mo ago against content hash 88916af3af42, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tencent-docs-routing 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 1mo 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.

packages/runtime-ts/prompts/Sztubuddy/skills/tencent-docs-routing/SKILL.md · 145 lines

How it starts

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

Local Office/WPS Routing

This is the gate you MUST read before handling local Office/WPS files — doc/docx/dot/wps/wpt, xls/xlsx/xlt/csv/tsv, or ppt/pptx/pps/pot — AND before generating/creating any new local document, spreadsheet, or presentation. This Skill only describes local file operations. It routes content work only — reading a document's content into context, editing, creating, transforming, and the like. Simply opening, previewing, or presenting a document for the user to view is the host's preview/present surface, not content work — call the host preview/present tool directly instead of routing it through this Skill.

Host document context

The host injects a <tencent_docs_editor_context> block that surfaces local documents (e.g. <active_document type="local" .../>, <local_files>). Route each surfaced document by the file-type rules below.

If the context block already injected a file_id for a document, follow the Injected file_id rule in file_id resolution.

Supported Local Formats

Use these extensions to decide whether this routing Skill applies:

Type Supported local file extensions
doc .doc .dot .wps .wpt .docx .dotx .docm .dotm
sheet .xls .xlt .xlsx .xltx .xlsm .xltm .csv .tsv
slide .ppt .pps .pot .pptx .ppsx .potx .pptm .ppsm .potm

Macro-enabled files (.docm .dotm .xlsm .xltm .pptm .ppsm .potm) can be opened as their corresponding doc/sheet/slide type, but macros are not executed. WPS-specific .et .ett .dps .dpt are not supported; ask the user to save them as .xlsx or .pptx first.

New Local File Creation

When the user asks to generate / create / produce a new document, spreadsheet, or presentation, produce a local Office/WPS-type file and route by file type.

Format classification (prerequisite step)

When the output the user requests is essentially structured textual content — such as speech scripts, talking points, copywriting, summaries, reports, or meeting minutes — always classify it as a doc first, then apply the local DOCX creation path. Do not default to Markdown or plain text. Only when the user explicitly specifies another local non-DOCX format (e.g. "generate markdown" or "plain text is fine") is this rule overridden. This rule does not affect outputs that clearly belong to sheet (e.g. "make a spreadsheet") or ppt (e.g. "make a PPT").

Read the full file on GitHub · 145 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. 1mo ago First seen · 145 lines · 162 tokens per session scan A 88916af3af42

Subscribe to this mod's changes

tencent-docs-routing is a skill published in the GitHub repository rojim666/SztuCode (110 stars, last pushed yesterday), licensed MIT. It adds 162 tokens to every session and 4,488 once invoked, about $0.0006 per session on Opus 5.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-12.

Related

Other skills, from other repositories

pptx-official

Creates, edits, inspects, and renders PowerPoint presentations (.pptx, .potx): pitch decks, executive readouts, board and training material, template fills, slide reordering or duplication, speaker notes, text and chart-data extraction, and deck-to-PDF or slide-to-image rendering. Use when a PowerPoint file is the…

evoelsewhere/evoflux · 128 tokens

docx-official

Creates, edits, inspects, and converts Microsoft Word documents (.docx, .dotx): reports, letters, memos, contracts, proposals, filled templates, tracked-change acceptance, review comments, and text, table, or metadata extraction. Use when a Word file is the deliverable or the source of record, or the user mentions…

evoelsewhere/evoflux · 124 tokens

xlsx-official

Builds, edits, cleans, and inspects spreadsheet files (.xlsx, .xltx, .csv, .tsv) when the file is the deliverable or the record being changed: financial and operating models with live formulas, formula-driven summaries, template fills, cell and row patches, messy-data repair, sheet-to-CSV or PDF export, formula…

evoelsewhere/evoflux · 151 tokens

pdf-official

Extracts text, tables, metadata, and images from PDF files; merges, splits, rotates, crops, watermarks, encrypts, compresses, and repairs them; composes new PDFs such as reports, invoices, and certificates; fills AcroForm fields or overlays values on non-fillable and scanned forms; runs OCR on scanned pages; renders…

evoelsewhere/evoflux · 146 tokens

office-annotation-edit

Applies targeted edits to the parts of a PowerPoint deck or Excel workbook a user selected in the EvoFlux document viewer: a message carrying an evoflux-annotations block names the file, the slide and its selected shapes or area, or the sheet and its selected cell range, and an instruction per annotation. Use whenever…

evoelsewhere/evoflux · 125 tokens

pptx

Create/edit/inspect/verify slide decks and PPTX presentations.

Hmbown/CodeWhale · 16 tokens