alego: Skill for Claude Code

.agents/skills/alego-translate-docs/SKILL.md

alego-translate-docs is a skill for Claude Code, Codex from singula-ai/alego. It costs 36 tokens per session (2,312 once invoked), scanned A, a copy of dsh-translate-docs, MIT.

A guided workflow for translating paired documents between two languages and keeping both versions aligned. It covers full-document translation, shorter updates, and checks that the two versions still match.

In plain words
What is it for?
Use it for bilingual Markdown files such as an English document and its Chinese counterpart. It helps create translation briefings, delegate prose translation, translate complete documents, and verify matching sections.
Why use it?
It prevents translated documents from drifting apart or losing carefully reviewed wording. It also makes small changes without unnecessarily retranslating the whole document.

Skill for Claude CodeCodex

Written for Claude Code and Codex: disable-model-invocation in frontmatter, but also agents/openai.yaml present. Also seen: mentions subagents; installed under .agents/ (shared by several agents); mentions AGENTS.md.

This is singula-ai/alego's own configuration. It tells Claude Code and Codex how to work on alego 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 alego configures →

Reuse

Borrowing it

Nothing to install: this file belongs to singula-ai/alego. 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/singula-ai/alego/main/.agents/skills/alego-translate-docs/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/singula-ai/alego

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 alego-translate-docs

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/singula-ai/alego/alego-translate-docs"><img src="https://agentmods.dev/badge/skills/singula-ai/alego/alego-translate-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,312 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 95% copy Near-identical to another mod 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.00036 $0.02312
Opus 5 $0.00018 $0.01156
Sonnet 5 $0.00007 $0.00462
Haiku 4.5 $0.00004 $0.00231

Measured 9d ago against content hash eccbd34b5245, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

alego-translate-docs 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 9d 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.

Origin

This is a copy

95% identical to dsh-translate-docs — 16 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/alego-translate-docs/SKILL.md · 75 lines

How it starts

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

Translating Alego docs

Invocation boundary

Run this extended workflow only when the user explicitly invokes alego-translate-docs by name. Never select or load it for ordinary documentation work, from another skill, or from an inferred translation need; routine translation follows the one-shot, one-pass rule in docs/AGENTS.md.

What this skill is

This skill is guidance, not a translation memory. It is the workflow map for keeping foo.md ↔ foo.zh.md pairs consistent and natural in both languages. Both languages carry equal authority — a change is authored in either one, and that side is the source for that update. You are the translator: the rules below say what must hold, not how to phrase any particular sentence — phrasing judgment is yours, terminology is not.

Triage by change type — this decides everything else

  • Update (pair exists, one side edited): follow the update path. It is briefing-driven and deliberately cheap: no guidance-corpus reading, no git archaeology, smallest counterpart edit. Never re-translate a whole document to apply an update — a minimal update preserves the reviewed phrasing of everything that didn't change; a re-translation throws that review away.
  • New pair (no counterpart yet): follow the whole-document path.
  • Deleted or renamed doc: delete or rename the counterpart and the .i18n.yaml alongside it — the gate reports an incomplete pair otherwise.

Frozen Agent Notes under .agents/notes/archived/ are not translation work. Their complete triplets are sealed by the archive verifier; never update, re-record, or repair either side after archival.

The update path (briefing-driven)

The briefing-driven path matches guidance-corpus quality at a fraction of the cost; the briefed-updates Agent Note owns the benchmark evidence.

Read the full file on GitHub · 75 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 75 lines · 36 tokens per session scan A eccbd34b5245

Subscribe to this mod's changes

alego-translate-docs is a skill published in the GitHub repository singula-ai/alego (109 stars, last pushed yesterday), licensed MIT. It adds 36 tokens to every session and 2,312 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 95% identical to dsh-translate-docs, differing in 16 lines, and is treated as a copy.

Related

Other skills, from other repositories

i18n-localization

Internationalization and localization for global applications. Use when adding multi-language support, handling regional formats, or preparing apps for global markets.

travisjneuman/.claude · 32 tokens

impact-report-writer

Nonprofit/NGO impact report generation with data visualization suggestions, outcome metrics, narrative structure, and program data presentation. Use when writing impact reports, annual reports, or program evaluation summaries.

travisjneuman/.claude · 43 tokens

investment-memo-generator

Investment memo creation combining financial analysis, document generation, and structured templates. Use when creating investment memos, pitch decks, deal summaries, or investment committee materials.

travisjneuman/.claude · 37 tokens

codebase-documenter

This skill should be used when writing documentation for codebases, including README files, architecture documentation, code comments, and API documentation. Use this skill when users request help documenting their code, creating getting-started guides, explaining project structure, or making codebases more accessible…

travisjneuman/.claude · 81 tokens

document-skills

Professional document creation, editing, and analysis for Office formats (docx, pdf, pptx, xlsx). Use when working with Word documents, PDFs, PowerPoint presentations, or Excel spreadsheets.

travisjneuman/.claude · 44 tokens

harness

Use when governing a workspace's control plane, code or not — the 01-TOOLS/ tooling layer, the 02-DOCS/ chaos→knowledge wiki, the root Knowledge map. Audits it, migrates legacy XX- folders, scaffolds provider tooling, sweeps the inbox, writes root CLAUDE.md/AGENTS.md. NOT the bootstrap front door (that is init, which…

ericrisco/rsc-harness · 94 tokens