Graph Query

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

erhwenkuo e367e6b 2 files · 2.5 KB Updated

File contents

Graph Query Skill

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

Execution Command

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.

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"

erhwenkuo/stock_skills/tree/main/.claude/skills/graph-query commit e367e6b837

Frequently asked questions

npx skillmds@latest add erhwenkuo/graph-query