tools-router

Unified router for all external tools: CLI binaries, MCP tools via lootbox, and data processing. Consolidates cli-router + tools-router + data-router.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "tools-router" with this command: npx skills add zpankz/mcp-skillset/zpankz-mcp-skillset-tools-router

Tools Router (Unified)

Consolidates: cli-router + tools-router + data-router Purpose: All external tool execution (CLI, MCP, databases) Legacy References: ~/.claude/db/skills/routers/cli-router/, ~/.claude/db/skills/routers/data-router/

CLI Tools (Local Binaries)

AI/LLM Agents

ToolBinaryPurpose
gemini/opt/homebrew/bin/geminiGoogle Gemini CLI (2M context)
codex~/.local/bin/codexOpenAI GPT models
amp~/.amp/bin/ampAnthropic Claude via MCP

Context Extraction

ToolBinaryPurpose
research~/.local/bin/researchOnline documentation
pieces/opt/homebrew/bin/piecesLocal code context, LTM

Data Processing

ToolBinaryPurpose
qsvqsvFast CSV processing
jqjqJSON processing
nunuNushell data pipelines

Semantic Search

ToolBinaryPurpose
ckckSemantic code search
ast-grepast-grepAST pattern matching

MCP Tools (Lootbox)

Routes tasks to MCP tools via lootbox code-mode for external service integration.

MCP Tool Categories

Knowledge Graph

ToolNamespacePurpose
Neo4jneo4jGraph database operations
Neo4j Auraneo4j-auraCloud Neo4j
Neo4j Memoryneo4j-memoryAgent memory graph
DeepGraphdeepgraphCode graph analysis

Research & Search

ToolNamespacePurpose
PerplexityperplexityAI-powered web search
Brave Searchbrave-searchWeb search
InfraNodusrelateGraph-based text analysis
PageIndexpageindex-localWeb page indexing

Methodology & Reasoning

ToolNamespacePurpose
Meta-CCmeta-ccMethodology capabilities
Distil (AoT)distilAtom of Thoughts
ZenzenMulti-model reasoning
GepagepaGemini planning

Solvers

ToolNamespacePurpose
Z3solver-z3SMT solving
MiniZincsolver-minizincConstraint optimization
PySATsolver-pysatSAT solving
MaxSATsolver-maxsatMaximum satisfiability
ASPsolver-aspAnswer set programming

Storage & Memory

ToolNamespacePurpose
FilesystemfilesystemFile operations
MCP Memorymcp-memoryKey-value memory
Obsidian Memoryobsidian-memoryObsidian integration
TurboVaultturbovaultHigh-performance vault

External Services

ToolNamespacePurpose
GitHubgithubGitHub API
ZoterozoteroCitation management
GeminigeminiGemini model access

Lootbox Code-Mode

Configuration

server: ws://localhost:9742/ws
ui: http://localhost:9742/ui
config: ~/lootbox.config.json

Local Tools (Always Available)

tools.kv.*       // Key-value store
tools.sqlite.*   // SQLite database
tools.memory.*   // In-memory storage
tools.graphql.*  // GraphQL queries

Invocation Patterns

# List available tools
lootbox tools

# Execute single operation
lootbox exec 'await tools.neo4j.query({ cypher: "MATCH (n) RETURN n LIMIT 5" })'

# Chain operations
lootbox exec '
  const results = await tools.perplexity.search({ query: "Claude Code best practices" });
  await tools.kv.set({ key: "research", value: results });
  return results;
'

# Parallel operations
lootbox exec '
  const [a, b] = await Promise.all([
    tools.neo4j.query({ cypher: "MATCH (n:Skill) RETURN n" }),
    tools.deepgraph.semantic_search({ query: "authentication" })
  ]);
  return { skills: a, code: b };
'

Routing Logic

MCP Task Detected
    │
    ├── Graph operations?
    │   ├── Neo4j? → tools.neo4j
    │   ├── Code graph? → tools.deepgraph
    │   └── Text graph? → tools.relate
    │
    ├── Research?
    │   ├── AI search? → tools.perplexity
    │   ├── Web search? → tools.brave-search
    │   └── Page index? → tools.pageindex-local
    │
    ├── Reasoning?
    │   ├── Methodology? → tools.meta-cc
    │   ├── Multi-model? → tools.zen
    │   └── AoT? → tools.distil
    │
    ├── Constraint solving?
    │   ├── SMT? → tools.solver-z3
    │   ├── Optimization? → tools.solver-minizinc
    │   └── SAT? → tools.solver-pysat
    │
    └── Storage?
        ├── Files? → tools.filesystem
        ├── KV? → tools.kv
        └── Memory? → tools.memory

Tool Selection Matrix

Task TypePrimary ToolAlternative
Graph queryneo4jdeepgraph
Web researchperplexitybrave-search
Code analysisdeepgraphrelate
Constraint solvingsolver-z3solver-minizinc
File operationsfilesystemturbovault
Citationzotero-
Methodologymeta-ccdistil

Integration

  • lootbox: Code-mode execution
  • MCP servers: External tool providers
  • cli-index: CLI tool fallback
  • meta-router: Parent routing

Quick Reference

# Start lootbox server
lootbox server --port 9742

# Check available namespaces
lootbox tools

# Neo4j query
lootbox exec 'await tools.neo4j.query({ cypher: "..." })'

# Perplexity search
lootbox exec 'await tools.perplexity.search({ query: "..." })'

# Chained operations
lootbox exec '
  const data = await tools.X.fetch();
  return tools.Y.process(data);
'

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

code refactoring

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

dspy-code

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

code-refactor

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

code

No summary provided by upstream source.

Repository SourceNeeds Review