Files
AgentCompany/built-in skills/scripts/i18n
ZacharyZhang-NY 86aa6fdb29 Ship skills built-in: bundle the catalogue, assign per hire, force humanizer
Skills no longer come from the user's ~/.agents library - most users have
none, and the CEO branch that compiled the entire catalogue into its
prompt overflowed the model context (1.1MB) and failed every CEO run.

- Bundle "built-in skills/" with the app (extraResources) and stage it
  at startup into <profile>/builtin-skills as one dir-per-skill copy -
  both bundle shapes (SKILL.md dirs and flat category .md files)
  normalize into the same importable layout
- Import the staged catalogue per org at startup and inside onboarding,
  so the CEO's first run already carries it
- Forced house style: resolveRuntimeSnapshot unions the humanizer skill
  into every agent's runtime (CEO included) as a resolution rule - no
  binding row to forget, delete, or bypass; revoke_skill refuses it
- CEO staffs hires with skills: hire_agent accepts a skills array,
  grant_skill/revoke_skill adjust later, list_skills now shows
  descriptions from skill frontmatter
- Kill the c_suite compile-all branch; everyone resolves bindings-only,
  capped at 200k chars with omissions named in the prompt
- Remove the Skills settings page and its import/sync/test IPC surface;
  drop ~/.agents discovery and the AGENTCOMPANY_NEW_SKILLS_ROOT seam in
  favor of AGENTCOMPANY_NEW_BUILTIN_SKILLS_DIR
- Tests: staging/import/forced-resolution/cap units, real-bundle CI
  check, e2e asserts the tab is gone and the catalogue self-imports
2026-07-08 21:18:50 -04:00
..

🇨🇳 Chinese (zh-CN) Localization

Localize agent name and description fields in YAML frontmatter to Simplified Chinese. This makes agent names readable in Copilot Chat's agent picker for Chinese-speaking users.

Files

File Description
agent-names-zh.json Mapping of English agent names → Chinese translations (130+ entries)
localize-agents-zh.ps1 PowerShell script that reads the JSON and updates installed agent files

Usage

After installing agents with install.sh --tool copilot:

# Localize agent names to Chinese
powershell -ExecutionPolicy Bypass -File scripts/i18n/localize-agents-zh.ps1

By default, the script processes:

  • %USERPROFILE%\.github\agents\
  • %USERPROFILE%\.copilot\agents\

Pass custom paths if needed:

powershell -File scripts/i18n/localize-agents-zh.ps1 -TargetDirs @("C:\custom\path\agents")

How It Works

  1. Reads agent-names-zh.json (UTF-8 encoded) for the translation map
  2. For each .md file in the target directories:
    • Extracts the name: field from YAML frontmatter
    • Looks up the Chinese translation
    • Replaces name: and description: fields
    • Writes back as UTF-8

Result

Before:

---
name: Security Engineer
description: Threat modeling, secure code review, security architecture
---

After:

---
name: 安全工程师
description: 威胁建模、安全代码审查与应用安全架构专家
---

Notes

  • Only modifies installed copies (in ~/.github/agents/), not source files
  • Re-run after each install.sh update (which overwrites with English originals)
  • JSON file is the single source of truth for translations — add new agents there
  • Script is pure ASCII (avoids PowerShell encoding issues); all Chinese text lives in the JSON