Ontology Knowledge Graph
Paste the following prompt into your AI chat to install this skill:
Please follow https://skillhub.cn/install/skillhub.md to install @user_86faee8b/kexiu-skill-01.
About this skill
Problem
In multi-step agent work, memory, tasks, dependencies, and shared state often end up scattered across chat history and temporary files. When skills need to read the same state, an unstable structure can cause missing fields, accidental overwrites, and hard-to-track dependencies.
How It Works
The skill models knowledge as a typed graph: each object is an entity with type, properties, and relations, and every mutation is validated before commit.
- Storage: defaults to memory/ontology/graph.jsonl; complex graphs can move to SQLite.
- Mutation: supports create, query, relate, and validate; existing data should be appended or merged rather than overwritten.
- Constraints: type, enum, forbidden properties, relation type, cardinality, acyclic: true checks, and Event end >= start rules can be declared in memory/ontology/schema.yaml.
- Planning: multi-step plans can be expressed as graph transformations, validating each step before execution.
Boundaries
It operates mainly on workspace files and a local CLI, not as a full graph database or enterprise permission system. Some higher-level constraints may remain documentation-only unless implemented. Cross-skill use should declare shared ontology objects to avoid implicit overwrites.
Use Cases
- Plan multi-step work by modeling steps, dependencies, and state as graph operations with per-step validation.
- Read/write shared ontology objects in `memory/ontology/graph.jsonl` when skills need common state.
- Query tasks, dependencies, entity properties, or traverse project-related graph nodes.
- Maintain `schema.yaml` constraints for enums, forbidden props, relation cardinality, and acyclicity.
Best For
- Engineers building multi-step agents who want task dependencies and shared state as a validated graph.
- Developers maintaining cross-skill workspaces who need stable ontology reads/writes without clobbering history.
- Architects designing knowledge-graph schemas who need types, relation cardinality, and acyclicity rules.
- Engineers debugging agent memory who need to query what is known by entity and relation.
Related Skills
Provides Claw with character-library selection, switching, saving, and global SOUL.md style sync for role-based conversation.
An AIONE Agentic AI Infrastructure SDK wrapper for building production AI agents with memory, skills, workflows, and hooks.
A Python/TypeScript SDK wrapper for the DeepSeek-Reasonix native AI coding agent, with prefix-cache support.
A browser automation tool for analysts, operators, and developers that locates elements, fills forms, extracts structured content, and supports no-code scheduling and export.