Skip to content
Back to skills

Query

ASecurity

Search the knowledge graph for execution flows related to a concept. Triggers: "search graph" | "find execution flow" | "gitnexus query" | "how does X work" | "find code related to".

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 23, 2026
ai-agentsgobashgitdatabase

Works with

  • mcp

Security analysis

A100/100

Scanned September 23, 2026

npx -y skills add Roxabi/roxabi-plugins --skill query --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Query?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Query
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/roxabi-query/badge)](https://www.skillsdirectory.com/skills/roxabi-query)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: gitnexus-query
argument-hint: '<search_query> [--limit N] [--content]'
description: Search the knowledge graph for execution flows related to a concept. Triggers: "search graph" | "find execution flow" | "gitnexus query" | "how does X work" | "find code related to".
version: 0.1.0
allowed-tools: Bash, Read
---

# GitNexus Query

Search the knowledge graph for execution flows and symbols related to a concept. Returns processes (call chains) ranked by relevance.

## Entry

```
/gitnexus-query "authentication flow"
/gitnexus-query "error handling" --limit 10
/gitnexus-query "database connection" --content  # include source code
```

¬query → ask user provide a search term.

## Step 0 — Pre-flight

```bash
gitnexus status
```

¬indexed → ask user run `/gitnexus-analyze` first.

Index stale → warn user, suggest re-indexing.

## Step 1 — Run Query

```bash
gitnexus query "$QUERY" $FLAGS
```

| Flag | Effect |
|------|--------|
| `--limit N` | Max processes to return (default: 5) |
| `--content` | Include full symbol source code |
| `--context "text"` | Task context for better ranking |
| `--goal "text"` | What you want to find |
| `--repo <name>` | Target specific repo if multiple indexed |

## Step 2 — Parse JSON Output

```json
{
  "processes": [
    {
      "name": "LoginFlow",
      "relevance": 0.95,
      "symbols": ["loginHandler", "validateUser", "createSession"]
    }
  ],
  "process_symbols": [...],
  "definitions": [...]
}
```

## Step 3 — Present Results

**Processes (execution flows):**

| Process | Relevance | Key Symbols |
|---------|-----------|-------------|
| LoginFlow | 0.95 | loginHandler, validateUser, createSession |
| TokenRefresh | 0.78 | refreshToken, verifyToken |

**Standalone definitions:** types/interfaces not in any process.

## Step 4 — Follow-up

- Want full symbol context → `/gitnexus-context <symbol>`
- Want blast radius → `/gitnexus-impact <symbol>`
- Want full process trace → `gitnexus://repo/{name}/process/{processName}` (requires MCP)

$ARGUMENTS

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.