360 Secure SkillHub
360 安全技能中心

Typed Ontology Workflow Helper

核心功能是将零散笔记、代理记忆、业务对象等转化为可验证、查询、维护的类型化本体,提供全流程指导。典型场景包括整理项目笔记、设计代理记忆schema、构建轻量知识图谱等。输入为需求描述或原始资料,输出含本体规范、schema文件、示例记录、验证规则及迁移维护方案。

kyro-ma
kyro-ma
热度 21.40
最近更新 2026-07-13 20:55:50
分类:知识依赖:纯提示词应用场景:笔记整理 / 数据处理 / 研究 / 模板

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add work-productivity-ontology-typed-workflow-helper-130446
Metadata
name
work-productivity-ontology-typed-workflow-helper
description
Design typed ontology and knowledge-graph workflows for agent memory, structured notes, domain models, and retrieval systems. Use when a user needs entity types, relations, schemas, examples, validation rules, migration plans, or query patterns.

Typed Ontology Workflow Helper

Requirement

Use this skill when a user needs to turn loose notes, agent memory, business objects, or research material into a typed ontology that can be validated, queried, and maintained.

The validated demand came from popular ontology-style ClawHub workflows and corroborating developer requests around structured knowledge, composable memory, and safer agent workflows. This skill provides an explicit modeling process instead of a generic productivity checklist.

Workflow

  1. Define the domain boundary, users, decisions the ontology must support, and examples of source material.
  2. Extract candidate entity types, relation types, attributes, identifiers, and event types from the examples.
  3. Separate stable ontology concepts from project-specific labels, temporary tags, and free-text notes.
  4. Produce a typed schema: type names, required fields, optional fields, relation cardinality, constraints, and provenance fields.
  5. Add examples for each type, including at least one invalid example that explains what should be rejected.
  6. Design maintenance rules for merge/dedupe, versioning, migration, naming, and conflict resolution.
  7. Provide query patterns or retrieval prompts that use the ontology without leaking implementation details to end users.

Expected Outputs

  • A compact ontology specification with entity and relation definitions.
  • JSON Schema, YAML schema, table definitions, or TypeScript types when useful.
  • Example records and validation checks.
  • Migration and governance notes for maintaining the model over time.

Validation

  • Every relation has a source type, target type, meaning, and cardinality.
  • The schema includes identifiers and provenance so records can be merged safely.
  • Examples demonstrate real use, edge cases, and rejection criteria.
  • The model stays small enough to operate locally in notes, files, SQLite, or a lightweight graph store.

Triggers

Keywords: ontology, typed knowledge, knowledge graph, agent memory, schema, entity relation, structured notes, retrieval model.

Example trigger sentences:

  • Use $work-productivity-ontology-typed-workflow-helper to design a schema for my agent memory.
  • Turn these messy project notes into typed entities and relations.
  • Create validation rules for this lightweight knowledge graph.