Borrowing it
Nothing to install: this file belongs to donbr/lifesciences-research. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/donbr/lifesciences-research/main/.claude/commands/graphiti-aura-stats.mdgit clone --depth 1 https://github.com/donbr/lifesciences-researchWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/donbr/lifesciences-research/graphiti-aura-stats)<a href="https://agentmods.dev/commands/donbr/lifesciences-research/graphiti-aura-stats"><img src="https://agentmods.dev/badge/commands/donbr/lifesciences-research/graphiti-aura-stats/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/donbr/lifesciences-research/graphiti-aura-stats"><img src="https://agentmods.dev/badge/commands/donbr/lifesciences-research/graphiti-aura-stats.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00013 | $0.01867 |
| Opus 5 | $0.00006 | $0.00933 |
| Sonnet 5 | $0.00003 | $0.00373 |
| Haiku 4.5 | $0.00001 | $0.00187 |
Grade A, and why
graphiti-aura-stats scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 228 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Generate comprehensive production graph statistics for Neo4j Aura analytics and capacity planning.
Instructions
Execute these queries sequentially to build a complete analytics report. Report results to the user in a formatted summary.
Query 1: Episode Distribution by Namespace
mcp__neo4j-aura-cypher__read_neo4j_cypher(
query="""
MATCH (e:Episodic)
RETURN e.group_id AS namespace,
count(*) AS episodes,
min(e.created_at) AS first_episode,
max(e.created_at) AS last_episode
ORDER BY episodes DESC
"""
)
Purpose: Shows which namespaces contain data and identifies growth patterns.
Query 2: Total Entity Count
mcp__neo4j-aura-cypher__read_neo4j_cypher(
query="""
MATCH (n:Entity)
RETURN count(n) AS total_entities
"""
)
Purpose: Get total entity count for summary statistics.
Query 3: Entity Type Distribution
mcp__neo4j-aura-cypher__read_neo4j_cypher(
query="""
MATCH (n:Entity)
RETURN labels(n) AS entity_types,
count(*) AS count
ORDER BY count DESC
LIMIT 15
"""
)
Purpose: Breakdown by entity labels (Person, Company, Concept, etc.). Helps validate extraction quality.
Query 4: Relationship Type Frequency
mcp__neo4j-aura-cypher__read_neo4j_cypher(
query="""
MATCH ()-[r]->()
RETURN type(r) AS relationship_type,
count(*) AS frequency,
count(CASE WHEN r.invalid_at IS NOT NULL THEN 1 END) AS invalidated_count,
round(100.0 * count(CASE WHEN r.invalid_at IS NOT NULL THEN 1 END) / count(*), 2) AS invalidation_rate_pct
ORDER BY frequency DESC
LIMIT 15
"""
)
Purpose: Most common relationship patterns and invalidation rates. Identifies schema usage and knowledge evolution velocity.
Query 5: Temporal Invalidation Statistics
mcp__neo4j-aura-cypher__read_neo4j_cypher(
query="""
MATCH ()-[r]->()
WHERE r.invalid_at IS NOT NULL AND r.valid_at IS NOT NULL
RETURN type(r) AS relationship_type,
count(*) AS total_invalidated,
round(avg(duration.between(
datetime(r.valid_at),
datetime(r.invalid_at)
).seconds) / 3600.0, 2) AS avg_lifetime_hours
ORDER BY total_invalidated DESC
LIMIT 10
"""
)
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago First seen · 228 lines · 13 tokens per session scan A 7a76103c818a
graphiti-aura-stats is a command published in the GitHub repository donbr/lifesciences-research (7 stars, last pushed 8d ago), licensed MIT. It adds 13 tokens to every session and 1,867 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
by:plan-campaign
Pre-campaign discussion -- capture design preferences before launching.
by:resume
Resume an interrupted campaign from the last checkpoint.
by:campaign-auto
Full autonomous campaign — research, design, screen, rank with minimal interruption.
by:load
Load a protein target and analyze it for design.
by:welcome
First-run orientation -- what BY can do and where to start.
by:approve-lab
Approve lab submission to Adaptyv Bio (triple-gated).