cyberneticlibrary

Update Claude environment preferences

upcommandsetup L127
jleechanorg/claude-commands
What it does

Update all agent instruction files with new rule

Best for

Synchronizing new project or environment preferences across all AI tools (Claude, Codex, Gemini, Cursor) in a single command.

Inputs
  • · plain-English instruction describing preference or rule
Outputs
  • · updated ~/.claude/CLAUDE.md
  • · updated ~/.codex/AGENTS.md
  • · updated ~/.gemini/GEMINI.md
  • · created/updated ~/.cursor/rules/env-preferences.mdc
Requires
  • · Edit and Read tools
  • · file system access to home directory
Preconditions
  • · target files readable/writable
  • · instruction phrased clearly (1-4 lines per file)
Failure modes
  • · file missing (created automatically)
  • · section not found (appended to file)
  • · unrelated content accidentally modified (edit failure)
Trust signals
  • · per-file confirmation feedback
  • · style consistency with existing file content
  • · summary table of changes