polywise: Skill for OpenCode

.opencode/skills/edoc-generator/SKILL.md

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

A document-translation skill for converting Chinese documents into English while preserving Markdown formatting and using standard technical terms.

In plain words
What is it for?
Use it to translate Chinese Markdown documents paragraph by paragraph, align project terminology, and either replace the source file or save an English copy.
Why use it?
It avoids losing structure or technical meaning when translating project documentation and other Markdown files.

Skill for OpenCode

Written for OpenCode: installed under .opencode/.

This is MatrixAges/polywise's own configuration. It tells OpenCode how to work on polywise 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 polywise configures →

Reuse

Borrowing it

Nothing to install: this file belongs to MatrixAges/polywise. 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/MatrixAges/polywise/master/.opencode/skills/edoc-generator/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/MatrixAges/polywise

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/matrixages/polywise/edoc-generator/github.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/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 edoc-generator

Your own site · 80×15
<a href="https://agentmods.dev/skills/matrixages/polywise/edoc-generator"><img src="https://agentmods.dev/badge/skills/matrixages/polywise/edoc-generator.svg" alt="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Rogue Agent · line 21
    Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.
    Fix: Prevent the skill from modifying its own code, SKILL.md, or configuration files. Treat skill files as read-only at runtime.
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.00032 $0.00253
Opus 5.5 $0.00013 $0.00101
Sonnet 5.5 $0.00006 $0.00051
Haiku 4.5 $0.00003 $0.00025

Measured 2mo ago against content hash 949026b91495, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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/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. 2mo ago 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 (654 stars, last pushed 4mo ago), licensed MIT. It adds 32 tokens to every session and 253 once invoked, about $0.0001 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-04.

Related

edoc-generator compared with skills from other repositories

edoc-generator next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
edoc-generatorMatrixAges/polywiseSkill6544mo agoMITA32OpenCode
papyrus-latex-suggestionskirodotdev/KiroCrewSkill4.8kyesterdayApache-2.0A69Claude Code, Codex
papyrus-latex-commentskirodotdev/KiroCrewSkill4.8kyesterdayApache-2.0A70Claude Code, Codex
pptagenticip-cas/PPTAgentSkill5.2k4d agoMITA52Claude Code, Codex
docxMemTensor/memmy-agentSkill2.2kyesterdayMITA40Claude Code, Codex
co-mail-and-driveopenonion/connectonionSkill1.5kyesterdayApache-2.0A103Claude Code, Codex
pptx-makerkirodotdev/KiroCrewSkill4.8kyesterdayApache-2.0A43Claude Code, Codex