agentdb-cypher
/agentdb-cypher
Wykonuje zapytania Cypher na grafowym backendzie AgentDB, gdy standardowe narzędzia nie obejmują potrzebnego przejścia po grafie.
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 11.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Wykonuje zapytania Cypher na grafowym backendzie AgentDB, gdy standardowe narzędzia nie obejmują potrzebnego przejścia po grafie.
Oryginalny opis (EN)
Execute Cypher queries against AgentDB's graph backend. Use when the user wants to write a custom traversal that the standard tools don't cover, or when explaining graph state.
Jak działa
- When to use
- API
- Example queries
- Safety
- Don't
Podgląd SKILL.md
---
name: agentdb-cypher
description: Execute Cypher queries against AgentDB's graph backend. Use when the user wants to write a custom traversal that the standard tools don't cover, or when explaining graph state.
---
# Cypher Query
Run arbitrary Cypher against the AgentDB graph backend. The native binding accepts standard openCypher; AgentDB also adds a few extensions (`uplift`, `confidence` properties on edges).
## When to use
- Need a query the standard `agentdb_causal_*` tools don't cover
- Multi-hop traversal with custom filtering
- Aggregation queries — count nodes by type, find hub nodes, etc.
- Migration / inspection during debugging
## API
```
agentdb_causal_query(
cypher: <query string>,
params?: { ... }
)
Returns: { rows, stats: { execMs, rowsMatched, rowsReturned } }
```
## Example queries
```cypher
-- Top 10 most-cited skills
MATCH (s:Skill)<-[r:references]-(:Episode)
RETURN s.name, count(r) AS cites
ORDER BY cites DESC LIMIT 10
-- Find hub nodes (high in-degree)
MATCH (n)<-[r]-()
RETURN n.id, n.type, count(r) AS inDegree
ORDER BY inDegree DESC LIMIT 20
-- Walk supersedes chain backwards from current ADR
MATCH p=(current:ADR {id: 'ADR-046'})-[:supersedes*]->(ancestor:ADR)
RETURN [n IN nodes(p) | n.title]
-- Cycle detection (worth a warning)
MATCH p=(n)-[:caused*1..5]->(n)
RETURN p LIMIT 5
```
## Safety
The `agentdb_causal_query` tool accepts arbitrary Cypher, including writes (`CREATE`, `DELETE`, `DETACH DELETE`). For destructive operations, prefer the typed delete tools (`agentdb_causal_node_delete`, `agentdb_causal_edge_delete`) — they enforce cascade semantics and write to the attestation log.
## Don't
- Don't use string interpolation for ids — use `params` to avoid Cypher injection.
- Don't run `MATCH (n) DETACH DELETE n` (deletes everything). Always scope the match.
- Don't loop a Cypher query in client code when one query with `WHERE id IN [...]` works — the binding's per-call overhead adds up.
Wersje
W bazie nie ma innych skilli o nazwie agentdb-cypher.
Migawka bazy z 13.11.2026 · wersja paczki 9b8b81dc1f5d (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 2 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100neo4j-graph-cypher-queries
Pomaga modelować gęste sieci powiązań i pisać przejścia po grafie w języku Cypher dla bazy Neo4j. - 90neo4j-graph-data-scientist
Pomaga w zadaniach grafowych w Neo4j przez agenta GDS i narzędzia Cypher oraz rozwiązuje typowe błędy. - 90agentdb-setup-diagnostics
Konfiguruje wtyczkę AgentDB i jej serwer MCP oraz sprawdza profil, bazę i połączenie, gdy narzędzia nie działają. - 100agentdb-traverse
Wykonuje przejście K-hop od wskazanego węzła w grafie AgentDB, aby badać sąsiedztwo, znajdować osiągalne węzły i wizualizować kontekst wspomnienia. - 100loveliness
Odpytuje, zapisuje i bada graf w bazie Loveliness przez serwer MCP: uruchamia zapytania Cypher, ładuje dane CSV, sprawdza tabele węzłów i krawędzi oraz stan shardów i klastra. - 95data-graph-database
Pomaga projektować bazy grafowe: Neo4j i Cypher, Amazon Neptune i Gremlin, RDF i SPARQL oraz strojenie wydajności przechodzeń.