update-coding-agent-preferences

Sync global, project-local, and skill-specific preferences across Codex and Claude instruction files.

28|Updated Jan 3, 2026
One-click install
npx skills add https://github.com/ma08/botfiles --skill update-coding-agent-preferences
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: update-coding-agent-preferences
Source: https://github.com/ma08/botfiles/tree/main/claude/skills/update-coding-agent-preferences
Command: npx skills add https://github.com/ma08/botfiles --skill update-coding-agent-preferences

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Updating coding agent preferences (such as rules in AGENTS.md, CLAUDE.md, or skill behavior) requires manually editing files for both Codex and Claude separately, which leads to instruction drift, inconsistent agent behavior, and wasted time reconciling differences between the two ecosystems.

Core Features & Use Cases

  • Scope Classification: Automatically categorizes preference changes as global persistent, project-local, or skill-specific to target the correct files.
  • Cross-Ecosystem Sync: Updates matching Codex and Claude instruction files and skill copies to ensure consistent behavior across both agent platforms.
  • Validation & Edge Case Handling: Validates changes post-edit and handles asymmetric setups (e.g., repos with only one instruction file) or intentional skill forks without creating unwanted duplicates.
  • Use Case: For example, if you want to add a global rule requiring all coding agents to use 2-space indentation, this skill updates both your global AGENTS.md and CLAUDE.md, syncs any affected skill copies, and confirms the changes are consistent across both sides.

Quick Start

Use the update-coding-agent-preferences skill to add a global rule requiring all coding agents to use 2-space indentation across both Codex and Claude.

Frequently Asked Questions about update-coding-agent-preferences

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I sync coding agent preferences between Codex and Claude?

Syncing coding agent preferences between Codex and Claude requires applying minimal targeted edits to matching instruction files like AGENTS.md and CLAUDE.md, then validating that both sides implement the changes consistently to eliminate instruction drift.

What is instruction drift in coding agents and how do I fix it?

Instruction drift in coding agents happens when preference updates are applied to one agent's instruction files but not the other. Fix it by categorizing changes as global, project-local, or skill-specific and syncing edits across both Codex and Claude ecosystems.

How do I update global rules in AGENTS.md and CLAUDE.md at the same time?

Updating global rules in AGENTS.md and CLAUDE.md simultaneously involves classifying the preference change as global persistent and applying the targeted edits to both instruction files, ensuring consistent behavior across both agent platforms.

Does preference sync work if my repo only has one instruction file?

Preference sync handles asymmetric setups by validating changes post-edit and managing repos with only one instruction file, preventing unwanted duplicates while ensuring the available configuration receives the correct updates.

Can I update skill-specific behavior for both Codex and Claude without creating duplicates?

Updating skill-specific behavior syncs affected skill copies across both Codex and Claude while handling intentional skill forks, applying minimal targeted edits and validating post-edit to prevent unwanted duplicates.