Hypergraph is more powerful. Transform unstructured text into structured knowledge with LLMs. Graphs, hypergraphs, and spatio-temporal extractions — with one command.
Hyper-Extract Skills
Knowledge template design skills for Hyper-Extract.
Skills Overview
| Skill | Purpose |
|---|---|
| Root | Entry point for template design |
| brainstorm | Requirements exploration and type discussion |
| record-designer | Design model/list/set structures |
| graph-designer | Design graph/hypergraph/etc structures |
| yaml-validator | Validate YAML configurations |
| multilingual | Convert to multi-language support |
| template-optimizer | Optimize templates and fix common issues |
Installation
Claude Code
Copy the hyperextract-skills folder to your Claude Code skills directory:
cp -r hyperextract-skills ~/.claude/skills/
Or use the plugin command:
/plugin install hyperextract-skills
Trae
Copy the hyperextract-skills folder to your Trae skills directory:
cp -r hyperextract-skills ~/.trae/skills/
Usage
Quick Start
- Start with the brainstorm skill to explore your requirements
- Based on the recommended type, use either record-designer or graph-designer
- Optimize with template-optimizer (recommended)
- Optionally validate with yaml-validator
- Optionally convert to multilingual
Example Workflow
You: I want to extract key information from financial reports
Assistant (using brainstorm):
Let's explore your requirements...
You: I need to extract company name, revenue, and quarter from earnings calls
Assistant (using brainstorm):
Based on your description, I recommend: model type
Assistant (using record-designer):
Let's design the fields for your model...
Supported Types
Record Types
- model: Single structured object
- list: List of homogeneous objects
- set: Deduplicated object set
Graph Types
- graph: Binary relation graph
- hypergraph: Multi-entity relation hypergraph
- temporal_graph: Temporal graph with time dimension
- spatial_graph: Spatial graph with location dimension
- spatio_temporal_graph: Combined temporal and spatial
Directory Structure
hyperextract-skills/
├── SKILL.md # Root skill
├── brainstorm/
│ └── SKILL.md # Requirements exploration
├── record-designer/
│ ├── SKILL.md # Record type design
│ ├── cases/ # Example templates (YAML)
│ │ ├── earnings-summary.yaml
│ │ ├── product-features.yaml
│ │ └── entity-registry.yaml
│ └── references/ # Design patterns
│ ├── field.md
│ └── identifier.md
├── graph-designer/
│ ├── SKILL.md # Graph type design
│ ├── cases/ # Example templates (YAML)
│ │ ├── corporate-ownership.yaml
│ │ ├── battle-analysis.yaml
│ │ └── meeting-records.yaml
│ └── references/ # Design patterns
│ ├── entity.md
│ ├── relation.md
│ ├── hypergraph.md
│ └── dimensions.md
├── yaml-validator/
│ ├── SKILL.md # YAML validation
│ └── references/ # Validation rules
│ ├── rules-syntax.md
│ ├── rules-types.md
│ ├── rules-identifiers.md
│ └── rules-errors.md
├── multilingual/
│ └── SKILL.md # Multi-language conversion
└── template-optimizer/
├── SKILL.md # Template optimization
└── references/ # Optimization rules
├── rules-naming.md
├── rules-multilingual.md
├── rules-field-count.md
└── rules-consistency.md
Design Principles
When designing templates, remember: Schema defines WHAT, Guideline defines HOW TO DO WELL.
See graph-designer/SKILL.md or record-designer/SKILL.md for details.
License
Apache 2.0