Interactively configures CC-ACM (Claude Code Automatic Context Manager) settings by asking the user questions about trigger threshold, snooze duration, summary length, and other preferences. Use when the user wants to customize CC-ACM behavior or runs '/acm:config'.
Interactively configures CC-ACM settings through a conversational questionnaire about thresholds, snooze duration, and summary preferences.
/plugin marketplace add aMilkStack/CC-Automatic-Context-Manager/plugin install amilkstack-cc-acm@aMilkStack/CC-Automatic-Context-ManagerThis skill inherits all available tools. When active, it can use any tool Claude has access to.
You are helping the user configure CC-ACM (Claude Code Automatic Context Manager). This skill guides you through an interactive configuration process where you ask the user questions and save their preferences to ~/.claude/cc-acm.conf.
Follow this conversational flow to configure CC-ACM:
First, check if a config file exists and show current settings:
# Check for existing config
if [ -f ~/.claude/cc-acm.conf ]; then
echo "Current CC-ACM Configuration:"
cat ~/.claude/cc-acm.conf
else
echo "No configuration found. Let's set up CC-ACM!"
fi
Ask the user about each setting in a friendly, conversational way:
Context Trigger Threshold:
Snooze Duration:
Summary Token Length:
Dialog Style:
For each answer:
After all questions are answered, create the config file:
cat > ~/.claude/cc-acm.conf << EOF
# CC-ACM Configuration
# Generated on $(date)
# Context trigger threshold (50-90)
THRESHOLD=${threshold_value}
# Snooze duration in seconds
SNOOZE_DURATION=$((snooze_minutes * 60))
# Summary token length (200-2000)
SUMMARY_TOKENS=${summary_tokens}
# Dialog style (vibrant|minimal)
DIALOG_STYLE="${dialog_style}"
EOF
After saving, offer to reload the configuration:
# Source the new config
source ~/.claude/cc-acm.conf
echo "Configuration saved to ~/.claude/cc-acm.conf"
echo ""
echo "Note: Changes will take effect in new sessions or after running:"
echo " source ~/.claude/cc-acm.conf"
Display a friendly summary of what was configured:
╔═══════════════════════════════════════╗
║ CC-ACM Configuration Saved! ║
╚═══════════════════════════════════════╝
✓ Trigger threshold: 60%
✓ Snooze duration: 5 minutes
✓ Summary length: 500 tokens
✓ Dialog style: vibrant
Your changes will take effect in new sessions.
Want to test it? Run: ~/.claude/scripts/handoff-prompt.sh
USER: /acm:config
ASSISTANT: Let's configure CC-ACM! I'll ask you a few questions about your preferences.
Current settings not found. Let's set up fresh!
First question: At what context percentage should the handoff dialog appear?
The default is 60%, which means you'll get alerted when your session is 60% full.
This gives you plenty of headroom. You can set it anywhere from 50% to 90%.
What would you like? (Press enter for 60%)
If the user wants to:
~/.claude/cc-acm.conf~/.claude/The config file will be sourced by:
install.sh during installation (if exists)handoff-prompt.sh at runtimestatusline-command.sh for threshold valueFormat is simple bash variables that can be sourced directly.