wisdom-kg
This skill teaches Claude how to query the Enterpret Wisdom Knowledge Graph for any organization's customer feedback data. It covers the schema, query…
от CognitionAI★ 42 звезды на GitHub
Установить wisdom-kg в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Wisdom Knowledge Graph — Query Guide
Organization Context
Organization details are loaded from context/organization.json (created during onboarding). This file contains:
- name — Organization display name (e.g., "Acme Corp")
- slug — URL slug (e.g., "acme-corp")
- dashboardUrl — Base URL to the Enterpret dashboard
- citationBaseUrl — Base URL for record citation links
- taxonomy.l1Categories — Top-level categories with volume
- taxonomy.themeCategories — Theme types (COMPLAINT, HELP, PRAISE, IMPROVEMENT, etc.)
If context/organization.json does not exist, tell the user to run /start for first-time setup.
Session Setup
Run get_organization_details as a pre-flight check at session start. Cache the org details and schema once — never re-query per command.
User Context
Check for .claude/enterpret-customer-insights.local.md — if it exists, parse YAML frontmatter for user preferences (name, role, team, focus, output_style, brand_colors, company_name, language).
If the file does not exist, assume a Product Manager persona: focused on customer experience and product operations, wants structured evidence-based output, cares about CSAT/DSAT/volume trends, produces weekly VOC reports. Frame recommendations as product decisions, not abstract findings.
Search Before Query
ALWAYS use search_knowledge_graph before writing Cypher when the user mentions a specific feature, issue, or topic. User language rarely matches taxonomy labels.
Search with 2-3 keyword variations:
- The user's exact words
- Synonyms or related terms
- More specific sub-topics
Use the EXACT theme/subtheme names returned by search in Cypher queries. Never guess taxonomy names.
Time Window Conventions
| Context | Default Window | Rationale |
|---|---|---|
| Trend analysis / weekly brief | 30 days | Enough for WoW comparison with context |
| Urgency / escalation scan | 48 hours – 7 days | Recent spikes matter more |
| Strategic evidence (PRDs, competitive) | 90 days | Full quarter for sizing |
| Post-launch comparison | 30/30 (30 pre, 30 post) | Clean A/B period |
| WoW comparison | Current 7d vs prior 7d | Standard week-over-week |
Always state the time window in output. Compute dates in ISO format (YYYY-MM-DD).
Trend Computation
Week-over-week requires TWO separate queries. Compute in analysis, not Cypher:
trend = (current_period - prior_period) / prior_period
Handle edge cases:
- Prior = 0, current > 0 → "NEW"
- Prior = 0, current = 0 → "Inactive"
- Negative trend → "↓ X%"
- Flat (< 5% change) → "→ flat"
Rising 50% WoW at 30 mentions is more important than flat at 200. Trend acceleration is the strongest signal.
Segment Handling
When account metadata exists, break results by segment. Weight enterprise accounts higher.
When NOT available (common), note the limitation:
"Account-level segmentation not available. Volume counts represent all feedback."
Never fabricate segment data.
Channel Mix Interpretation
| Pattern | Interpretation |
|---|---|
| Support tickets only | Moderate — blocking enough to contact support |
| Tickets + app reviews | High — blocking AND publicly visible |
| Tickets + reviews + social | Pervasive — spreading across channels |
| Reviews only | Perception issue — may not be functionally broken |
MCP Tools Available
You have 5 tools from the enterpret-wisdom-mcp MCP server:
| Tool | Use For |
|---|---|
get_organization_details |
Verify connection (returns org name, slug). Use as pre-flight check. |
get_schema |
Retrieve full KG schema (node types, relationships, properties). Call once per session. |
execute_cypher_query |
Run Cypher queries against the KG. Primary data access method. |
search_knowledge_graph |
Natural language search. Good for exploration, less precise than Cypher. |
find_user_quote |
Direct quote retrieval by topic or user. Faster than Cypher for getting verbatim quotes. Good for evidence gathering when you need representative quotes quickly. |
Schema Overview
Node Types
| Node | Description | Key Properties |
|---|---|---|
NaturalLanguageInteraction |
A single feedback record (ticket, review, etc.) | record_id, content, record_timestamp, source, uf_cor_9a00Yg__list (COR) |
FeedbackInsight |
AI-extracted insight from an NLI | record_id, content, summary_type, feedback_record_id |
CustomerFeedbackTags |
Junction node connecting insights to taxonomy | record_id, nli_id, theme_id, l1_id, l2_id, l3_id |
Theme |
Grouped topic (e.g., "Delayed Response Times") | name, display_name, description, category_enum |
Subtheme |
More specific topic under a Theme | name, display_name |
L1, L2, L3 |
Taxonomy hierarchy levels | name, description |
SentimentPrediction |
Sentiment label for an insight | label (values |
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/query-patterns.md
- references/schema-appendix.md
FAQ
Что делает скилл wisdom-kg?
This skill teaches Claude how to query the Enterpret Wisdom Knowledge Graph for any organization's customer feedback data. It covers the schema, query language (Cypher), validated patterns, citation formatting, and critical rules to avoid failed queries. Auto-loads for any command that accesses the KG.
Как установить скилл wisdom-kg?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл wisdom-kg запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…