Set up and configure development workspaces
Builds a reusable multi-project automation system with semantic routing, RAG, and modular agents. Use this to scaffold new development workspaces with intelligent resource selection and isolated project configurations.
/plugin marketplace add mindmorass/reflex/plugin install reflex@mindmorass-reflexThis skill inherits all available tools. When active, it can use any tool Claude has access to.
Master specification for building the agentic workflow system. This skill is reference documentation - use component-specific skills for building.
This workspace provides a reusable, multi-project automation system with:
┌─────────────────────────────────────────────────────────────────┐
│ USER QUERY │
└─────────────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────────┐
│ SEMANTIC ROUTER │
│ Tier 1: Category (command | agent | skill | workflow) │
│ Tier 2: Specific resource (e.g., "researcher" agent) │
└─────────────────────────────────────────────────────────────────┘
│
┌───────────────┼───────────────┐
▼ ▼ ▼
┌─────────┐ ┌─────────┐ ┌─────────┐
│Commands │ │ Agents │ │Workflows│
└─────────┘ └─────────┘ └─────────┘
│
▼
┌─────────────────┐
│ RAG Server │
│ (Qdrant) │
└─────────────────┘
Build in this sequence for incremental testing:
skills/rag-builder/SKILL.mdskills/router-builder/SKILL.mdskills/agent-builder/SKILL.md# Why Qdrant:
# - High performance vector search
# - Production-ready with persistence
# - REST and gRPC APIs
# - Excellent filtering capabilities
from qdrant_client import QdrantClient
client = QdrantClient(url="http://localhost:6333")
# Collections managed via MCP server with COLLECTION_NAME env var
# Shared across RAG and Router
# - Fast (384 dimensions)
# - Good quality
# - Runs locally
from sentence_transformers import SentenceTransformer
model = SentenceTransformer('all-MiniLM-L6-v2')
# Why Semantic Router:
# - ~10ms decisions (not LLM calls)
# - Scales to 1000s of resources
# - Same embeddings as RAG
from semantic_router import Route, RouteLayer
config/base.yaml # Defaults (version controlled)
config/local.yaml # Overrides (git-ignored)
.env # Secrets (git-ignored)
# Clone template
git clone <repo> project-alpha
cd project-alpha
# Initialize project
./scripts/init-project.sh project-alpha
# Creates:
# - .env.project-alpha (credentials)
# - config/profiles/project-alpha.yaml
# - Isolated RAG collections
# Command Name
You are executing the **command-name** command.
## Instructions
1. First step
2. Second step
3. Output format
## Output
Describe expected output format.
# Agent Name
You are a specialized **Agent Name** focused on [domain].
## Core Capabilities
1. Capability one
2. Capability two
## Tools Available
- `tool_name`: Description
## Operating Principles
- Principle one
- Principle two
## Output Standards
- Standard one
- Standard two
routes:
- name: resource-name
utterances:
- "example phrase one"
- "example phrase two"
- "variation three"
- "variation four"
- "at least 5-10 examples"
metadata:
file: "path/to/resource"
description: "What this resource does"
# Test RAG server
python -c "from rag.server import RAGServer; print('RAG OK')"
# Test router
python -c "from routing.router import route; print(route('test query'))"
# Test full flow
python -c "
from routing.router import route
result = route('research quantum computing')
print(f'Routed to: {result.category}/{result.resource_name}')
"
# Start all services
./scripts/start-services.sh
# Test via MCP
# (use Claude Code to interact)
As we build, update docs when:
# After implementing a component:
# 1. Test it works
# 2. Update relevant SKILL.md with actual code
# 3. Update CLAUDE.md status
# 4. Commit with descriptive message
# requirements.txt
pyyaml>=6.0
python-dotenv>=1.0.0
mcp>=1.0.0
qdrant-client>=1.7.0
sentence-transformers>=2.2.0
semantic-router>=0.1.0
aiofiles>=23.0.0
httpx>=0.25.0
To start building, use one of the component skills:
view skills/rag-builder/SKILL.md - Build RAG server firstview skills/router-builder/SKILL.md - Build semantic routerview skills/agent-builder/SKILL.md - Build sub-agentsThis skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.