edoc-generator

edoc-generator is a skill for Claude Code, Codex from MatrixAges/polywise. It costs 32 tokens per session (253 once invoked), scanned A, original, MIT.

Specialized for translating document files and their content into English. Triggered when localization, translation, or converting Chinese documents to English is requested.

Skill for Claude CodeCodex

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 skills/matrixages/polywise/edoc-generator
Any agent
npx skills add MatrixAges/polywise --skill edoc-generator
Clone the repo
git clone --depth 1 https://github.com/MatrixAges/polywise

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 edoc-generator

README.md
[![agentmods](https://agentmods.dev/badge/skills/matrixages/polywise/edoc-generator.svg)](https://agentmods.dev/skills/matrixages/polywise/edoc-generator)
Your own site
<a href="https://agentmods.dev/skills/matrixages/polywise/edoc-generator"><img src="https://agentmods.dev/badge/skills/matrixages/polywise/edoc-generator.svg" alt="Measured on agentmods" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 253 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.00032 $0.00253
Opus 5 $0.00016 $0.00127
Sonnet 5 $0.00006 $0.00051
Haiku 4.5 $0.00003 $0.00025

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

Security

Grade A, and why

edoc-generator 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 today.

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/skills/edoc-generator/SKILL.md · 22 lines

What it actually says

English Doc Generator

This skill is specialized for Chinese-English translation and conversion of documents in the project.

1. Translation Guidelines

  • Accuracy: Must accurately convey the technical meaning of the original Chinese document.
  • Professional Terminology: For technical terms (such as Agent, Prompt, Context, Dependency Injection, etc.), industry-standard English terms must be used.
  • Markdown Format: After translation, the original Markdown format must be strictly maintained (including code blocks, bold, lists, links, etc.).

2. Execution Flow

  1. Read Original: Read the user-specified Chinese .md document.
  2. Terminology Alignment: Check if the document contains project-specific abbreviations or codes, and decide their English translation strategy.
  3. Paragraph-by-Paragraph Translation: Convert content to English with appropriate localization polish.
  4. Overwrite or Save As: Based on user's specific requirements, overwrite the original file with English content or save as a new file (e.g., README_EN.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. today First seen · 22 lines · 32 tokens per session scan A 949026b91495

Subscribe to this mod's changes

edoc-generator is a skill published in the GitHub repository MatrixAges/polywise (659 stars, last pushed 2mo ago), licensed MIT. It adds 32 tokens to every session and 253 once invoked, about $0.0002 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-04.

Related

Other skills, from other repositories

co-mail-and-drive

Read and send mail from the user's own Gmail or Outlook account, send from the agent's own address, manage their Outlook contacts, and list/search/download/upload their Google Drive files — with co gmail, co outlook, co email, and co gdrive. Use when the user asks about their inbox, an email they received or want to…

openonion/connectonion · 90 tokens

pptx-maker

Generate or restyle a PowerPoint deck. Use when the user wants to create or edit a .pptx presentation, build slides from text or a URL, or design a reusable slide style.

kirodotdev/KiroCrew · 43 tokens

store-listing-localizer

Automate Microsoft Store (Partner Center) listing localization for Intelligent Terminal (Store ID 9NMQC2SSJX24). Use when asked to export/import Store listings, localize release notes / descriptions / captions / features into 80+ languages, update listingData CSV, or push Store listing translations without manually…

microsoft/intelligent-terminal · 97 tokens

speech-to-text

Transcribe audio to text using ElevenLabs Scribe v2. Use when converting audio/video to text, generating subtitles, transcribing meetings, or processing spoken content.

calesthio/OpenMontage · 37 tokens

document-converter

Convert documents bidirectionally via the pi-doc-engine facade: ingest PDF/DOCX/PPTX/XLSX to provenance-stamped Markdown (with OCR), and produce templated DOCX/PDF from Markdown with diagrams, TOC and round-trip merge. Use on "convert this PDF to markdown", "ingest these docs into kb", "make a DOCX from markdown with…

BlackBeltTechnology/pi-agent-dashboard · 97 tokens

yida-formula

宜搭表单公式编写规范,包含 60+ 内置函数速查、语法规则和常见场景示例。适用于编写表单字段公式、校验规则和计算逻辑时。.

openyida/openyida · 53 tokens