lifesciences-research: Command for Claude Code

.claude/commands/graphiti-health.md

graphiti-health is a command for Claude Code from donbr/lifesciences-research. It costs 15 tokens per session (2,509 once invoked), scanned A, original, MIT.

A command that checks the health of a Graphiti service and its Neo4j Aura database, then reports whether each is working. A health check is a quick test of service availability and database connectivity.

In plain words
What is it for?
Use it to verify that the Graphiti server is running, that it can reach Neo4j Aura, and that the selected database instance is available.
Why use it?
It brings related service and database status into one check, making connection failures easier to spot.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

This is donbr/lifesciences-research's own configuration. It tells Claude Code how to work on lifesciences-research itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything lifesciences-research configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/donbr/lifesciences-research/main/.claude/commands/graphiti-health.md
Clone the repo
git clone --depth 1 https://github.com/donbr/lifesciences-research

Made for: Claude Code.

Wrote 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.

agentmods badge for graphiti-health

README.md
[![agentmods](https://agentmods.dev/badge/commands/donbr/lifesciences-research/graphiti-health/github.svg)](https://agentmods.dev/commands/donbr/lifesciences-research/graphiti-health)
Your own site
<a href="https://agentmods.dev/commands/donbr/lifesciences-research/graphiti-health"><img src="https://agentmods.dev/badge/commands/donbr/lifesciences-research/graphiti-health/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.

agentmods 80×15 button for graphiti-health

Your own site · 80×15
<a href="https://agentmods.dev/commands/donbr/lifesciences-research/graphiti-health"><img src="https://agentmods.dev/badge/commands/donbr/lifesciences-research/graphiti-health.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,509 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00015 $0.02509
Opus 5 $0.00008 $0.01255
Sonnet 5 $0.00003 $0.00502
Haiku 4.5 $0.00002 $0.00251

Measured 12d ago against content hash c26e26e47425, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

graphiti-health scanned grade A with 1 finding 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 12d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Verify port 8002 is accessible: `curl http://localhost:8002/health`
.claude/commands/graphiti-health.md · 315 lines

How it starts

The opening of the file, as written. The whole thing — 315 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Display unified real-time health status for Neo4j Aura and Graphiti services.

Instructions

Execute these health checks to provide a comprehensive system status report. Report results with color-coded indicators.

Check 1: Graphiti Server Health

mcp__graphiti-aura__get_status()

Expected Response:

{
  "status": "ok",
  "message": "Graphiti MCP server is running and connected to neo4j database"
}

Health Indicators:

  • status == "ok" - Server healthy and database connected
  • ❌ Any other status or error - Server unavailable or database connection failed

Check 2: Neo4j Aura Instance Health

# First, get available instances
instances = mcp__neo4j-aura-management__list_instances()

# Then check health of primary instance (use instance ID from list)
mcp__neo4j-aura-management__get_instance_details(instance_ids=["cd339b4f"])

Expected Response:

{
  "instances": [{
    "id": "cd339b4f",
    "name": "dwb",
    "status": "running",
    "memory": "1GB",
    "graph_nodes": 3284,
    "graph_relationships": 12614,
    "connection_url": "neo4j+s://cd339b4f.databases.neo4j.io",
    "cloud_provider": "gcp",
    "region": "us-central1"
  }]
}

Health Indicators:

  • status == "running" AND nodes/relationships present - Database healthy and operational
  • ⚠️ status == "running" AND memory == "1GB" AND nodes > 5000 - May need scaling
  • ⚠️ status == "paused" - Instance paused (manual intervention needed)
  • status != "running" OR connection errors - Database unavailable

Check 3: Local Docker Development Environment (Optional)

# Check if local Docker Neo4j is running
docker ps --format "table {{.Names}}\t{{.Ports}}\t{{.Status}}" | grep -E "(neo4j|7474|7687|graphiti)"

# Check graphiti-docker MCP server status
mcp__graphiti-docker__get_status()

# Query episodes in local instance
mcp__graphiti-docker__get_episodes(max_episodes=10)

Expected Response:

  • Docker containers running and healthy
  • graphiti-docker MCP server connected to local Neo4j
  • Episodes list (may be empty for fresh dev environment)

Read the full file on GitHub · 315 lines

Changes

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.

  1. 12d ago First seen · 315 lines · 15 tokens per session scan A c26e26e47425

Subscribe to this mod's changes

graphiti-health is a command published in the GitHub repository donbr/lifesciences-research (7 stars, last pushed 9d ago), licensed MIT. It adds 15 tokens to every session and 2,509 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.