THOUGHT/LAB/TURBO_SWARM/agents_skills_alpha/qwen-cli/SKILL.md
<!-- CONTENT_HASH: 0f69dfe537f3e6cd8b1fdb353c9ab7c031ef8b08379fde8a98c137bb604d799d --> # Qwen CLI - Local AI Assistant **Version:** 1.0.0 **Status:** Active **Required_Canon_Version:** >=2.0.0 **Purpose**: Provides a local CLI interface to Qwen 7B via Ollama for fast, offline AI assistance. **Model**: Qwen2.5 7B (via Ollama) **Use Cases**: - Quick code questions without cloud API costs - Offline development assistance - Fast prototyping and testing - Private/sensitive code analysis ## F
npx skillsauth add reneromero08/agent-governance-system THOUGHT/LAB/TURBO_SWARM/agents_skills_alpha/qwen-cliInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Version: 1.0.0
Status: Active
Required_Canon_Version: >=2.0.0
Purpose: Provides a local CLI interface to Qwen 7B via Ollama for fast, offline AI assistance.
Model: Qwen2.5 7B (via Ollama)
Use Cases:
# Ask a question
qwen.bat "How do I parse JSON in Python?"
# Analyze a file
qwen.bat "Explain this code" CORTEX/embeddings.py
# Interactive mode
qwen.bat
# Direct question
python qwen_cli.py "What is a generator in Python?"
# With file context
python qwen_cli.py "Review this code" --file CORTEX/semantic_search.py
# Interactive REPL
python qwen_cli.py --interactive
# Specify model
python qwen_cli.py "question" --model qwen2.5:14b
# Control output length
python qwen_cli.py "question" --max-tokens 1000
# System prompt
python qwen_cli.py "question" --system "You are a Python expert"
# Save conversation
python qwen_cli.py --interactive --save conversation.json
Install Ollama (if not already):
Pull Qwen Model:
ollama pull qwen2.5:7b
Verify Installation:
ollama list
Available Qwen models via Ollama:
qwen2.5:0.5b - Fastest, smallest (500MB)qwen2.5:1.5b - Fast, lightweight (1.5GB)qwen2.5:7b - Default, balanced (4.7GB)qwen2.5:14b - More capable (8.9GB)qwen2.5:32b - Most capable (19GB)qwen2.5-coder:7b - Code-specializedEdit config.json to set defaults:
{
"model": "qwen2.5:7b",
"temperature": 0.7,
"max_tokens": 2000,
"system_prompt": "You are a helpful coding assistant.",
"stream": true
}
qwen.bat "Explain what this function does" CORTEX/embeddings.py
qwen.bat "Why am I getting AttributeError: 'Row' object has no attribute 'get'?"
qwen.bat "Write a function to calculate Fibonacci numbers in Python"
python qwen_cli.py "Review this for bugs" --file demo_semantic_dispatch.py
The Qwen CLI integrates with the Agent Governance System:
--save for important sessionsOllama not found:
# Check if running
ollama list
# Start service (Windows)
# Ollama runs as a system service after install
Model not available:
ollama pull qwen2.5:7b
Slow responses:
qwen2.5:1.5bConnection refused:
# Check Ollama is running
curl http://localhost:11434/api/tags
qwen.bat - Windows batch wrapperqwen_cli.py - Main Python CLIconfig.json - ConfigurationSKILL.md - This filedevelopment
<!-- CONTENT_HASH: b22de257a144f83b390075074e3d6a4552ecbc1ec53fc5d4960c6e76dc9807dd --> # Skill: swarm-orchestrator **Version:** 0.1.0 **Status:** Active **required_canon_version:** ">=3.0.0 <4.0.0" **canon_version:** "3.0.0" # Swarm Orchestrator Launches and coordinates Governor + Ant Workers. ## Usage ```bash # Launch Governor python scripts/poll_and_execute.py --role Governor # Launch Ant Workers python scripts/poll_and_execute.py --role Ant-1 python scripts/poll_and_execute.py --role A
tools
<!-- CONTENT_HASH: 9bd07a4ed03d6eea49673a43682a62ca7df8b0cabb7ff424ac91cd35e9e7bea7 --> # Skill: swarm-directive **Version:** 0.1.0 **Status:** Draft **required_canon_version:** ">=2.8.0 <3.0.0" # Swarm Directive Skill Send tasks to your CATALYTIC-DPT swarm from Claude Code, Kilo CLI, or Cline CLI. ## Quick Start ### Option 1: Direct CLI Command (Simplest) ```bash cd "d:\CCC 2.0\AI\agent-governance-system" # Create input cat > /tmp/swarm_task.json << 'EOF' { "directive": "Analyze the
development
<!-- CONTENT_HASH: 7b643dca3adc4d38de7030cb1e962a5130ea4b36ae04ad4bf97ed8889de2a3dc --> # Skill: governor **Version:** 0.1.0 **Status:** Active **required_canon_version:** ">=3.0.0 <4.0.0" **canon_version:** "3.0.0" # Governor The Conductor - analyzes, decomposes, and dispatches tasks to Ant Workers. ## Usage ```bash python scripts/run.py input.json output.json ``` ## Input Schema ```json { "gemini_prompt": "Analyze D:/path/to/files and summarize", "task_id": "analyze-001", "command
development
<!-- CONTENT_HASH: 3151aa479f66e2897d0f86c904a19fbdb4233d1e56666f440be4173011656ee0 --> # AGI Hardener Skill **Version:** 1.0.0 **Status:** Experimental **Required_Canon_Version:** >=2.0.0 ## Purpose Hardens the external AGI repository (`D:/CCC 2.0/AI/AGI`) to follow AGS engineering standards. ## What It Does Applies automated fixes to Python files: 1. **Bare Excepts**: Converts `except:` to `except Exception as e:` with logging 2. **UTF-8 Encoding**: Adds `encoding='utf-8'` to `open()`