drasi-queries

Write Drasi continuous queries using Cypher with temporal functions.

3|Updated Dec 22, 2025
One-click install
npx skills add https://github.com/lukemurraynz/copilot-archetypes --skill drasi-queries
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: drasi-queries
Source: https://github.com/lukemurraynz/copilot-archetypes/tree/main/.github/skills/drasi-queries
Command: npx skills add https://github.com/lukemurraynz/copilot-archetypes --skill drasi-queries

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you write, understand, and troubleshoot Drasi continuous queries using Cypher, ensuring your graph data is queried effectively and efficiently.

Core Features & Use Cases

  • Cypher Query Development: Guides you in creating, modifying, and debugging Drasi queries.
  • Function Guidance: Explains and recommends specific Drasi functions for temporal reasoning, state transitions, and trend analysis.
  • Use Case: You need to create a Drasi query to detect when a specific system status has been 'unhealthy' for more than 15 minutes. This Skill will guide you on using drasi.trueFor() and appropriate Cypher syntax.

Quick Start

Use the drasi-queries skill to help me write a Drasi query that detects when a server's CPU utilization has been above 90% for the last 5 minutes.

Frequently Asked Questions about drasi-queries

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write a Cypher query to detect if a system status has been unhealthy for a specific duration?

To detect a sustained unhealthy status in Cypher, use the `drasi.trueFor()` function to evaluate continuous graph state transitions and verify the condition holds true over a defined time period.

What is the best way to track temporal state transitions in a graph database continuous query?

Tracking temporal state transitions in a graph database requires using custom functions like `drasi.previousValue()` within your continuous queries to compare past and current node states effectively.

How do I troubleshoot a Drasi continuous query that is not detecting trend changes?

Troubleshoot a Drasi continuous query by reviewing your Cypher syntax against supported features, verifying temporal function logic, and checking performance best practices for reliable graph state transition detection.

Can I use standard Cypher syntax for continuous queries, or do I need specific temporal functions?

Standard Cypher syntax provides the foundation, but continuous queries require specific temporal functions like `drasi.trueFor()` and `drasi.previousValue()` to evaluate graph state changes over time effectively.

What are the limitations when modifying continuous queries for graph data trend analysis?

Limitations when modifying continuous queries include adhering to supported Cypher features, ensuring proper temporal reasoning syntax, and following performance and reliability best practices to avoid deployment issues.