update-coding-agent-preferences
БесплатноБез исполняемых скриптовНе проверенApply persistent or repo-local coding-agent instruction changes across Codex, Claude, and Antigravity in tandem, including related skill updates when a…
от ma08★ 31 звезда на GitHubОб этом скилле
Update Coding Agent Preferences
Update the right instruction files together instead of patching one harness and leaving drift behind. Determine scope first, edit the minimum set of files, then sync and validate the resulting Codex, Claude, and Antigravity copies.
Scope Decision
- Read the requested preference carefully.
- Classify the change before editing:
- Global persistent preference: update
~/pro/botfiles/codex/AGENTS.md,~/pro/botfiles/claude/CLAUDE.md, and~/pro/botfiles/antigravity/AGENTS.md(or the relevant modular rule under~/pro/botfiles/antigravity/rules/). Keep every single Antigravity rule file strictly under 24,000 bytes so it is never truncated. - Project-local preference: update the current repo's
AGENTS.mdandCLAUDE.md(plus.agents/rules/if present) when they exist. If only one exists, update the existing file and note the asymmetry. - Skill-specific behavior: update the matching skill directory in addition to any instruction file that defines the policy.
- Task-only or temporary preference: keep it out of long-lived instruction files unless the user explicitly asks otherwise.
- Global persistent preference: update
- If the preference affects both written policy and a skill workflow, update both.
- If scope is ambiguous, inspect the user's wording and repo context before asking. Ask only when mis-scoping would create durable drift.
File Targets
Use these defaults unless the repo has an explicit local override.
- Global Codex instructions:
~/pro/botfiles/codex/AGENTS.md - Global Claude instructions:
~/pro/botfiles/claude/CLAUDE.md - Global Antigravity core instructions (always on, <24 KB):
~/pro/botfiles/antigravity/AGENTS.md - Global Antigravity modular rules (
model_decision, each <24 KB):~/pro/botfiles/antigravity/rules/*.md - Global canonical skills (Codex + Antigravity via
antigravity/skills.json):~/pro/botfiles/codex/skills/<skill-name>/ - Global Claude skills mirror:
~/pro/botfiles/claude/skills/<skill-name>/ - Global Antigravity skill exclusions:
~/pro/botfiles/antigravity/skills.json - Project instructions:
<repo>/AGENTS.mdand<repo>/CLAUDE.md(plus<repo>/.agents/rules/when used) - Project skills:
<repo>/.codex/skills/<skill-name>/,<repo>/.claude/skills/<skill-name>/, or<repo>/.agents/skills/<skill-name>/(preserve the repo's established layout)
Do not edit machine-managed system skills under ~/.codex/skills/.system/ unless the user explicitly asks for a machine-local change rather than a source-controlled botfiles change.
The visible botfiles trees exist because setup.sh symlinks the user-level global skill directories into source-controlled ~/pro/botfiles/codex/skills and ~/pro/botfiles/claude/skills (and exposes codex/skills to Antigravity via ~/.gemini/config/botfiles-skills + skills.json) for visibility and shared management. Do not generalize codex/skills and claude/skills as the normal project-local convention.
Edit Workflow
- Locate the existing rule or the nearest relevant section before adding new text.
- Prefer extending or tightening an existing policy instead of creating a duplicate rule elsewhere.
- Write Codex, Claude, and Antigravity instructions as semantic counterparts. Preserve each file's local voice, modularity, and byte limits instead of forcing literal line-for-line copies.
- If a skill changes:
- Determine whether the target is a global botfiles skill or a project-local skill.
- Edit the canonical copy first in
codex/skills/(or the repo's established skill root). Because Antigravity loadscodex/skillsthroughantigravity/skills.json, editingcodex/skillsupdates Codex and Antigravity together; checkantigravity/skills.jsononly if exclusions should change. - Preserve the repo's documented or already-established local skill layout. Do not create a second skill root just because another layout is more common.
- For ordinary project-local skills, default to
.agents/skills,.codex/skills, and.claude/skillsas already established in that repo. - If a repo intentionally documents or already uses visible
codex/skillsandclaude/skills, preserve that layout instead of creating hidden roots beside it. - Mirror to Claude with the sync workflow when a counterpart already exists, or when the user explicitly wants a new mirror. One-sided skills are valid; do not create a brand-new counterpart by default.
- Re-read the Claude copy after sync.
- Keep the change localized. Do not touch unrelated instructions, generated assets, or curated upstream skills unless the preference explicitly requires it.
Sync Skill Copies
For source-controlled skills in botfiles, prefer the sync script after editing the canonical codex/skills copy.
python ~/pro/botfiles/codex/skills/sync-agent-skills/scripts/sync_skills.py \
--repo-root ~/pro/botfiles sync --from-side codex --to-side claude \
--skills <skill-name>
Run the sync as a dry-run first. Add `--app
Установить update-coding-agent-preferences в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл update-coding-agent-preferences?
Apply persistent or repo-local coding-agent instruction changes across Codex, Claude, and Antigravity in tandem, including related skill updates when a preference changes a skill's behavior or workflow. Use when the user asks to add, revise, or remove preferences in `AGENTS.md`, `CLAUDE.md`, Antigravity `rules/`, or matching skill files and the change must be classified as global botfiles policy, project-local policy, or skill-specific guidance.
Как установить скилл update-coding-agent-preferences?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл update-coding-agent-preferences запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic