# Graph Query

> Natural language queries to the knowledge graph. Search past reports, screenings, trades, research, and market context.

- Skill: `erhwenkuo/graph-query` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add erhwenkuo/graph-query`
- Raw SKILL.md: https://api.skillmd.com/api/skills/erhwenkuo/graph-query/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Research & Search
- Author: erhwenkuo (https://skillmd.com/u/erhwenkuo)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/erhwenkuo/graph-query

---


# Graph Query Skill

Search past data accumulated in the knowledge graph (Neo4j) using natural language.

## Execution Command

```bash
python3 .claude/skills/graph-query/scripts/run_query.py "natural language query"
```

## Natural Language Routing

For natural language → skill selection, see [.claude/rules/intent-routing.md](../../rules/intent-routing.md).

## Output

Results are displayed in Markdown format. If no data is found, a message is shown.
If Neo4j is not connected, displays "No data found."

## Knowledge Integration Rules (KIK-466)

When displaying graph query results, integrate with conversation context:

- If query results contain held stocks, add a "Currently holding" marker
- For past report search results, prompt: "To check the latest data, /stock-report is recommended"

