Knowledge Graph Memory Education Edition
Paste the following prompt into your AI chat to install this skill:
Please install @user_283a17af/knowledge-graph-memory-edu according to https://skillhub.cn/install/skillhub.md.
About this skill
Problem
When memory is stored as flat markdown notes, it is hard to model statements such as X belongs to Y, reverse lookup from a knowledge point to poems, or reusable cross-session aggregation. This skill treats state as a typed graph of entities, properties, and relations, with replayable event logs.
How It Works
- Entity-based memory: objects have
type,properties, andrelations, such asPoem,KnowledgePoint, andStudent. - Append-only storage: writes go to
memory/ontology/graph.jsonl; final graph state is derived by replaying events, supportingbackup,restore, andrepair. - Query and validation: supports property reverse lookup, relation traversal, and constraint checks;
schema.yamlcan define required fields, enums, and relation direction. - Bulk import: for large datasets, generate
jsonlevent lines directly instead of spawning a CLI for each item; examples cover poem and classical-text imports.
Boundaries
Best for structured state where reverse lookup, aggregation, and relation reuse matter. It is not a substitute for scratch notes, simple config, or strongly consistent production databases. Generated id values should not be hardcoded; high-frequency concurrent writes should use a single writer or migrate to SQLite.
Use Cases
- Import a mini-program poem library into a graph and reverse-lookup poems by knowledge point
- Model student mastery as entity relations and generate cross-skill review plans
- Share knowledge points across poems and classical texts to count cross-genre topic coverage
- Diagnose missing-entity errors and restore a damaged graph event log from backups
Best For
- Backend engineers maintaining K-12 poetry mini-programs who need queryable graph data for poems and knowledge points
- Interaction designers for learning-path products who need to connect knowledge points, student progress, and skill state
- Memory-system engineers integrating multiple skills who need shared ontology read/write access
- Agent platform QA engineers auditing memory changes who need replayable, backup-able, and validatable event logs
Related Skills
Search Huawei Cloud official docs and product pages to find ECS, OBS, RDS, CCE product specs, parameters, documentation, and API references without login.
OCR-based recognition for movie, train, flight, and event tickets in images or PDFs, extracting key fields into Markdown or JSON reports.
Turns notes, research, and meeting summaries into actionable next moves, plans, decisions, experiments, and decision-changing gaps.
A local wiki knowledge base manager that compiles raw documents into sourced, indexed Markdown pages with wikilinks, query support, and health checks.