Add missing repository components for complete supercharge.sh installation

Added all directories and files expected by supercharge.sh:

- hooks/ (5 hook scripts for session management and AI consultation)
- commands/ (3 custom slash commands: brainstorm, write-plan, execute-plan)
- plugins/ (plugin references for glm-plan, rust-analyzer, marketplaces)
- bin/ralphloop (Ralph Orchestrator wrapper for autonomous iteration)
- scripts/sync-agents.sh (agent synchronization script)
- templates/ (config templates: settings, hooks, config.json)

This completes the repository structure so supercharge.sh can install
all components without warnings.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
uroma
2026-01-23 18:21:03 +00:00
Unverified
parent cdd3281e21
commit 62bec9d554
20 changed files with 1007 additions and 0 deletions

45
templates/README.md Normal file
View File

@@ -0,0 +1,45 @@
# Configuration Templates
This directory contains template configuration files for Claude Code.
## Files
| File | Purpose | Location After Install |
|------|---------|----------------------|
| `settings.json` | Main Claude Code settings | `~/.claude/settings.json` |
| `settings.local.json` | Local permissions and settings | `~/.claude/settings.local.json` |
| `hooks.json` | Hook configuration | `~/.claude/hooks.json` |
| `config.json` | Marketplace and plugins config | `~/.claude/config.json` |
## Installation
The `supercharge.sh` script will install these templates if they don't already exist.
Existing configurations are preserved - templates are only installed if the target file doesn't exist.
## Settings Overview
### settings.json
- **cursorFormatting**: How to format code cursors
- **skills**: Auto-load skills and priorities
- **hooks**: Hook configuration
### settings.local.json
- **permissions**: Allowed prompt patterns
- **local**: Local environment settings
### hooks.json
- **session-start**: Hooks that run when session starts
- **user-prompt**: Hooks that run on each user prompt
- **environment**: Environment variables for hooks
### config.json
- **marketplaces**: Plugin marketplace sources
- **plugins**: Plugin sources
- **agents**: Agent sync sources
## Customization
After installation, edit the files in `~/.claude/` to customize your setup.
Templates will not be overwritten on subsequent runs - your changes are preserved.

25
templates/config.json Normal file
View File

@@ -0,0 +1,25 @@
{
"marketplaces": {
"obra/superpowers-marketplace": "https://github.com/obra/superpowers-marketplace"
},
"plugins": {
"sources": [
"https://github.com/anthropics/claude-code-plugins"
]
},
"agents": {
"syncOnStartup": true,
"sources": [
{
"url": "https://github.com/anthropics/anthropic-agents",
"branch": "main",
"enabled": true
},
{
"url": "https://github.com/contains-cafe/studio-agents",
"branch": "main",
"enabled": true
}
]
}
}

40
templates/hooks.json Normal file
View File

@@ -0,0 +1,40 @@
{
"hooks": {
"session-start": [
{
"file": "session-start-superpowers.sh",
"enabled": true,
"description": "Auto-inject superpowers context on session start"
}
],
"session-end": [],
"user-prompt": [
{
"file": "qwen-consult.sh",
"enabled": true,
"description": "Qwen AI consultation on complex tasks"
},
{
"file": "ralph-auto-trigger.sh",
"enabled": false,
"description": "Auto-trigger Ralph for autonomous iteration"
},
{
"file": "consult-qwen.sh",
"enabled": true,
"description": "Qwen consultation wrapper"
}
],
"tool-use": [],
"response": []
},
"environment": {
"RALPH_AGENT": "claude",
"RALPH_MAX_ITERATIONS": "100",
"RALPH_MAX_RUNTIME": "14400",
"QWEN_CONSULT_MODE": "delegate",
"QWEN_MODEL": "qwen-coder-plus",
"QWEN_MAX_ITERATIONS": "3",
"AUTO_SUPERPOWERS": "true"
}
}

28
templates/settings.json Normal file
View File

@@ -0,0 +1,28 @@
{
"cursorFormatting": "compact",
"inlineChatPreview": "compact",
"ensureConsistency": true,
"experimentalFeatures": {
"contextMenu": true,
"debugTools": true
},
"permissions": {},
"skills": {
"autoLoad": [
"always-use-superpowers",
"auto-superpowers"
],
"priority": {
"always-use-superpowers": 9999
}
},
"hooks": {
"session-start": [
"session-start-superpowers.sh"
],
"user-prompt": [
"qwen-consult.sh",
"ralph-auto-trigger.sh"
]
}
}

View File

@@ -0,0 +1,10 @@
{
"permissions": {
"allowedPrompts": []
},
"local": {
"autoSuperpowers": true,
"ralphAuto": false,
"qwenConsultMode": "delegate"
}
}