[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6K1X0G5C2E91RS71NMX0GHG":3,"skill-same:01M6K1X0G5C2E91RS71NMX0GHG":81},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":35,"linkOnly":36,"markdownContent":37,"markdownBody":38,"frontMatter":39,"refName":41,"commitSha":42,"skillDirectory":43,"forksCount":44,"repositoryHtmlUrl":45,"repositoryHomepageUrl":46,"ownerHtmlUrl":47,"ownerBlogUrl":48,"ownerDescription":49,"updatedAt":50,"install":51,"resources":64},"01M6K1X0G5C2E91RS71NMX0GHG","translate-page",null,"Translate a Vault page title and Markdown body into language children, updating existing translations and preserving Gnosi directives. Use for the explicit translate-page action or Markdown segmentation maintenance.","ismigar\u002FGnosi","ismigar","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6537880?v=4","01M6K1KJFJXCT6S4ATNXFRD1Y7","Ismael García","01M6K1KJM0CK16BDEYVZCV6949",2,"AGPL-3.0","https:\u002F\u002Fgithub.com\u002Fismigar\u002FGnosi\u002Fblob\u002Fmain\u002Fpipeline\u002Fskills\u002Ftranslate_page\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34],"translate","page","translate page","segmentation","vault","markdown","use","maintenance","language","active","action","for","Existing","directives","title","body","2026-11-10 10:12:30",false,"---\nname: translate-page\ndescription: Translate a Vault page title and Markdown body into language children, updating existing translations and preserving Gnosi directives. Use for the explicit translate-page action or Markdown segmentation maintenance.\nmetadata:\n  status: active\n---\n\n# Skill: translate_page\n\n## Purpose\n\nTranslate the title and body of a Vault Markdown page into user-selected\nlanguages. Create or update one child with `parent_id = page_id` for each language.\nThis is the full-document counterpart of\n[translate_row](..\u002Ftranslate_row\u002FSKILL.md).\n\nOnly Vault Markdown pages are in scope. Reader PDFs are not.\n\n## Trigger\n\nThe user selects **Translate page** from the `VaultShell` page menu.\n`TranslateLanguagesModal` opens with `mode=\"page\"` and sends:\n\n```\nPOST \u002Fapi\u002Fvault\u002Fskills\u002Ftranslate-page\nBody: { page_id: str, target_languages: [str], button_action: \"translate_page\" }\n```\n\n## Architecture\n\nThe route in `backend\u002Fdomains\u002Fvault\u002Ftranslation\u002Froutes.py` delegates through\nthe domain lifecycle to `page_service.py`. It loads the page, detects its source\nlanguage and translates its plain title and Markdown body. Existing translation\nchildren are updated in place; missing languages are created through the page\nwrite service. The historical `backend\u002Fapi\u002Fvault_routes.py` export remains a\ncompatibility boundary, not a second implementation.\n\n`scripts\u002Fmarkdown_segmenter.py` exposes:\n\n- `translate_markdown(body, src, tgt, ...) -> (str, set[providers])`\n- `translate_title(title, src, tgt, ...) -> (str, provider)`\n- `detect_source_lang`, re-exported from `translate_row`\n\nProvider routing is reused directly from `translate_row`; this module adds\nMarkdown-aware segmentation only.\n\n## Markdown segmenter\n\nThe body uses enriched Markdown. The Python segmenter mirrors\n`frontend\u002Fsrc\u002Fshared\u002Feditor\u002Fmarkdown-mapper\u002F` so `richMarkdownToBlocks` can parse the result without\nstructural changes. It processes lines with a block-state machine:\n\n- Pass through fenced blocks, including `gnosi-database` and `gnosi-view`;\n  `:::` directives; complete `:::gnosi-ignore` blocks; `{{bibliography}}`;\n  standalone `![[...]]` transclusions; horizontal rules; and table separators.\n- Preserve headings, list markers, checklists, blockquotes, and callout\n  indentation while translating only their text.\n- Translate toggle labels and GFM table cells.\n- Protect inline code, HTML tags, images, wikilinks, citations such as\n  `[@key]` and `@key`, and link destinations with `XSEGnnnZZZ` tokens. Link\n  display text is translated.\n\nThe executable contract is covered by\n`scripts\u002Ftest_markdown_segmenter.py` and the backend translation tests. Private\ndevelopment directives are not required to use a public checkout.\n\n## Providers and configuration\n\nUse the same governed translation operation as `translate_row`. Standalone page\ntranslation uses the plugin's editable Translation AI profile; a nested action\ninherits the running agent's profile. Configure that profile's model and connect\nits provider. Legacy DeepL and Softcatalà settings are ignored. There is no\npair-specific Apertium or OPUS-MT routing and no placeholder provider fallback.\n\n## Child page shape\n\n```json\n{\n  \"title\": \"\u003Ctranslated title>\",\n  \"content\": \"\u003Ctranslated Markdown body>\",\n  \"parent_id\": \"\u003Csource page id>\",\n  \"metadata\": {\n    \"translation_lang\": \"\u003CISO 639-1 code>\",\n    \"translation_source_lang\": \"\u003Cdetected source language>\",\n    \"translation_origin_id\": \"\u003Csource page id>\",\n    \"translation_provider\": \"principal_agent | mixed | noop\"\n  }\n}\n```\n\nUnlike `translate_row`, do not add `table_id`; the child is a normal page whose\nlocation is selected by the page write service. Do not hardcode a folder name.\n\n## Restrictions and edge cases\n\n- Skip a target identical to the source language.\n- Translate only the title when the page body is empty.\n- V1 does not translate wikilink aliases or image alt text; preserve protected tokens and test enriched Markdown round trips before changing segmentation.\n- Each translatable segment invokes the shared AI executor. Long pages can\n  consume multiple model calls and hit the configured provider’s limits.\n- Re-running updates existing language children instead of duplicating them. Preserve origin\u002Flanguage metadata, translated content and the `created`, `updated`, `skipped` response groups.\n- Unit tests must fake providers. A real translation can send selected text to the configured AI provider; it is not an incidental documentation check.\n\n## Quick test\n\n```bash\ncd Gnosi\npython3 -m pytest pipeline\u002Fskills\u002Ftranslate_page\u002Fscripts\u002Ftest_markdown_segmenter.py -v\n```\n","# Skill: translate_page\n\n## Purpose\n\nTranslate the title and body of a Vault Markdown page into user-selected\nlanguages. Create or update one child with `parent_id = page_id` for each language.\nThis is the full-document counterpart of\n[translate_row](..\u002Ftranslate_row\u002FSKILL.md).\n\nOnly Vault Markdown pages are in scope. Reader PDFs are not.\n\n## Trigger\n\nThe user selects **Translate page** from the `VaultShell` page menu.\n`TranslateLanguagesModal` opens with `mode=\"page\"` and sends:\n\n```\nPOST \u002Fapi\u002Fvault\u002Fskills\u002Ftranslate-page\nBody: { page_id: str, target_languages: [str], button_action: \"translate_page\" }\n```\n\n## Architecture\n\nThe route in `backend\u002Fdomains\u002Fvault\u002Ftranslation\u002Froutes.py` delegates through\nthe domain lifecycle to `page_service.py`. It loads the page, detects its source\nlanguage and translates its plain title and Markdown body. Existing translation\nchildren are updated in place; missing languages are created through the page\nwrite service. The historical `backend\u002Fapi\u002Fvault_routes.py` export remains a\ncompatibility boundary, not a second implementation.\n\n`scripts\u002Fmarkdown_segmenter.py` exposes:\n\n- `translate_markdown(body, src, tgt, ...) -> (str, set[providers])`\n- `translate_title(title, src, tgt, ...) -> (str, provider)`\n- `detect_source_lang`, re-exported from `translate_row`\n\nProvider routing is reused directly from `translate_row`; this module adds\nMarkdown-aware segmentation only.\n\n## Markdown segmenter\n\nThe body uses enriched Markdown. The Python segmenter mirrors\n`frontend\u002Fsrc\u002Fshared\u002Feditor\u002Fmarkdown-mapper\u002F` so `richMarkdownToBlocks` can parse the result without\nstructural changes. It processes lines with a block-state machine:\n\n- Pass through fenced blocks, including `gnosi-database` and `gnosi-view`;\n  `:::` directives; complete `:::gnosi-ignore` blocks; `{{bibliography}}`;\n  standalone `![[...]]` transclusions; horizontal rules; and table separators.\n- Preserve headings, list markers, checklists, blockquotes, and callout\n  indentation while translating only their text.\n- Translate toggle labels and GFM table cells.\n- Protect inline code, HTML tags, images, wikilinks, citations such as\n  `[@key]` and `@key`, and link destinations with `XSEGnnnZZZ` tokens. Link\n  display text is translated.\n\nThe executable contract is covered by\n`scripts\u002Ftest_markdown_segmenter.py` and the backend translation tests. Private\ndevelopment directives are not required to use a public checkout.\n\n## Providers and configuration\n\nUse the same governed translation operation as `translate_row`. Standalone page\ntranslation uses the plugin's editable Translation AI profile; a nested action\ninherits the running agent's profile. Configure that profile's model and connect\nits provider. Legacy DeepL and Softcatalà settings are ignored. There is no\npair-specific Apertium or OPUS-MT routing and no placeholder provider fallback.\n\n## Child page shape\n\n```json\n{\n  \"title\": \"\u003Ctranslated title>\",\n  \"content\": \"\u003Ctranslated Markdown body>\",\n  \"parent_id\": \"\u003Csource page id>\",\n  \"metadata\": {\n    \"translation_lang\": \"\u003CISO 639-1 code>\",\n    \"translation_source_lang\": \"\u003Cdetected source language>\",\n    \"translation_origin_id\": \"\u003Csource page id>\",\n    \"translation_provider\": \"principal_agent | mixed | noop\"\n  }\n}\n```\n\nUnlike `translate_row`, do not add `table_id`; the child is a normal page whose\nlocation is selected by the page write service. Do not hardcode a folder name.\n\n## Restrictions and edge cases\n\n- Skip a target identical to the source language.\n- Translate only the title when the page body is empty.\n- V1 does not translate wikilink aliases or image alt text; preserve protected tokens and test enriched Markdown round trips before changing segmentation.\n- Each translatable segment invokes the shared AI executor. Long pages can\n  consume multiple model calls and hit the configured provider’s limits.\n- Re-running updates existing language children instead of duplicating them. Preserve origin\u002Flanguage metadata, translated content and the `created`, `updated`, `skipped` response groups.\n- Unit tests must fake providers. A real translation can send selected text to the configured AI provider; it is not an incidental documentation check.\n\n## Quick test\n\n```bash\ncd Gnosi\npython3 -m pytest pipeline\u002Fskills\u002Ftranslate_page\u002Fscripts\u002Ftest_markdown_segmenter.py -v\n```\n",{"name":5,"metadata":40,"description":7},{"status":28},"main","ddf5fc580ae6656e98e3222889a9c49181664a45","pipeline\u002Fskills\u002Ftranslate_page",0,"https:\u002F\u002Fgithub.com\u002Fismigar\u002FGnosi","https:\u002F\u002Fgnosi.temenosismael.org","https:\u002F\u002Fgithub.com\u002Fismigar","https:\u002F\u002Ftemenosismael.org","💻 & 📚 Computer scientist & philosopher. Exploring the intersection of tech & philosophy for social change & the common good.","2026-11-15 01:43:32",{"source":8,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add ismigar\u002FGnosi --skill translate-page",{"tool":57,"command":58},"bunx","bunx skills add ismigar\u002FGnosi --skill translate-page",{"tool":60,"command":61},"pnpm","pnpm dlx skills add ismigar\u002FGnosi --skill translate-page","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fismigar\u002FGnosi\u002Fblob\u002Fmain\u002Fpipeline\u002Fskills\u002Ftranslate_page\u002FSKILL.md",true,[65,70,73,77],{"path":66,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":44,"sourceHtmlUrl":69},"__init__.py","SCRIPT","脚本","https:\u002F\u002Fgithub.com\u002Fismigar\u002FGnosi\u002Fblob\u002Fmain\u002Fpipeline\u002Fskills\u002Ftranslate_page\u002F__init__.py",{"path":71,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":44,"sourceHtmlUrl":72},"scripts\u002F__init__.py","https:\u002F\u002Fgithub.com\u002Fismigar\u002FGnosi\u002Fblob\u002Fmain\u002Fpipeline\u002Fskills\u002Ftranslate_page\u002Fscripts\u002F__init__.py",{"path":74,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":75,"sourceHtmlUrl":76},"scripts\u002Fmarkdown_segmenter.py",12714,"https:\u002F\u002Fgithub.com\u002Fismigar\u002FGnosi\u002Fblob\u002Fmain\u002Fpipeline\u002Fskills\u002Ftranslate_page\u002Fscripts\u002Fmarkdown_segmenter.py",{"path":78,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":79,"sourceHtmlUrl":80},"scripts\u002Ftest_markdown_segmenter.py",13862,"https:\u002F\u002Fgithub.com\u002Fismigar\u002FGnosi\u002Fblob\u002Fmain\u002Fpipeline\u002Fskills\u002Ftranslate_page\u002Fscripts\u002Ftest_markdown_segmenter.py",[82,102,122,142,153,173],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":35},"01M6K1XMNQTR2Z9F0HV40M9CV6","zotero-sync-compatibility","Preserve the historical Zotero reference-table configuration path after Gnosi replaced bidirectional Zotero synchronization with its native reference manager.","https:\u002F\u002Fgithub.com\u002Fismigar\u002FGnosi\u002Fblob\u002Fmain\u002Fpipeline\u002Fskills\u002Fzotero_sync\u002FSKILL.md",[],[89,90,91,92,93,94,95,96,97,98,99,100,101],"sync","Zotero","compatibility","zotero sync compatibility","table","synchronization","reference","configuration","native","with","manager","path","preserve",{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":35},"01M6K1XE33SSY5RXR5D4S8Y4RV","zotero-schema","Generate Gnosi's Python and TypeScript item-type constants from the repository-pinned Zotero schema, or perform an explicitly requested pinned schema refresh. Use for mapping or generated-constant maintenance, not runtime downloads.","https:\u002F\u002Fgithub.com\u002Fismigar\u002FGnosi\u002Fblob\u002Fmain\u002Fpipeline\u002Fskills\u002Fzotero_schema\u002FSKILL.md",[],[90,109,110,111,112,113,114,115,116,117,25,26,118,119,120,30,121],"schema","zotero schema","typescript","python","generate","repository","downloads","refresh","generated","runtime","type","mapping","constants",{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":35},"01M6K1X9M6AKK8JTQJA9G37ZRP","vault-core","Preserve Gnosi vault identifiers, internal links and active-vault context during file or metadata changes. Use for vault integrity work, not blanket normalization or cleanup of user documents.","https:\u002F\u002Fgithub.com\u002Fismigar\u002FGnosi\u002Fblob\u002Fmain\u002Fpipeline\u002Fskills\u002Fvault_core\u002FSKILL.md",[],[129,23,130,131,132,133,134,135,136,137,138,139,25,28,140,30,141,101],"core","vault core","documents","cleanup","metadata","file","integrity","normalization","work","context","user","links","changes",{"skillNo":143,"name":144,"nameZh":6,"description":145,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":146,"categories":147,"keywords":148,"publishedAt":35},"01M6K1X4TE0YP62D789CJWZ4YY","translate-row","Translate configured table-row fields and Markdown into language children, updating existing translations in place. Use for the explicit translate-row action or maintenance of its provider adapters.","https:\u002F\u002Fgithub.com\u002Fismigar\u002FGnosi\u002Fblob\u002Fmain\u002Fpipeline\u002Fskills\u002Ftranslate_row\u002FSKILL.md",[],[19,149,24,93,25,26,150,27,28,151,29,30,31,152],"translate row","provider","Adapters","fields",{"skillNo":154,"name":155,"nameZh":6,"description":156,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":157,"categories":158,"keywords":159,"publishedAt":35},"01M6K1WSRJTN93ZY4VPNZ2BJW3","technical-documentation","Generate and validate Gnosi's engineering portal from reviewed guides and deterministic source catalogs. Use for source-traceable documentation updates and pre-PR gates; never translate generated catalogs with a model.","https:\u002F\u002Fgithub.com\u002Fismigar\u002FGnosi\u002Fblob\u002Fmain\u002Fpipeline\u002Fskills\u002Ftechnical_documentation\u002FSKILL.md",[],[160,161,162,19,163,164,113,165,166,117,25,167,168,169,170,98,171,30,172],"technical documentation","documentation","technical","validate","pr","engineering","model","never","deterministic","gates","guides","updates","source",{"skillNo":174,"name":175,"nameZh":6,"description":176,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":177,"categories":178,"keywords":179,"publishedAt":35},"01M6K1WMMBBK5940EYP4FFJTC5","suggest-connections","Maintain Gnosi's evidence-backed Brain connection proposal queue and graph overlay. Use for proposal generation or review behavior, not automatic note creation or unrequested model calls.","https:\u002F\u002Fgithub.com\u002Fismigar\u002FGnosi\u002Fblob\u002Fmain\u002Fpipeline\u002Fskills\u002Fsuggest_connections\u002FSKILL.md",[],[180,181,182,183,166,184,25,185,186,187,188,189,190,191,192,193,194,30,195,196],"connections","suggest connections","review","graph","behavior","evidence","queue","maintain","brain","generation","creation","proposal","note","connection","calls","automatic","overlay"]