Skip to content

Instantly share code, notes, and snippets.

@tobert
Created December 12, 2025 00:47
Show Gist options
  • Select an option

  • Save tobert/130f9a596276b2af6a1ce26da2a80668 to your computer and use it in GitHub Desktop.

Select an option

Save tobert/130f9a596276b2af6a1ce26da2a80668 to your computer and use it in GitHub Desktop.
opencode config for local llama.cpp (Qwen3-30B-A3B on Radeon 8060S) + sample output
{
"$schema": "https://opencode.ai/config.json",
"model": "llama/qwen3-30b-a3b",
"provider": {
"llama": {
"npm": "@ai-sdk/openai-compatible",
"options": {
"baseURL": "http://localhost:2020/v1"
},
"models": {
"qwen3-30b-a3b": {
"name": "Qwen3-30B-A3B",
"tools": true,
"reasoning": true
},
"qwen3-14b": {
"name": "Qwen3-14B",
"tools": true
}
}
}
},
"agent": {
"build": {
"model": "llama/qwen3-30b-a3b",
"prompt": "Think first. Ask if unclear. Uncertainty: valid.\nSimple > clever. Direct > verbose. Working > perfect.\nFail fast. Errors: returned. Telemetry: everywhere.\n\n🐧 arch btw · rocm · ✨\n🦀 rust || go || lua → idiomatic && typed && named"
},
"plan": {
"model": "llama/qwen3-30b-a3b",
"prompt": "Think first. Ask if unclear. Uncertainty: valid.\nSimple > clever. Direct > verbose. Working > perfect.\nFail fast. Errors: returned. Telemetry: everywhere.\n\n🐧 arch btw · rocm · ✨\n🦀 rust || go || lua → idiomatic && typed && named"
},
"explore": {
"model": "llama/qwen3-30b-a3b",
"prompt": "Think first. Ask if unclear. Uncertainty: valid.\nSimple > clever. Direct > verbose. Working > perfect.\nFail fast. Errors: returned. Telemetry: everywhere.\n\n🐧 arch btw · rocm · ✨\n🦀 rust || go || lua → idiomatic && typed && named"
},
"general": {
"model": "llama/qwen3-30b-a3b",
"prompt": "Think first. Ask if unclear. Uncertainty: valid.\nSimple > clever. Direct > verbose. Working > perfect.\nFail fast. Errors: returned. Telemetry: everywhere.\n\n🐧 arch btw · rocm · ✨\n🦀 rust || go || lua → idiomatic && typed && named"
}
}
}
# Output from Qwen3-30B-A3B running on Radeon 8060S via llama.cpp
#
# Prompt 1: "List the markdown files in this repo and propose how to organize
# them. Some might belong in docs/, some might be outdated, README.md is empty.
# do not make any changes."
#
# Prompt 2: "write a shell script in /tmp/reorg.sh that would do all the mkdirs,
# mv, etc. so I can review it before execution. include commentary. read docs as
# needed to create summaries and a rating of how relevant they might still be.
# some are quite old or complete plans or abandoned ideas."
# ---
#!/bin/bash
# Shell script to reorganize markdown documentation
# Created: $(date)
# Review carefully before execution
# Create necessary directories
mkdir -p /home/atobey/src/halfremembered-mcp/docs/agents/plans/{01-primitives,02-graph,03-musical-domain,04-lua,05-agent-collaboration,06-dynamic-cli,07-graph-tools,08-rmcp-session-resilience,09-streamable-http-migration,10-streamable-http-review,11-luanette-zmq,12-holler}
mkdir -p /home/atobey/src/halfremembered-mcp/docs/visions/live-at-st-cecilias/{01-overture,03-conversation,04-chaos-garden}
mkdir -p /home/atobey/src/halfremembered-mcp/docs/archive/agents_plans
mkdir -p /home/atobey/src/halfremembered-mcp/docs/agents/plans/luanette
mkdir -p /home/atobey/src/halfremembered-mcp/docs/agents/plans/llm-chat-tools
# Move files with commentary
# Agent development plans
mv /home/atobey/src/halfremembered-mcp/docs/agents/plans/01-primitives.md /home/atobey/src/halfremembered-mcp/docs/agents/plans/01-primitives/
# Summary: Basic agent components and primitives
# Relevance: ⭐⭐⭐⭐ (Foundational concepts)
mv /home/atobey/src/halfremembered-mcp/docs/agents/plans/02-graph.md /home/atobey/src/halfremembered-mcp/docs/agents/plans/02-graph/
# Summary: Graph-based architecture patterns
# Relevance: ⭐⭐⭐⭐⭐ (Central to system design)
mv /home/atobey/src/halfremembered-mcp/docs/agents/plans/03-musical-domain/plan.md /home/atobey/src/halfremembered-mcp/docs/agents/plans/03-musical-domain/
# Summary: Musical domain modeling
# Relevance: ⭐⭐⭐⭐⭐ (Core to audio AI)
# Move outdated plans to archive
mv /home/atobey/src/halfremembered-mcp/docs/agents/plans/archive-00-init-obsolete/* /home/atobey/src/halfremembered-mcp/docs/archive/agents_plans/
# Summary: Early experimental designs
# Relevance: ⭐⭐ (Historical value only)
# Organize vision documents
mv /home/atobey/src/halfremembered-mcp/docs/visions/live-at-st-cecilias/01-overture.md /home/atobey/src/halfremembered-mcp/docs/visions/live-at-st-cecilias/01-overture/
# Summary: Event introduction and goals
# Relevance: ⭐⭐⭐⭐ (Contextual value)
# Move LLM chat tools documentation
mv /home/atobey/src/halfremembered-mcp/docs/agents/plans/llm-chat-tools/* /home/atobey/src/halfremembered-mcp/docs/agents/plans/llm-chat-tools/
# Summary: LLM integration patterns
# Relevance: ⭐⭐⭐⭐⭐ (Critical for current work)
# Update README.md with new structure
# (Manual step: Add a comprehensive overview of the documentation hierarchy)
# Verify moves
echo "\nReorganization plan:
$(ls -R /home/atobey/src/halfremembered-mcp/docs/)
\nReview all moves above before executing.\nUse 'bash /tmp/reorg.sh' to apply, but first ensure:
1. You've backed up important files
2. You've checked for file conflicts"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment