add-language
Skill1 starsChanged 18 days agoApache-2.0View on GitHub
Make a full Phygital Brain set in a new language (forms, rule files, folder and note names, Brain Keeper), or switch an existing brain to another language. Use when the person says "translate Phygital Brain into my language", "add my language", "switch my brain to Spanish", or the same in another language.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- GeoffMillerAZ/fathomtheir own version, first seen Nov 8, 2026
- Locker-Room-Tools/synapsetheir own version, first seen Oct 11, 2026
- DailybotHQ/deepworkplan-websitetheir own version, first seen Oct 9, 2026
- madeinoz67/madeinoz-knowledge-systemtheir own version, first seen Jan 18, 2026
- ZoneMinder/zmNinjaNgtheir own version, first seen Jan 10, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- ZoneMinder/zmNinjaNg★ 101same name
- DailybotHQ/deepworkplan-website★ 15same name
- madeinoz67/madeinoz-knowledge-system★ 3same name
- Locker-Room-Tools/synapse★ 2same name
- GeoffMillerAZ/fathom★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository4 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- brain-keeperSkill
- brain-setupSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 4 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 15
Ask which one if it isn't clear.
- Distinctive: line 20
Natural, not literal: Write what a native speaker would say to a friend who isn't technical.
- Distinctive: line 30
If you're working in a clone of the repository, use it.
- Very specific: line 33
Read languages/TRANSLATING.md (the rules) and languages/en.json (every text, with keys).
- Distinctive: line 37
Ask the person three things in one message, in their language:
- Very specific: line 43
Write languages/{code}/GLOSSARY.md with the answers, the remaining folder and note names (all of paths in en.json), and the feature names.
- Very specific: line 51
Follow TRANSLATING.md exactly: paths and [[links]] to fixed notes in English, info block keys and values in English (except description:), …
- Very specific: line 82
Only for a language with a ready set in ../brain-setup/i18n/{code}/.
- Distinctive: line 87
Back up: every rule file and every note whose links will change (Backups and Undo in the root CLAUDE.md).
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Phygital Brain: Add a language
Version 0.1.12. Everything below is for the agent. Follow it step by step, and check each step before moving on.
Two jobs:
- A. Add a language that has no ready set yet: translate everything once, so every brain in that language is built in it.
- B. Switch a brain to another language that has a ready set: rename its folders and notes, and swap its rule files, keeping everything the person wrote.
Ask which one if it isn't clear. The ready languages are the folders in ../brain-setup/i18n/.
Principles
- Translate once, never while running. A brain reads only its own files. No step here leaves the brain looking up translations later.
- Natural, not literal. Write what a native speaker would say to a friend who isn't technical. Read each sentence out loud in your head; rewrite anything stiff.
- Paths are made by the script. Translators leave paths in English;
scripts/i18n.pyswaps them for the language's names, so they match in every file. - Plain language, no em dashes, "your agent" in anything a person sees.
A. Add a language
A1. Get a working copy
This job writes files into the Phygital Brain repository, not into the person's brain. You need a copy you can write to:
- If you're working in a clone of the repository, use it.
- Otherwise ask the person to download it (on GitHub: Code, then Download ZIP, then unzip it) and open a chat on that folder, then start again.
Read languages/TRANSLATING.md (the rules) and languages/en.json (every text, with keys). Pick the language code: a standard tag like it, ko, tr, pt-PT, es-MX. If languages/{code}.json exists, this is an update: change only what's missing or wrong.
A2. Choose the words first
Ask the person three things in one message, in their language:
- Formal or informal "you", the way apps in their language usually talk. Suggest the usual one.
- The 7 main folder names. Suggest natural ones for About, Daily, Projects, Relationships, Memory, Library and Skills, and let them change any.
- Names for the Brain Keeper and the morning brief. Suggest natural ones.
Write languages/{code}/GLOSSARY.md with the answers, the remaining folder and note names (all of paths in en.json), and the feature names.
A3. Translate
languages/{code}.json: same keys asen.json."language": code, the language's own name, its English name, and"dir": "rtl"for right-to-left scripts."status": "translated". Every value inpaths,features,messagesandformstranslated, placeholders like{Name}and{n}kept as they are, kept where it is.languages/{code}/templates/: every file inskills/brain-setup/templates/, translated, same file names.languages/{code}/keeper/: every file inskills/brain-keeper/templates/, translated, same file names.
Follow TRANSLATING.md exactly: paths and [[links]] to fixed notes in English, info block keys and values in English (except description:), YAML and <!-- ADAPTING --> comments as they are, trigger phrases in the new language followed by the English one.
For a long job, work file by file and keep going until every file is done.
A4. Build and check
Run:
python3 scripts/i18n.py build {code}
python3 scripts/i18n.py check {code}
python3 scripts/check.pyFix every problem and run them again until they pass. If you can't run Python here, ask the person to run the three lines, or do it on a computer that can.
A5. Review
Read the whole set again as a native speaker who didn't translate it: the forms first, then the messages, then the rule files. Fix anything stiff, wrong or unclear. Translate five random paragraphs back into English and compare them with the originals; fix any change in meaning. Then set "status": "reviewed-by-ai", build and check again.
Tell the person: "A native speaker should read it before we call it final." When one has, they set "status": "reviewed".
A6. Use it and share it
- To use it now: open a chat on an empty brain folder and say "Set up my second brain. Follow skills/brain-setup/SKILL.md in {path to this copy}." The new language shows up in the setup's list.
- To share it with everyone: open a pull request on github.com/Phygital-Brain/phygital-brain with
languages/{code}.json,languages/{code}/andskills/brain-setup/i18n/{code}/. SeeCONTRIBUTING.md.
Finish with one short message: the language, the main folder names, what's left to review, and the two lines above.
B. Switch a brain to another language
Only for a language with a ready set in ../brain-setup/i18n/{code}/. If there isn't one, offer job A first. If they say just "Portuguese" or "Chinese", ask which one first (Português do Brasil · Português de Portugal, or 简体中文 · 繁體中文), as the setup's Step 1 does.
- Read first, change nothing. The root
CLAUDE.md(its version line, Language section and## Folder mapif there is one), every folder'sCLAUDE.md, and{Name}'s Rules. Count {Name}'s own rules. - Make the list. From the current names (the Folder map, or the English names if there's none) to the new ones in
i18n/{code}/strings.json(paths). One line per folder and fixed note that will be renamed. - Ask (click options when possible):
Switch everything·Show me the list first·Cancel. Renaming needs this yes (root rule 21). - Back up every rule file and every note whose links will change (Backups and Undo in the root
CLAUDE.md). - Rename the folders and fixed notes, deepest first. Then update every
[[link]]to a renamed note, in every note. - Swap the rule files for the ones in
i18n/{code}/templates/andi18n/{code}/keeper/, filled in like the setup does (name, time zone, choices fromAbout/me.md). Keep every routing row, folder and rule {Name} added, translated into the new language without changing their meaning, and {Name}'s own rules word for word in the same order (translate them only if {Name} says yes). - Update the version line's
language:, the Language section, and the## Folder mapwith the new names. Update the scheduled tasks or routines if their prompts name a renamed path. - Check: the same number of {Name}'s own rules; no
[[link]]points to a name that no longer exists; no path in anyCLAUDE.mdnames a folder that doesn't exist; nothing deleted. - Finish: one line in today's daily note, then two or three lines: the new language, that notes {Name} wrote stay in the language they were written in, and "undo the last change" if they want to go back within 10 days.
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.

