A high-performance AI agent skill that automatically builds optimized multi-hop Cypher and SPARQL graph queries to discover indirect relationships and complex patterns.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install multi-hop-reasoning-query-builder
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install multi-hop-reasoning-query-builder using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Multi-Hop Reasoning Query Builder is an advanced tool engineered to construct complex path traversal and graph query structures for knowledge graphs and graph databases. Developers can easily generate queries that explore indirect relationships, uncover hidden networks, and execute multi-hop logic without manually writing tedious traversals. Integrating this skill within Openclaw Skills simplifies graph operations by automating query assembly for platforms like Neo4j (Cypher) and triple stores (SPARQL).
By leveraging this skill, developers avoid common syntax pitfalls and performance issues associated with variable-length path queries. It automatically injects best practices, bounds traversal depths, and ensures result limits are properly configured. This ensures high-throughput, enterprise-grade queries tailored for fraud detection, recommendation engines, supply chain systems, and social network analysis.
To integrate and configure the Multi-Hop Reasoning Query Builder within Openclaw Skills, run the setup and installation commands via your command line interface.
# Install the multi-hop query builder skill
openclaw install skill multi-hop-reasoning-query-builder
# Link validation and debugging tools to enable path optimization checks
openclaw link-skill graph-query-optimization-assistant
openclaw link-skill graph-query-debugging-tool
After installation, configure your preferred graph query engine (e.g., Neo4j, Apache Jena) in your environment variables to allow seamless schema-aware query generation.
The skill organizes its output structures into standardized models to ensure seamless integration with database drivers:
| Output File / Block Type | Format / Target | Description | Key Meta-Properties |
|---|---|---|---|
| Multi-Hop Query | Cypher / SPARQL | Executable query text with explicit structural pattern matches. | depth, direction, relationship_types |
| Path Discovery Query | Cypher (MATCH path = ...) |
Returns complete relationship subgraphs and traversal chains. | max_hops, path_length_metric |
| Parameterized Template | JSON / Cypher Template | Reusable template containing variables for dynamic runtime binding. | variables, indexed_start_node |
| Complexity Analysis | Markdown Report | Performance estimation, safety flags, and execution metrics. | estimated_complexity, warnings |
{
"skill": "multi-hop-reasoning-query-builder",
"query_profile": {
"target_language": "cypher",
"max_configured_depth": 3,
"has_filters": true,
"indexes_applied": ["startNodeId"]
}
}
*1..3) to optimize performance while searching across flexible connection ranges.shortestPath function and path tracking blocks to reconstruct step-by-step visual relationship chains.ALL or ANY predicates) to skip specific node states or transaction flags during traversal.Loading
ClipMatrix is an automated batch video production workflow that converts local B-roll footage and AI scripts into scheduled multi-account social media matrices.

An all-in-one AI-driven wedding planning and operation assistant optimizing budgeting, venue selection, event timelines, supplier coordination, and regional marketing strategies.

Translate human-readable natural language questions directly into executable Cypher and SPARQL queries for graph databases and knowledge graphs.

An all-in-one homestay and B&B operations assistant designed to guide hosts through site evaluation, pricing strategies, OTA optimization, customer service SOPs, and financial analytics.

An executable AI agent skill providing an interactive, structured framework of Adam Smith's economic masterpiece to analyze market dynamics, capital accumulation, and organizational efficiency.

A robust command-line diagnostics skill for monitoring and analyzing Android Activity stacks, Fragments, and screen transitions in real-time.








































