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>
22 lines
391 B
Bash
Executable File
22 lines
391 B
Bash
Executable File
#!/bin/bash
|
|
# Simple Qwen Consultation Script
|
|
# Usage: consult-qwen.sh "your question here"
|
|
|
|
set -euo pipefail
|
|
|
|
QUESTION="${1:-}"
|
|
|
|
if [[ -z "$QUESTION" ]]; then
|
|
echo "Usage: $0 \"your question\""
|
|
exit 1
|
|
fi
|
|
|
|
echo "=== Consulting Qwen ==="
|
|
echo "Question: $QUESTION"
|
|
echo ""
|
|
echo "Qwen's Response:"
|
|
echo "---"
|
|
|
|
# Run Qwen with the question
|
|
echo "$QUESTION" | timeout 30 qwen -p - 2>&1
|