ontology
Typed knowledge graph for structured agent memory and composable skills.
Skill by zhaoxinyi02
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/zhaoxinyi02-ontology
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, data, productivity, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
ontology- Description
- Typed knowledge graph for structured agent memory and composable skills. Use when creating/querying entities (Person, Project, Task, Event, Document), linking related objects, enforcing constraints, planning multi-step actions as graph transformations, or when skills need to share state. Trigger on "remember", "what do I know about", "link X to Y", "show dependencies", entity CRUD, or cross-skill data access.
- License
- MIT
- Instructions
- 229 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (5)
- SKILL.md
- _meta.json
- queries.md · references/
- schema.md · references/
- ontology.py · scripts/
SKILL.md (first lines)
# Ontology
A typed vocabulary + constraint system for representing knowledge as a verifiable graph.
## Core Concept
Everything is an **entity** with a **type**, **properties**, and **relations** to other entities. Every mutation is validated against type constraints before committing.
```
Entity: { id, type, properties, relations, created, updated }
Relation: { from_id, relation_type, to_id, properties }
```
## When to Use
| Trigger | Action |
|---------|--------|
| "Remember that..." | Create/update entity |
| "What do I know about X?" | Query graph |
| "Link X to Y" | Create relation |
| "Show all tasks for project Z" | Graph traversal |
| "What depends on X?" | Dependency query |
| Planning multi-step work | Model as graph transformations |
| Skill needs shared state | Read/write ontology objects |
## Core Types
```yaml
# Agents & People
Person: { name, email?, phone?, notes? }
Organization: { name, type?, members[] }
# Work
Project: { name, status, goals[], owner? }
Task: { title, status, due?, priority?, assignee?, blockers[] }
Goal: { description, target_date?, metrics[] }
# Time & Place
Event: { title, start, end?, location?, attendees[], recurrence? }
Location: { name, address?, coordinates? }
# Information
Document: { title, path?, url?, summary? }
Message: { content, sender, recipients[], thread? }
Thread: { subject, participants[], messages[] }
Note: { content, tags[], refs[] }
# Resources
Account: { service, username, credential_ref? }
Device: { name, type, identifiers[] }
Credential: { service, secret_ref } # Never store secrets directly
# Meta
Action: { type, target, timestamp, outcome? }
Policy: { scope, rule, enforcement }
```
## Storage
Default: `memory/ontology/graph.jsonl`
```jsonl
{"op":"create","entity":{"id":"p_001","type":"Person","properties":{"name":"Alice"}}}
{"op":"create","entity":{"id":"proj_001","type":"Project","properties":{"name":"Website Redesign","status":"active"}}}
{"op":"relate","from":"proj_001","rel":"has_owner","to":"p_001"}
```
Query via scripts or direct file ops. For complex graphs, migrate to SQLite.
### Append-Only Rule
When working with existing ontology data or schema, **append/merge** changes instead of overwriting files. This preserves history and avoids clobbering prior definitions.
## Workflows
### Create Entity
```bash
python3 scripts/ontology.py create --type Person --props '{"name":"Alice","email":"alice@example.com"}'
```
### Query
```bash
python3 scripts/ontology.py query --type Task --where '{"status":"open"}'
python3 scripts/ontology.py get --id task_001
python3 scripts/ontology.py related --id proj_001 --rel has_task
```
### Link Entities
```bash
python3 scripts/ontology.py relate --from proj_001 --rel has_task --to task_001
```
### Validate
```bash
python3 scripts/ontology.py validate # Check all constraints
```
## Constraints
Define in `memory/ontology/schema.yaml`:
```yaml
types:
Task:
required: [title, status]
status_enum: [open, in_progress, blocked, done]
Event:
required: [title, start]
validate: "end >= start if end exists"
Credential:
required: [service, secret_ref]
forbidden_properties: [password, secret, token] # Force indirectionFrom zhaoxinyi02/ClawPanel-Plugins, MIT.
More from zhaoxinyi02/ClawPanel-Plugins
- 0.478score
finance-data
zhaoxinyi02
Query A/HK stock prices, financial indicators, market news, and China macroeconomic data (GDP, CPI, PMI, etc.).
SkillDFreshness: D★ 9Claude Code +9 - 0.478score
agent-reach
zhaoxinyi02
Give your AI agent eyes to see the entire internet.
SkillDFreshness: D★ 9Claude Code +9 - 0.471score
qoderwork-ppt
zhaoxinyi02
Generate QoderWork-style presentations.
SkillDFreshness: D★ 9Claude Code +9 - 0.470score
feishu-doc
zhaoxinyi02
Fetch content from Feishu (Lark) Wiki, Docs, Sheets, and Bitable.
SkillDFreshness: D★ 9Claude Code +9 - 0.453score
agent-browser
zhaoxinyi02
Browser automation CLI for AI agents.
SkillDFreshness: D★ 9Claude Code +9 - 0.449score
skill-creator
zhaoxinyi02
Create or update AgentSkills.
SkillDFreshness: D★ 9Claude Code +9 - 0.448score
find-skills
zhaoxinyi02
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express…
SkillDFreshness: D★ 9Claude Code +9 - 0.448score
pdf
zhaoxinyi02
Use this skill whenever the user wants to do anything with PDF files.
SkillDFreshness: D★ 9Claude Code +9 - 0.253score
34ai-api-suite
zhaoxinyi02
No description from the publisher yet.
SkillDFreshness: D★ 9Claude Code +9 - 0.253score
self-heal
zhaoxinyi02
No description from the publisher yet.
SkillDFreshness: D★ 9Claude Code +9 - 0.250score
feishu-common
zhaoxinyi02
No description from the publisher yet.
SkillDFreshness: D★ 9Claude Code +9 - 0.250score
_template
zhaoxinyi02
No description from the publisher yet.
SkillDFreshness: D★ 9Claude Code +9
Signals
- Stars
- 9
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Mar 17, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/zhaoxinyi02/ClawPanel-Plugins
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.679score
ontology
CraftOS-dev
Typed knowledge graph for structured agent memory and composable skills.
SkillAFreshness: A★ 400Claude Code +9 - 0.249score
ontology
aymenhayderhtml-pixel
Typed knowledge graph for structured agent memory and composable skills.
SkillDFreshness: DClaude Code +9 - 0.246score
ontology
lincolnqjunior
Typed knowledge graph for structured agent memory and composable skills.
SkillDFreshness: DClaude Code +9 - 0.246score
ontology
adiytharpansa
Typed knowledge graph for structured agent memory and composable skills.
SkillDFreshness: DClaude Code +9 - 0.246score
ontology
adslyw
Typed knowledge graph for structured agent memory and composable skills.
SkillDFreshness: DClaude Code +9 - 0.246score
ontology
anygivenfriday
Typed knowledge graph for structured agent memory and composable skills.
SkillDFreshness: DClaude Code +9 - 0.240score
ontology
adslyw
Typed knowledge graph for structured agent memory and composable skills.
SkillDFreshness: DClaude Code +9
More from zhaoxinyi02
- 0.478score
agent-reach
zhaoxinyi02
Give your AI agent eyes to see the entire internet.
SkillDFreshness: D★ 9Claude Code +9 - 0.478score
finance-data
zhaoxinyi02
Query A/HK stock prices, financial indicators, market news, and China macroeconomic data (GDP, CPI, PMI, etc.).
SkillDFreshness: D★ 9Claude Code +9 - 0.471score
qoderwork-ppt
zhaoxinyi02
Generate QoderWork-style presentations.
SkillDFreshness: D★ 9Claude Code +9 - 0.470score
feishu-doc
zhaoxinyi02
Fetch content from Feishu (Lark) Wiki, Docs, Sheets, and Bitable.
SkillDFreshness: D★ 9Claude Code +9 - 0.453score
agent-browser
zhaoxinyi02
Browser automation CLI for AI agents.
SkillDFreshness: D★ 9Claude Code +9 - 0.449score
skill-creator
zhaoxinyi02
Create or update AgentSkills.
SkillDFreshness: D★ 9Claude Code +9
Cite this page
ontology skill. Agent Mart. https://agentmart.dev/skills/zhaoxinyi02-ontology (last updated 2026-10-24)