Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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от 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

  1. Read the requested preference carefully.
  2. 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.md and CLAUDE.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.
  3. If the preference affects both written policy and a skill workflow, update both.
  4. 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.md and <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

  1. Locate the existing rule or the nearest relevant section before adding new text.
  2. Prefer extending or tightening an existing policy instead of creating a duplicate rule elsewhere.
  3. 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.
  4. 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 loads codex/skills through antigravity/skills.json, editing codex/skills updates Codex and Antigravity together; check antigravity/skills.json only 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/skills as already established in that repo.
    • If a repo intentionally documents or already uses visible codex/skills and claude/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.
  5. 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

Полный SKILL.md на GitHub

Установить update-coding-agent-preferences в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

agents/openai.yaml

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), без исполняемых скриптов.

Похожие скиллы

Сравнить update-coding-agent-preferences с