[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6K1X4TE0YP62D789CJWZ4YY":3,"skill-same:01M6K1X4TE0YP62D789CJWZ4YY":75},{"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":33,"linkOnly":34,"markdownContent":35,"markdownBody":36,"frontMatter":37,"refName":39,"commitSha":40,"skillDirectory":41,"forksCount":42,"repositoryHtmlUrl":43,"repositoryHomepageUrl":44,"ownerHtmlUrl":45,"ownerBlogUrl":46,"ownerDescription":47,"updatedAt":48,"install":49,"resources":62},"01M6K1X4TE0YP62D789CJWZ4YY","translate-row",null,"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.","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_row\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32],"translate","translate row","markdown","table","use","maintenance","provider","language","active","Adapters","action","for","Existing","fields","2026-11-10 10:12:30",false,"---\nname: translate-row\ndescription: 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.\nmetadata:\n  status: active\n---\n\n# Skill: translate_row\n\n## Purpose\n\nGiven a table row whose table has `translation_enabled: true`, translate every\nfield marked `translatable: true` in the table's `properties` into the\nuser-selected languages. Create or update one child with `parent_id = item_id`\nper language; translate the Markdown body when its adapter is available.\n\n## Trigger\n\nThe UI invokes this workflow when the user activates a `button` field whose\n`button_action` is `translate_row`. `TranslateLanguagesModal` sends:\n\n```\nPOST \u002Fapi\u002Fvault\u002Fskills\u002Ftranslate-row\nBody: { item_id: str, target_languages: [str], button_action: \"translate_row\" }\n```\n\n## Architecture\n\nThe endpoint in `backend\u002Fdomains\u002Fvault\u002Ftranslation\u002Froutes.py` delegates through\nthe domain lifecycle to `row_service.py`; the historical route facade remains\ncompatible. The service coordinates the operation:\n\n- Load `item_id` from the registry and identify its table and schema.\n- Select fields with `translatable: true`.\n- Request each target-language translation from this skill.\n- Create or update a child through the page write service with `parent_id`,\n  `metadata.translation_origin_id` and `metadata.translation_lang`. Existing\n  language children are updated instead of duplicated.\n\nThe skill implementation in `scripts\u002Ftranslate_text.py` exposes:\n\n- `translate(text, source_lang, target_lang, ...) -> (translated_text, provider)`\n- `detect_source_lang(text) -> str`\n\nThe backend imports the skill lazily through the translation adapter. Preserve\nthat callable contract instead of introducing a subprocess for every field.\n\n## Translation profile and configuration\n\nAll language pairs call `backend.services.agent_execution.generate_for(\"translation\", ...)`\nwith the `core.gnosi-translation-workflow` skill. Standalone UI actions use the\neditable profile owned by `builtin:translation` (default ID\n`builtin.translation.default`). Nested actions inherit the running agent's\nsnapshot and must have the translation skill assigned.\n\nConfigure the model in the Translation plugin's profile and connect its AI\nprovider. Execution applies that profile's model policy, budgets and activity\ntracking. A newly created plugin profile initially copies the principal's\nprovider and model; later principal changes do not overwrite the plugin profile.\n\nDeepL, Softcatalà, Apertium and OPUS-MT routing has been retired. The historic\n`deepl_api_key` and `softcatala_url` keyword arguments remain accepted for caller\ncompatibility but are ignored. Existing saved credentials are preserved. There\nis no provider-specific environment configuration or placeholder fallback in\n`translate_text.py`. Its `principal_agent` provider label is a legacy marker for\nthe shared executor; the activity record identifies the actual profile and model.\n\nThe skill-instruction reading translation also uses this operation, through\n`\u002Fapi\u002Fai\u002Fgenerate` with `mode=\"translate_instructions\"`. It treats the supplied\ninstructions as text, preserves protected literals and leaves the original skill\nunchanged. Failed calls remain retryable.\n\nTests must fake the executor. Live translation can send the selected text to the\nconfigured AI provider and incur usage costs.\n\n## Restrictions and edge cases\n\n- Provider or profile failures propagate from the translation callable; no fake\n  `[\u003Clang>] ...` translation is returned.\n- Skip a target identical to the detected source language.\n- Skip empty fields. Skip a language child when both translated fields and\n  translated Markdown are empty.\n- A field translator exception becomes `[error: \u003Cmessage>]` with provider\n  `error`; the row service does not add a retry. A Markdown exception retains\n  the original body; an unavailable Markdown adapter produces no translated body.\n- Return HTTP 400 when the schema has no translatable fields.\n- Preserve the existing single-row and batch routes; the single-row modal is\n  not evidence that batch translation is unavailable.\n## Child item shape\n\n```json\n{\n  \"title\": \"\u003Ctranslated title>\",\n  \"parent_id\": \"\u003Citem_id>\",\n  \"metadata\": {\n    \"table_id\": \"\u003Cparent row table id>\",\n    \"database_table_id\": \"\u003Cparent row table id>\",\n    \"translation_lang\": \"\u003CISO 639-1 code>\",\n    \"translation_source_lang\": \"\u003Csource language>\",\n    \"translation_origin_id\": \"\u003Citem_id>\",\n    \"translation_stale\": false,\n    \"translation_provider\": \"\u003Cprovider or mixed>\",\n    \"\u003Ctranslatable_field_1>\": \"\u003Ctranslation>\",\n    \"\u003Ctranslatable_field_2>\": \"\u003Ctranslation>\"\n  }\n}\n```\n\nUse the translated title when configured. Otherwise use the first translated\ntext\u002Frich-text field, limited to 120 characters, or the parent title plus language.\nKeep response groups `created`, `updated`, and `skipped` distinct.\n\n## Explicit live invocation\n\nUse the Translate row action in an open Vault. The shared executor requires an\nauthenticated Vault execution scope; running the historic command-line wrapper\nwithout that scope does not establish one. Live translation sends the supplied\ntext to the configured provider and can incur usage costs.\n\nFor offline verification, run the synthetic translation tests:\n\n```bash\npython3 -m pytest backend\u002Ftests\u002Ftest_translate_row_skill.py\n```\n","# Skill: translate_row\n\n## Purpose\n\nGiven a table row whose table has `translation_enabled: true`, translate every\nfield marked `translatable: true` in the table's `properties` into the\nuser-selected languages. Create or update one child with `parent_id = item_id`\nper language; translate the Markdown body when its adapter is available.\n\n## Trigger\n\nThe UI invokes this workflow when the user activates a `button` field whose\n`button_action` is `translate_row`. `TranslateLanguagesModal` sends:\n\n```\nPOST \u002Fapi\u002Fvault\u002Fskills\u002Ftranslate-row\nBody: { item_id: str, target_languages: [str], button_action: \"translate_row\" }\n```\n\n## Architecture\n\nThe endpoint in `backend\u002Fdomains\u002Fvault\u002Ftranslation\u002Froutes.py` delegates through\nthe domain lifecycle to `row_service.py`; the historical route facade remains\ncompatible. The service coordinates the operation:\n\n- Load `item_id` from the registry and identify its table and schema.\n- Select fields with `translatable: true`.\n- Request each target-language translation from this skill.\n- Create or update a child through the page write service with `parent_id`,\n  `metadata.translation_origin_id` and `metadata.translation_lang`. Existing\n  language children are updated instead of duplicated.\n\nThe skill implementation in `scripts\u002Ftranslate_text.py` exposes:\n\n- `translate(text, source_lang, target_lang, ...) -> (translated_text, provider)`\n- `detect_source_lang(text) -> str`\n\nThe backend imports the skill lazily through the translation adapter. Preserve\nthat callable contract instead of introducing a subprocess for every field.\n\n## Translation profile and configuration\n\nAll language pairs call `backend.services.agent_execution.generate_for(\"translation\", ...)`\nwith the `core.gnosi-translation-workflow` skill. Standalone UI actions use the\neditable profile owned by `builtin:translation` (default ID\n`builtin.translation.default`). Nested actions inherit the running agent's\nsnapshot and must have the translation skill assigned.\n\nConfigure the model in the Translation plugin's profile and connect its AI\nprovider. Execution applies that profile's model policy, budgets and activity\ntracking. A newly created plugin profile initially copies the principal's\nprovider and model; later principal changes do not overwrite the plugin profile.\n\nDeepL, Softcatalà, Apertium and OPUS-MT routing has been retired. The historic\n`deepl_api_key` and `softcatala_url` keyword arguments remain accepted for caller\ncompatibility but are ignored. Existing saved credentials are preserved. There\nis no provider-specific environment configuration or placeholder fallback in\n`translate_text.py`. Its `principal_agent` provider label is a legacy marker for\nthe shared executor; the activity record identifies the actual profile and model.\n\nThe skill-instruction reading translation also uses this operation, through\n`\u002Fapi\u002Fai\u002Fgenerate` with `mode=\"translate_instructions\"`. It treats the supplied\ninstructions as text, preserves protected literals and leaves the original skill\nunchanged. Failed calls remain retryable.\n\nTests must fake the executor. Live translation can send the selected text to the\nconfigured AI provider and incur usage costs.\n\n## Restrictions and edge cases\n\n- Provider or profile failures propagate from the translation callable; no fake\n  `[\u003Clang>] ...` translation is returned.\n- Skip a target identical to the detected source language.\n- Skip empty fields. Skip a language child when both translated fields and\n  translated Markdown are empty.\n- A field translator exception becomes `[error: \u003Cmessage>]` with provider\n  `error`; the row service does not add a retry. A Markdown exception retains\n  the original body; an unavailable Markdown adapter produces no translated body.\n- Return HTTP 400 when the schema has no translatable fields.\n- Preserve the existing single-row and batch routes; the single-row modal is\n  not evidence that batch translation is unavailable.\n## Child item shape\n\n```json\n{\n  \"title\": \"\u003Ctranslated title>\",\n  \"parent_id\": \"\u003Citem_id>\",\n  \"metadata\": {\n    \"table_id\": \"\u003Cparent row table id>\",\n    \"database_table_id\": \"\u003Cparent row table id>\",\n    \"translation_lang\": \"\u003CISO 639-1 code>\",\n    \"translation_source_lang\": \"\u003Csource language>\",\n    \"translation_origin_id\": \"\u003Citem_id>\",\n    \"translation_stale\": false,\n    \"translation_provider\": \"\u003Cprovider or mixed>\",\n    \"\u003Ctranslatable_field_1>\": \"\u003Ctranslation>\",\n    \"\u003Ctranslatable_field_2>\": \"\u003Ctranslation>\"\n  }\n}\n```\n\nUse the translated title when configured. Otherwise use the first translated\ntext\u002Frich-text field, limited to 120 characters, or the parent title plus language.\nKeep response groups `created`, `updated`, and `skipped` distinct.\n\n## Explicit live invocation\n\nUse the Translate row action in an open Vault. The shared executor requires an\nauthenticated Vault execution scope; running the historic command-line wrapper\nwithout that scope does not establish one. Live translation sends the supplied\ntext to the configured provider and can incur usage costs.\n\nFor offline verification, run the synthetic translation tests:\n\n```bash\npython3 -m pytest backend\u002Ftests\u002Ftest_translate_row_skill.py\n```\n",{"name":5,"metadata":38,"description":7},{"status":27},"main","ddf5fc580ae6656e98e3222889a9c49181664a45","pipeline\u002Fskills\u002Ftranslate_row",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":50,"prompt":60,"zipAvailable":61},[51,54,57],{"tool":52,"command":53},"npx","npx skills add ismigar\u002FGnosi --skill translate-row",{"tool":55,"command":56},"bunx","bunx skills add ismigar\u002FGnosi --skill translate-row",{"tool":58,"command":59},"pnpm","pnpm dlx skills add ismigar\u002FGnosi --skill translate-row","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fismigar\u002FGnosi\u002Fblob\u002Fmain\u002Fpipeline\u002Fskills\u002Ftranslate_row\u002FSKILL.md",true,[63,68,71],{"path":64,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":42,"sourceHtmlUrl":67},"__init__.py","SCRIPT","脚本","https:\u002F\u002Fgithub.com\u002Fismigar\u002FGnosi\u002Fblob\u002Fmain\u002Fpipeline\u002Fskills\u002Ftranslate_row\u002F__init__.py",{"path":69,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":42,"sourceHtmlUrl":70},"scripts\u002F__init__.py","https:\u002F\u002Fgithub.com\u002Fismigar\u002FGnosi\u002Fblob\u002Fmain\u002Fpipeline\u002Fskills\u002Ftranslate_row\u002Fscripts\u002F__init__.py",{"path":72,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":73,"sourceHtmlUrl":74},"scripts\u002Ftranslate_text.py",2821,"https:\u002F\u002Fgithub.com\u002Fismigar\u002FGnosi\u002Fblob\u002Fmain\u002Fpipeline\u002Fskills\u002Ftranslate_row\u002Fscripts\u002Ftranslate_text.py",[76,95,115,136,149,169],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":33},"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",[],[83,84,85,86,22,87,88,89,90,91,92,93,94],"sync","Zotero","compatibility","zotero sync compatibility","synchronization","reference","configuration","native","with","manager","path","preserve",{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":33},"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",[],[84,102,103,104,105,106,107,108,109,110,23,24,111,112,113,30,114],"schema","zotero schema","typescript","python","generate","repository","downloads","refresh","generated","runtime","type","mapping","constants",{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":33},"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",[],[122,123,124,125,126,127,128,129,130,131,132,133,23,27,134,30,135,94],"core","vault","vault core","documents","cleanup","metadata","file","integrity","normalization","work","context","user","links","changes",{"skillNo":137,"name":138,"nameZh":6,"description":139,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":140,"categories":141,"keywords":142,"publishedAt":33},"01M6K1X0G5C2E91RS71NMX0GHG","translate-page","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.","https:\u002F\u002Fgithub.com\u002Fismigar\u002FGnosi\u002Fblob\u002Fmain\u002Fpipeline\u002Fskills\u002Ftranslate_page\u002FSKILL.md",[],[19,143,144,145,123,21,23,24,26,27,29,30,31,146,147,148],"page","translate page","segmentation","directives","title","body",{"skillNo":150,"name":151,"nameZh":6,"description":152,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":153,"categories":154,"keywords":155,"publishedAt":33},"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",[],[156,157,158,19,159,160,106,161,162,110,23,163,164,165,166,91,167,30,168],"technical documentation","documentation","technical","validate","pr","engineering","model","never","deterministic","gates","guides","updates","source",{"skillNo":170,"name":171,"nameZh":6,"description":172,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":173,"categories":174,"keywords":175,"publishedAt":33},"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",[],[176,177,178,179,162,180,23,181,182,183,184,185,186,187,188,189,190,30,191,192],"connections","suggest connections","review","graph","behavior","evidence","queue","maintain","brain","generation","creation","proposal","note","connection","calls","automatic","overlay"]