repo-skill-maintenance
БесплатноБез исполняемых скриптовНе проверенMaintain repo-managed agent skills across `.claude/skills` and `.codex/skills`, including targeted sync, validation, index regeneration, drift checks, and…
от ThalesGroup★ 23 звезды на GitHubОб этом скилле
Repo Skill Maintenance
Use this skill when working on the shared skill trees in agilab.
The goal is to keep one canonical source for shared skills, keep the repo Codex mirror valid, and avoid the accidental bulk-sync regressions that can overwrite newer Codex-specific content.
Canonical contract
The paths and executable recipe below apply to the public AGILAB checkout.
Before using them elsewhere, resolve the destination's AGENTS.md, canonical
skill root, synchronizer, and any submodule pin. If that contract differs, use
the destination's documented workflow instead of running AGILAB's commands or
creating its directory layout. Edit a real directory once when provider roots
alias it; never bypass a pinned mirror by copying from a live sibling checkout.
- Shared source of truth:
.claude/skills/ - Repo Codex mirror:
.codex/skills/ - Tokki skill source: the canonical
.claude/skills/tree, read directly withtokki skills list --skills-dir .claude/skills --json. Tokki has no repo mirror; do not create.tokki/skillsor.agilab/skillscopies. - Personal or tool-managed home skills:
~/.agents/skills/for portable copies owned by upstream installers; current Codex also scans this cross-agent location~/.codex/skills/for Codex-installer-managed and existing Codex-specific local skills~/.codex/skills/.system/for system-managed skills
Do not duplicate the same named user skill across home roots merely to make it appear in one already-running session. Check the agent's refreshed skill inventory; if discovery does not refresh, start a new turn or restart Codex.
Do not hand-edit both repo trees for the same shared skill.
Placement policy
Repo-managed skills in this public checkout must be:
- AGILAB-specific
- cross-repo reusable for AGILAB work
- or direct support for this repository's workflow, validation, docs, release, packaging, UI, or example maintenance
Keep these out of the public repo-managed trees:
- personal productivity skills
- private CV, recruiting, or career skills
- non-AGILAB domain skills
- skills whose examples depend on private customer/program context
- machine-local skills with hard-coded usernames, absolute private paths, or personal service accounts
Keep an upstream installer's portable copy in ~/.agents/skills/, use
~/.codex/skills/ when the Codex skill installer owns the copy, and use the
relevant private repo for private-domain skills. Do not relocate or duplicate
an installer-owned skill merely to normalize these home roots.
When to use
- Add a new shared repo skill
- Update an existing shared skill
- Migrate a user-managed skill from
~/.agents/skillsor~/.codex/skillsinto the repo - Reconcile drift between the Claude and Codex repo skill trees
- Refresh the generated Codex skill index after skill changes
Workflow
- Identify whether the skill is:
- shared repo skill
- repo-specific domain skill
- personal home-only skill
- system/plugin-managed skill
If the skill is personal, career-related, or otherwise not an AGILAB workflow asset,
stop and keep it out of the repo-managed trees.
If the skill belongs in the public repo but needs local examples, use placeholders
such as
<repo>,<apps-repo>,<space-owner>,$HOME, or relative paths instead of maintainer-specific absolute paths.
- For shared repo skills, edit
.claude/skills/<skill>/first. - Keep the skill self-contained:
SKILL.md- optional
agents/openai.yaml - optional
references/,scripts/,assets/
- Sync only the intended skill or skills into
.codex/skills/. The sync validates the canonical tree first, then regenerates the Codex skill index, badges, catalog, capability manifest, and agenticweb surfaces, and finishes by verifying Tokki skill visibility:
python3 tools/sync_agent_skills.py --skills <skill-name> [<skill-name> ...]
- Confirm the Codex index plus public agent discovery surfaces are valid and current. The sync in step 4 already regenerated them; rerun these explicitly after manual reconciliation or when in doubt:
python3 tools/codex_skills.py --root .codex/skills validate --strict
python3 tools/codex_skills.py --root .codex/skills generate
python3 tools/agent_skill_catalog.py --apply
python3 tools/agilab_capabilities_manifest.py --apply
python3 tools/agenticweb_manifest.py --apply
- Check the generated surfaces before committing:
python3 tools/agent_skill_catalog.py --check
python3 tools/agilab_capabilities_manifest.py --check
python3 tools/agenticweb_manifest.py --check
python3 tools/agent_instruction_contract.py --check
- Verify tree drift and Tokki skill visibility with the read-only check. It
compares the canonical and mirror trees file by file, then confirms the
Tokki agent enumerates every canonical skill (skipped with a notice when
the
tokkiCLI is not installed). The command is registered as a Tokki
Установить repo-skill-maintenance в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл repo-skill-maintenance?
Maintain repo-managed agent skills across `.claude/skills` and `.codex/skills`, including targeted sync, validation, index regeneration, drift checks, and Tokki skill visibility. Use when adding or updating a shared skill, migrating a user-managed skill into the repo, or reconciling agent skill copies without overwriting unrelated skills.
Как установить скилл repo-skill-maintenance?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл repo-skill-maintenance запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic