/amplihack:customize <action> [preference] [value]from amplihack
Manages user preferences, workflow selection, and feedback learning. Supports set, show, reset, learn, list-workflows, show-workflow, and set-workflow subcommands.
Ships in amplihack. Installing the plugin adds it to Claude Code.
@~/.amplihack/.claude/context/AGENT_INPUT_VALIDATION.md
/amplihack:customize <action> [preference] [value]
/amplihack:customize set <preference> <value>
Sets or updates a user preference. Examples:
/amplihack:customize set verbosity concise/amplihack:customize set communication_style technical/amplihack:customize set priority_type bugs/amplihack:customize show
Shows all current user preferences and their values.
/amplihack:customize reset [preference]
Resets a specific preference or all preferences to defaults.
/amplihack:customize reset verbosity - resets verbosity to default/amplihack:customize reset - resets all preferences/amplihack:customize learn <feedback>
Captures user feedback to improve future interactions.
/amplihack:customize learn "Always include unit tests when creating new functions"/amplihack:customize learn "Prefer async/await over callbacks"/amplihack:customize list-workflows
Displays available workflow skills/recipes with descriptions.
Example output:
Available Workflows:
1. DEFAULT_WORKFLOW
Description: Standard workflow for most development tasks
Canonical target: `default-workflow` skill/recipe
Steps: 15
Best for: Features, bug fixes, refactoring, day-to-day work
2. CONSENSUS_WORKFLOW
Description: Enhanced workflow with consensus mechanisms
Canonical target: `consensus-workflow` skill/recipe
Steps: 15
Best for: Critical tasks, ambiguous requirements, architectural changes
Current Selection: DEFAULT_WORKFLOW
/amplihack:customize show-workflow <workflow_name>
Shows the content of a specific workflow file.
/amplihack:customize show-workflow DEFAULT_WORKFLOW/amplihack:customize show-workflow CONSENSUS_WORKFLOW/amplihack:customize set-workflow <workflow_name>
Changes the active workflow in USER_PREFERENCES.md.
/amplihack:customize set-workflow CONSENSUS_WORKFLOW - Switch to consensus workflow/amplihack:customize set-workflow DEFAULT_WORKFLOW - Switch back to default/amplihack:customize set-workflow MY_CUSTOM_WORKFLOW - Switch to custom workflowControls automatic updating of .claude/ directory when version mismatch detected:
Comma-separated list of preferred programming languages/frameworks
Example: python,typescript,react
Custom coding standards or guidelines (can be multi-line)
Custom workflow requirements or gates
Controls the depth of consensus mechanisms when using CONSENSUS_WORKFLOW:
Use set command to change:
/amplihack:customize set consensus_depth quick/amplihack:customize set consensus_depth balanced/amplihack:customize set consensus_depth comprehensiveNote: Workflow selection (DEFAULT_WORKFLOW vs CONSENSUS_WORKFLOW) is managed via dedicated workflow commands (list-workflows, show-workflow, set-workflow).
This command is a prompt that instructs Claude Code to use its native tools (Read, Edit, Write) to manage the USER_PREFERENCES.md file.
When you invoke this command, follow these steps:
~/.amplihack/.claude/context/USER_PREFERENCES.mdExample for setting verbosity to concise:
Use Edit tool on .claude/context/USER_PREFERENCES.md:
old_string: "### Verbosity\n\nbalanced"
new_string: "### Verbosity\n\nconcise"
Then update timestamp:
old_string: "_Last updated: [old timestamp]_"
new_string: "_Last updated: [current timestamp]_"
~/.amplihack/.claude/context/USER_PREFERENCES.mdIf resetting a specific preference:
~/.amplihack/.claude/context/USER_PREFERENCES.mdIf resetting all preferences:
~/.amplihack/.claude/context/USER_PREFERENCES.md with the default template (see below)Default template structure:
# User Preferences
**MANDATORY ENFORCEMENT**: All agents and Claude Code MUST strictly follow these preferences. These are NOT advisory - they are REQUIRED behavior that CANNOT be optimized away or ignored.
This file contains user-specific preferences and customizations that persist across sessions.
## Core Preferences
### Verbosity
balanced
### Communication Style
technical
### Update Frequency
regular
### Priority Type
balanced
### Collaboration Style
interactive
### Preferred Languages
(not set)
### Coding Standards
(not set)
### Workflow Preferences
(not set)
## Learned Patterns
<!-- User feedback and learned behaviors will be added here -->
---
_Last updated: [current timestamp]_
~/.amplihack/.claude/context/USER_PREFERENCES.md### [timestamp]\n\n[feedback text]\n\nExample:
Use Edit tool on .claude/context/USER_PREFERENCES.md:
old_string: "## Learned Patterns\n\n<!-- User feedback and learned behaviors will be added here -->"
new_string: "## Learned Patterns\n\n<!-- User feedback and learned behaviors will be added here -->\n\n### [2025-09-29 10:30:00]\n\nAlways include unit tests when creating new functions\n"
ls -1 /Users/you/src/tempsaturday/worktree-issue-968/.claude/workflow/*.md | grep -v README.md | grep -v templates
~/.amplihack/.claude/context/USER_PREFERENCES.md to get current selection:
~/.amplihack/.claude/workflow/{workflow_name}.md~/.amplihack/.claude/workflow/{workflow_name}.md~/.amplihack/.claude/context/USER_PREFERENCES.mdold_string: "**Selected Workflow**: [current_workflow]"
new_string: "**Selected Workflow**: {workflow_name}"
old_string: "_Last updated: [old_timestamp]_"
new_string: "_Last updated: [current_timestamp]_"
Before making changes, validate:
Preference names must match exactly (case-insensitive matching is acceptable):
Enumerated values must match allowed options:
Free-form values (preferred_languages, coding_standards, workflow_preferences) can be any non-empty string
If validation fails, provide clear error message and do NOT modify the file
~/.amplihack/.claude/context/USER_PREFERENCES.md doesn't exist, create it with the default templateThis command integrates with the project by:
~/.amplihack/.claude/context/USER_PREFERENCES.mdPreferences follow this priority hierarchy (highest to lowest):
What the command file sets; muted values are Claude Code's defaults
user-preferences, workflow-management, customization, feedback
7-day visitors to each command page
npx claudepluginhub rysweet/amplihack-rs --plugin amplihack14 commands in this plugin
/analyzeamplihack:analyzeComprehensive code analysis and philosophy compliance review/autoamplihack:autoAutonomous multi-turn agentic loop for complex implementations/fixamplihack:fixRapid diagnosis and fix for common issues/improveamplihack:improveContinuous self-improvement with simplicity validation/installamplihack:installInstall amplihack framework and tools/lockamplihack:lockEnable continuous work mode without stoppingOther plugins' commands for the same job