xiaohongshu
xiaohongshu
kg-bootstrap
Creates and bootstraps Knowledge Graph projects from video transcripts. Extracts entities (people, organizations, concepts) and relationships into searchable graphs. Use when users want to build a knowledge graph, extract entities, analyze connections between people/organizations, or select Optio...
Full skill instructions
Use list_kg_projects first:
Ask for a project name describing the research domain:
"What would you like to call this Knowledge Graph project?" Examples: 'Tech Industry Interviews', 'Climate Research', 'Company History'
Use create_kg_project and report the project ID.
This is where the magic happens:
Explain: "I'll analyze your transcript to discover entity types (people, organizations, concepts) and relationships."
Use bootstrap_kg_project with:
project_id: The newly created IDtranscript: Full transcript text (use get_transcript if needed)title: Video/source titleFormat results conversationally:
## Knowledge Graph Schema Discovered!
**Project:** [Name]
**Confidence:** [X]%
### Entity Types Discovered ([N])
- **Person**: Individuals mentioned
- **Company**: Organizations, startups
- [etc.]
### Relationship Types ([N])
- **works_at**: Employment relationships
- **founded**: Company founding
- [etc.]
### Example Entities Identified ([N])
- [Entity Name] ([Type])
- [etc.]
Now extracting entities into the graph...
IMMEDIATELY after bootstrap, call extract_to_kg with the SAME transcript:
extract_to_kg(
project_id="...",
transcript="...", ← Same transcript used for bootstrap
title="...", ← Same title
transcript_id="..." ← REQUIRED for evidence linking
)
This populates the actual graph with entities. Bootstrap only creates the schema (types and patterns); extraction adds the nodes and edges.
After extraction completes, present:
## Knowledge Graph Complete!
**Entities Added:** [N]
**Relationships Found:** [N]
Would you like me to:
1. Extract entities from another transcript
2. View current graph statistics
3. Explore key players and connections
For subsequent transcripts on a bootstrapped project:
extract_to_kg directly (no re-bootstrap needed)transcript_id to enable evidence linkingextract_to_kg (CRITICAL)When calling extract_to_kg, always include:
project_id: Target KG project IDtranscript: Full transcript texttitle: Video/source titletranscript_id: Required for evidence — Use the ID returned by save_transcriptextract_to_kg(
project_id="abc123",
transcript="...",
title="Interview with CEO",
transcript_id="5da6b612" ← from save_transcript result
)
Without transcript_id, the graph inspector won't be able to show supporting evidence for entities.
extract_to_kg afterward to populate the graphtranscript_id when using extract_to_kg❌ WRONG:
bootstrap_kg_project(transcript)
→ "Your KG is ready! Extract from ANOTHER transcript?"
✅ CORRECT:
bootstrap_kg_project(transcript)
→ "Schema discovered! Now extracting entities..."
extract_to_kg(same_transcript)
→ "X entities and Y relationships added!"
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience