From contextune
Interactive configuration for Contextune features (output style, status bar, CLAUDE.md)
npx claudepluginhub joshuarweaver/cascade-code-general-misc-2 --plugin shakestzd-contextune# Contextune Interactive Configuration **Interactive setup** for Contextune features with guided prompts. **What this configures:** - โจ Extraction-optimized output style (automatic documentation) - ๐จ Status bar integration (optional) - ๐ CLAUDE.md integration (optional) Run `/ctx:configure` and Claude will guide you through interactive prompts. --- ## Quick Start Claude will detect your current setup and present interactive options via dialog prompts. --- ## Interactive Flows ### Flow 1: First-Time Setup (Complete Setup in One Command) When you run `/ctx:configure` and nothing...
/learnDisplays Claude Code best practices guide on sessions, context, memory, modes, CLI shortcuts, worktrees, and prompting. Also supports specific topics and saving session lessons to persistent memory.
/workflowProvides interactive guidance on 5-command Claude Skills Workflow for project lifecycle automation, asking user context to recommend /explore-idea, /plan-project, etc.
/psalmProvides interactive guide to project setup and development topics/workflows like parallel development, code quality, debugging, and prioritization.
/contexteRuns built-in /context command to fetch real token metrics, analyzes usage patterns for inefficiencies, and provides tailored optimization recommendations.
/freainerAutomates Claude Code setup by installing Context7, Playwright, and Draw.io MCPs; configuring LSP servers based on project type; adding notification hooks, env vars, and LSP rules.
/setupRuns autocontext plugin first-run setup wizard via batched questions, configuring identity, test quality rules, lesson loading, persistence, and staleness. Saves to ~/.claude/autocontext.json.
Share bugs, ideas, or general feedback.
Interactive setup for Contextune features with guided prompts.
What this configures:
Run /ctx:configure and Claude will guide you through interactive prompts.
/ctx:configure
Claude will detect your current setup and present interactive options via dialog prompts.
When you run /ctx:configure and nothing is installed, Claude guides you through:
Step 1: "Would you like to install the extraction-optimized output style?"
Step 2 (if Install): "Where should the output style be installed?"
.claude/output-styles/ (git-trackable, team can share)~/.claude/output-styles/ (available everywhere)Step 3: "Would you like to add Contextune to your status bar?"
Result: Complete setup with your preferred configuration โ
If customizations are already installed, Claude offers:
"Manage Contextune configuration"
Current installation displayed (e.g., "Output style: user-level, Status line: โ ")
If you choose to uninstall, Claude shows:
โ ๏ธ Important Warning:
Before disabling the Contextune plugin (
/plugin disable contextune), run this uninstall process FIRST.The plugin's hooks won't be available after disabling, so remove customizations while the plugin is still active.
"Proceed with uninstallation?"
If Uninstall: "Clean up extracted documentation files?"
Result: Clean removal + guidance for plugin disable โ
What it does:
Installation Options:
User-level (~/.claude/output-styles/):
Project-level (.claude/output-styles/):
Benefits:
What it does:
Installation:
/ctx:configure~/.claude/statusline.sh automaticallyDisplay:
Contextune: /ctx:research | /ctx:plan | /ctx:execute
After installing Contextune, these features work immediately:
/ctx:* commands available in autocompleteYou don't need to configure anything! Output style just makes extraction more reliable (99% vs 60%).
For power users who want extra visibility:
These are still manual (not handled by /ctx:configure yet)
Trade-offs:
File: ~/.claude/CLAUDE.md
Add this section:
## Contextune Plugin (Parallel Development)
**Quick Research**: `/ctx:research` - Fast answers using 3 parallel agents (1-2 min, $0.07)
**Planning**: `/ctx:plan` - Create parallel development plans with grounded research
**Execution**: `/ctx:execute` - Run tasks in parallel using git worktrees
**Monitoring**: `/ctx:status` - Check progress across all worktrees
**Cleanup**: `/ctx:cleanup` - Remove completed worktrees and branches
**Natural Language Examples:**
- "research best React state libraries" โ Triggers `/ctx:research`
- "create parallel plan for auth, dashboard, API" โ Triggers `/ctx:plan`
- "what can Contextune do?" โ Activates `intent-recognition` skill
**Skills (Auto-Activated):**
- `parallel-development-expert` - Suggests parallelization when you mention multiple tasks
- `intent-recognition` - Helps discover Contextune capabilities
**Cost Optimization**: Uses Haiku agents (87% cheaper than Sonnet) for execution.
Full documentation: Type `/ctx:research what can Contextune do?`
How to add:
# 1. Open CLAUDE.md
code ~/.claude/CLAUDE.md
# 2. Add the section above anywhere in the file
# 3. Save and restart Claude Code session
Cost: ~150 tokens per session (loaded at session start)
File: ~/.claude/statusline.sh
Add this section before the final echo command:
# Section: Contextune Commands (if plugin installed)
if grep -q '"slashsense@Contextune".*true' ~/.claude/settings.json 2>/dev/null; then
OUTPUT="${OUTPUT} | ${YELLOW}Contextune:${RESET} /ctx:research | /ctx:plan | /ctx:execute"
fi
How to add:
# 1. Open statusline.sh
code ~/.claude/statusline.sh
# 2. Find the line near the end that starts with: echo -e "$OUTPUT"
# 3. Add the section above BEFORE that echo line
# 4. Save (changes apply immediately on next status bar refresh)
Cost: Zero context (UI-only display)
Run this command to check Contextune installation:
# Check if plugin is enabled
grep -A 2 '"slashsense@Contextune"' ~/.claude/settings.json
# List available skills
ls -la ~/.claude/plugins/*/skills/*/SKILL.md
# List available commands
ls -la ~/.claude/plugins/*/commands/*.md | grep ss-
Expected output:
"slashsense@Contextune": trueparallel-development-expert, intent-recognitionss-research, ss-plan, ss-execute, ss-status, ss-cleanup, ss-stats, ss-verifyMost users: Don't customize!
Power users who want extra visibility:
Only if you really want persistent context:
Q: Contextune commands not appearing?
/plugin list # Verify plugin is installed and enabled
/plugin enable slashsense # Enable if disabled
Q: Skills not activating?
# Check skills exist
ls ~/.claude/plugins/marketplaces/Contextune/skills/
# Expected: parallel-development-expert/, intent-recognition/
Q: Hook not detecting intents?
# Check hook is registered
cat ~/.claude/plugins/marketplaces/Contextune/hooks/hooks.json
# Expected: UserPromptSubmit hook with user_prompt_submit.py
Built-in (no setup):
Optional customizations (manual):
Need help?
/ctx:research what can Contextune do?cat ~/.claude/plugins/marketplaces/Contextune/README.md