Cuimao Translator
Cuimao777/cuimao-translator
Translate English PDF books into natural Chinese with three quality modes.
Extract, structure, and quality-check evidence from registered source objects.
$ npx skills add scholay/skills --skill corpus-building -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install scholay/skills corpus-building --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/scholay/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/corpus-building .claude/skills/corpus-building && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "corpus-building" agent skill from https://github.com/scholay/skills/tree/main/corpus-building into .claude/skills/corpus-building/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "corpus-building", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/scholay/skills/tree/main/corpus-buildingType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add scholay/skills --skill corpus-building -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install scholay/skills corpus-building --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/scholay/skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/corpus-building .agents/skills/corpus-building && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "corpus-building" agent skill from https://github.com/scholay/skills/tree/main/corpus-building into .agents/skills/corpus-building/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "corpus-building", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add scholay/skills --skill corpus-building -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install scholay/skills corpus-building --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/scholay/skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/corpus-building .cursor/skills/corpus-building && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "corpus-building" agent skill from https://github.com/scholay/skills/tree/main/corpus-building into .cursor/skills/corpus-building/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "corpus-building", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/scholay/skills.git --path corpus-building--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add scholay/skills --skill corpus-building -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install scholay/skills corpus-building --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/scholay/skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/corpus-building .gemini/skills/corpus-building && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "corpus-building" agent skill from https://github.com/scholay/skills/tree/main/corpus-building into .gemini/skills/corpus-building/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "corpus-building", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install scholay/skills corpus-buildingInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add scholay/skills --skill corpus-building -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/scholay/skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/corpus-building .github/skills/corpus-building && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "corpus-building" agent skill from https://github.com/scholay/skills/tree/main/corpus-building into .github/skills/corpus-building/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "corpus-building", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add scholay/skills --skill corpus-building -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install scholay/skills corpus-building --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/scholay/skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/corpus-building .opencode/skills/corpus-building && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "corpus-building" agent skill from https://github.com/scholay/skills/tree/main/corpus-building into .opencode/skills/corpus-building/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "corpus-building", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
corpus-buildingExtract, structure, and quality-check evidence from registered source objects.
Corpus Building is an agent skill from scholay/skills. Extract, structure, and quality-check evidence from registered source objects. Use when converting processed documents into searchable evidence cards, managing OCR and translation layers, running quality scoring, handling noise and recovery, or maintaining a corpus index.
Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `references/ocr-noise.md`, `references/quality-scoring.md` and `references/slice-schema.md`).
It sits in Writing & Content, covering Translation. The repository describes itself as: Open academic AI skills maintained by Scholay. The licence is MIT.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit cd61bd9. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Corpus Building loads about 1.5k tokens when it runs, and up to ~4k if it reads all its reference files. Until then it costs about 72 tokens; SKILL.md has 811 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from scholay/skills at commit cd61bd9, republished under its MIT licence (© scholay). 811 words, ~1,525 tokens.
.claude/skills/corpus-building/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.A folder of PDFs is not a corpus. A corpus is a collection of addressable evidence units — each one traceable to a specific page of a specific source, with enough context to be used in writing without reopening the original document.
This skill covers the full path from source object to evidence card, including OCR, translation, quality scoring, and the noise problems that appear at scale.
Source card — one record per registered source. Holds metadata, processing status, and links to all derived evidence.
Text slice — one evidence unit extracted from a specific page range of a source. Stores the original text, cleaned OCR text, and working translation as separate layers. Never collapses them.
Image slice — one image evidence unit (a page scan, figure, plan, photograph, table, or diagram). Stores file path, description, and status.
The separation rule: a slice stores what the source says. AI annotations store what AI thinks about the slice. Do not mix them.
Before creating any slices, create a source card for the registered source object. Minimum fields: source ID, title, language, file path, topics, status fields for OCR and translation.
For each source, generate per-page text output.
Default path: use a local OCR engine (Tesseract or equivalent). For multilingual documents, set the language pack explicitly — running an incorrect language pack produces script-mismatch noise, not just bad quality.
Cloud OCR path (optional): use a cloud OCR API for higher fidelity on difficult scans. Reserve this for pages that local OCR consistently fails on, not as a default for all sources.
Output per page: raw OCR text file. Keep raw output separate from any cleaned version.
For each page (or logical text unit), create a text slice card with:
SLC-####-T###)For each page image, create a baseline image slice card with:
SLC-####-I###)On image descriptions: use a multimodal model to inspect the actual image pixels. Do not use OCR output as a substitute for visual inspection. Label OCR-derived descriptions as ocr_assisted_draft — they are lower trust than a genuine visual description.
After slicing, score each page on:
Assign a triage priority:
P1 — likely broken; inspect immediately before usingP2 — needs review; often image-heavy or missing translationP3 — usable but worth spot-checkingOK — acceptable for browsingCalibrate before scaling: after your first new source type, inspect all P1 pages plus a sample of P2 and OK. If the scoring looks wrong, fix the scorer before running 50 more sources.
At scale, some pages will have OCR artifacts severe enough to quarantine:
Before bulk quarantine, sample the flagged pages visually. Common false positives:
…………) — readable, just unusualFor genuinely noisy pages, mark them excluded and log them in a blocked pages list with a reason code. Revisit after fixing the underlying cause (wrong language pack, poor scan quality, etc.) rather than leaving them permanently blocked.
After every batch, validate that:
Rebuild any downstream views (app data, search indexes) from the validated corpus, not from cached state.
OCR status: not_started / in_progress / raw_ocr / cleaned / verified / blocked / not_needed
Translation status: not_started / machine_draft / agent_draft / pending_translation / reviewed / quote_ready / blocked / not_needed
Verification status: draft / checked / reviewed
Image description status: not_started / ocr_assisted_draft / visual_draft / reviewed / caption_ready
references/slice-schema.md for required fields, status vocabulary, and granularity rules.references/quality-scoring.md for triage priority semantics, risk tags, and calibration guidance.references/ocr-noise.md for common noise patterns, false-positive quarantine risks, and recovery steps.© scholay, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 3 other files (references) in corpus-building of scholay/skills.
Open the folder on GitHubat commit cd61bd9
Corpus Building next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Corpus Building this skillscholay/skills | 141 | — | ~1.5k | Automated safety check: Pass | MIT | |
| Cuimao TranslatorCuimao777/cuimao-translator | 486 | — | ~3.2k | Automated safety check: Pass | None | |
| Nature-Style Academic PolishingYuan1z0825/nature-skills | 47k | — | ~1.5k | Automated safety check: Pass | Apache-2.0 | |
| Visa Doc Translateaffaan-m/ECC | 276k | 4 repos | ~1k | Automated safety check: Pass | MIT | |
| Fantasia Locale Translations Inputvishiri/fantasia-archive | 409 | — | ~1.1k | Automated safety check: Pass | GPL-3.0 | |
| Translation Diff ExportDevolutions/UniGetUI | 26k | — | ~1.1k | Automated safety check: Pass | MIT |
Cuimao777/cuimao-translator
Translate English PDF books into natural Chinese with three quality modes.
Yuan1z0825/nature-skills
Polishes, translates or tightens existing academic prose and fixes manuscript LaTeX layout while keeping facts, terminology and evidence boundaries intact.
affaan-m/ECC
Translate visa document images (bank deposit, employment, income, and retirement certificates; HEIC, PNG, or JPG) into English via OCR and produce a bilingual PDF pairing the original image with a…
vishiri/fantasia-archive
FaLocaleTranslationsInput element and per-locale string maps for Project Settings world names, document template titles, world appendix, layout group names, and placement nicknames.
Devolutions/UniGetUI
Compares UniGetUI JSON locale files against English, identifies untranslated or source-changed keys, and generates patch, reference, and handoff files for a target language.
symfony/symfony
Synchronize translation catalogs across maintained Symfony branches: find messages that newer branches added to the English catalogs but that are still missing from the oldest maintained branch…
scholay/skills
Assess and promote corpus slices toward citation readiness. An agent skill from scholay/skills.
scholay/skills
Systematically discover and shortlist academic literature for a research project.
scholay/skills
Draft and maintain academic papers from verified corpus evidence, manage bibliography, and produce output in any target format.
scholay/skills
Organize, classify, and register raw research materials into a stable, trackable source layer.
Categories
Extract, structure, and quality-check evidence from registered source objects. Corpus Building is an agent skill from scholay/skills. Extract, structure, and quality-check evidence from registered source objects.
Corpus Building fits situations like: converting processed documents into searchable evidence cards; managing OCR and translation layers; running quality scoring; handling noise and recovery.
Run `npx skills add scholay/skills --skill corpus-building -a claude-code`. Or copy the skill folder (corpus-building in scholay/skills) into .claude/skills/corpus-building in your project. Claude Code loads it when a task matches its description.
Run `npx skills add scholay/skills --skill corpus-building -a codex`. Or copy the skill folder (corpus-building in scholay/skills) into .agents/skills/corpus-building in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add scholay/skills --skill corpus-building -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/corpus-building, .gemini/skills/corpus-building, .github/skills/corpus-building and .opencode/skills/corpus-building in your project.
SKILL.md names no scripts, command-line tools or credentials: Corpus Building is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Corpus Building is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.5k tokens (SKILL.md is roughly 6.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.5k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Corpus Building: Cuimao Translator (Cuimao777/cuimao-translator, 486 stars), Nature-Style Academic Polishing (Yuan1z0825/nature-skills, 47k stars), Visa Doc Translate (affaan-m/ECC, 276k stars) and Fantasia Locale Translations Input (vishiri/fantasia-archive, 409 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
scholay (a GitHub user) maintains it in scholay/skills, which has 141 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on June 17, 2026.
Source: scholay/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.