# Knowledge Graph

> Knowledge Graph entity types and relationships (v2.2)

- Skill: `ishwarjha/knowledge-graph` (Agent Skill)
- Install (CLI): `npx skillmds@latest add ishwarjha/knowledge-graph`
- Raw SKILL.md: https://api.skillmd.com/api/skills/ishwarjha/knowledge-graph/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: ishwarjha (https://skillmd.com/u/ishwarjha)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/ishwarjha/knowledge-graph

---


v2.2 Entity Types (15):

- UserSegment
- Opportunity
- Persona
- Experiment
- Feature
- Decision
- Metric
- MetricFormula
- Launch
- GovernanceEvent
- PricingBand
- EventTaxonomy
- RegulatoryConstraint
- TechDebtItem
- OrgNode

Required behavior:

- Agents must check `supabase_connected` before any KG write. If false, write is skipped and the agent must include the exact language: "Knowledge Graph write skipped — connect Supabase to persist this finding."
- Outcome tracking edges: Decision → outcome_confirmed_by → Experiment (30/60/90 day).

Implementers should include fields for each entity and the relationship table; use pgvector for vector content where needed.

