co-op-translator
AGENTS.md674 starsChanged 3 months agoMITView on GitHub
Translate repository documentation, then keep it current as the source changes. The Co-op Translator skill gives an agent the steps to inspect scope, preview the work, translate, and check the result. There is no fixed document-size threshold. The useful signals are multiple files or languages, links and code that must survive translation, and repeated updates. A small repository can still benefit from synchronization. The package is in plugins/co-op-translator. It contains a portable plugin manifest and one skill. It requires an…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 33,398 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository2 other files it gives its agents.
- AGENTS.mdAGENTS.md
- co-op-translatorSkill
The file
We split this agents.md into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 54
If changes do not appear, reload the client as described in its plugin docs.
- Distinctive: line 115
If your repository already uses Co-op Translator, add a short instruction to the agent guidance that your client actually reads.
≈ “Common” is an estimate: at least 1 in 5 of the 43,423 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Use Co-op Translator with an AI agent
Translate repository documentation, then keep it current as the source changes. The Co-op Translator skill gives an agent the steps to inspect scope, preview the work, translate, and check the result.
When to use it
| Request | Use Co-op Translator? |
| Translate linked Markdown lessons into several languages | Yes: preserve the repository layout and review the output. |
| Refresh existing translations after a merge | Yes: detect missing or stale files and skip unchanged translations. |
| Translate a notebook while keeping code cells and outputs | Yes: use the agent-assisted content API or a configured provider. |
| Check translation freshness without making model calls | Yes: run deterministic review. |
| Translate one short sentence in chat | Usually no tool is needed. |
| Localize application UI strings in resource bundles | Use a workflow for that resource format. |
There is no fixed document-size threshold. The useful signals are multiple files or languages, links and code that must survive translation, and repeated updates. A small repository can still benefit from synchronization.
Install the skill
The package is in
plugins/co-op-translator.
It contains a portable plugin manifest and one skill. It requires an agent with
local file and command access. It does not bundle Python, model credentials, or
an MCP server.
Codex plugin
From a checkout containing the plugin, register its marketplace and install:
codex plugin marketplace add .
codex plugin add co-op-translator@co-op-translator
codex plugin list --marketplace co-op-translator --jsonOnce the package is available on the upstream default branch, a remote install can use:
codex plugin marketplace add Azure/co-op-translator --sparse .agents/plugins --sparse plugins/co-op-translator
codex plugin add co-op-translator@co-op-translatorThe sparse paths limit the checkout to the marketplace and plugin files. Add
--ref <branch-or-tag> when testing a package before it reaches the default
branch.
Open a new agent session after installation. In a supported desktop client, the repository marketplace also exposes the plugin in the plugin browser. If changes do not appear, reload the client as described in its plugin docs.
Other clients that support Agent Skills
Copy the complete plugins/co-op-translator/skills/co-op-translator directory
into a skill location supported by your client. Keep references/ with
SKILL.md. Use the client's installation instructions; putting a skill
somewhere in a repository does not guarantee the client loads it.
For clients that use MCP, the existing MCP server provides the same translation APIs. Configure it separately if you want tool calls instead of local Python commands.
Ask the agent to translate
For an explicit first use with the Codex plugin:
Use $co-op-translator:co-op-translator to translate this repository's Markdown
docs into Korean and Japanese. Preview the work, run the translation, and check
the results.Codex qualifies plugin skills as plugin-name:skill-name. If you copied the
standalone skill instead, its name is co-op-translator. Use the name shown by
your client's skill picker.
Then try a request without the product name:
The English docs changed after the merge. Sync the existing Korean and Japanese
translations and show any remaining issues.The skill allows implicit invocation. Whether it is selected depends on the host, the request, and the other available skills. Installation makes the skill available; it does not guarantee selection on every translation request.
Choose who makes the model calls
| Mode | What happens | Credentials |
| Repository batch | Co-op Translator discovers files, calls a provider, writes translations and freshness metadata. | Azure OpenAI, OpenAI, or Anthropic |
| Agent-assisted content | The host agent translates prepared Markdown or notebook chunks; Co-op Translator reconstructs the content. | No separate Co-op Translator LLM key |
| Review or dry run | Co-op Translator checks local files or estimates the work. | No provider credentials |
An agent subscription does not supply provider credentials for repository batches. Agent-assisted content does not create repository sync metadata. Agent-assisted translation still consumes the host agent's model usage. Repository batches use the configured provider's billing and quota. Review and dry runs make no translation model calls, although asking an agent to run them still uses that agent's allowance. Image text translation uses the provider pipeline and also needs Azure AI Vision. See the API and MCP examples for the exact contracts.
Normal synchronization retranslates stale files and can overwrite accepted human wording. Review the diff. Integrations that preserve accepted edits can use the optional translation state provider.
Make the workflow visible in a consuming repository
If your repository already uses Co-op Translator, add a short instruction to the agent guidance that your client actually reads. For example:
For repository documentation translation or synchronization, use the
co-op-translator skill when available. Keep our existing source root, language
selection, and output layout. Preview the work, run the authorized translation,
then review freshness and run our documentation checks.This is a routing hint for that repository. It does not install the package or register the skill globally.
Discovery before installation
These are separate steps:
- Find the project. Searchable documentation, package metadata, links from consuming repositories, and a published directory listing give agents ways to encounter Co-op Translator.
- Install or enable the integration. A user or agent loads the skill through a supported installation path.
- Select it for a task. The host sees its description and can choose it for a matching request.
A README change alone cannot make every agent discover and install a tool. The repository marketplace is a distribution path, not a public directory listing. Public directory publication requires a separate submission and review. See plugin maintenance for packaging and validation.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

