Replace placeholder files with originals from system

Found and copied original files from ~/.claude installation:

- hooks/ - Original Qwen and Ralph hook scripts with full functionality
- commands/ - Original command definitions (brainstorm, write-plan, execute-plan)
- bin/ralphloop - Original 223-line Python wrapper (6,290 bytes)
- scripts/sync-agents.sh - Original sync script with GitHub/Gitea backup
- templates/ - Original config templates from working installation
- plugins/ - Original comprehensive plugin README

Files sourced from:
- ~/.claude/skills/skills/hooks/
- ~/.claude/skills/skills/commands/
- ~/.claude/skills/skills/templates/
- /home/uroma/obsidian-web-interface/bin/ralphloop
- ~/.claude/agents/sync-agents.sh

These are the production files from the working Claude Code
installation, replacing the placeholder files I created earlier.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
uroma
2026-01-23 18:23:28 +00:00
Unverified
parent 62bec9d554
commit 932529d37f
21 changed files with 1439 additions and 898 deletions

View File

@@ -1,40 +1,21 @@
{
"description": "User hooks for Ralph auto-trigger and Qwen consultation",
"hooks": {
"session-start": [
"UserPromptSubmit": [
{
"file": "session-start-superpowers.sh",
"enabled": true,
"description": "Auto-inject superpowers context on session start"
"hooks": [
{
"type": "command",
"command": "/home/uroma/.claude/hooks/ralph-auto-trigger.sh",
"timeout": 5
},
{
"type": "command",
"command": "/home/uroma/.claude/hooks/qwen-consult.sh",
"timeout": 3
}
]
}
],
"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"
]
}
}