Agent skill · ma08

update-coding-agent-preferences

Apply persistent or repo-local coding-agent instruction changes across Codex and Claude 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`, or matching skill files and the change must be classified as global botfiles policy, project-local policy, or skill-specific guidance.

What it needs

About 4k tokens when loaded.

What this skill does

Update Coding Agent Preferences Update the right instruction files together instead of patching one side and leaving drift behind. Determine scope first, edit the minimum set of files, then sync and validate the resulting Codex and Claude copies. Scope Decision 1. Read the requested preference carefully. 2. Classify the change before editing: Global persistent preference: update ~/pro/botfiles/codex/AGENTS.md and ~/pro/botfiles/claude/CLAUDE.md. Project-local preference: update the current repo's AGENTS.md and CLAUDE.md when both 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 Codex skills: ~/pro/botfiles/codex/skills/<skill-name>/ Global Claude skills: ~/pro/botfiles/claude/skills/<skill-name>/ Project Codex instructions: <repo>/AGENTS.md Project Claude instructions: <repo>/CLAUDE.md Project Codex skills: <repo>/.codex/skills/<skill-name>/ Project Claude skills: <repo>/.claude/skills/<skill-name>/ 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. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills ma08/update-coding-agent-preferences--156cf4

View the source on GitHub

Browse the @skills marketplace