OpenParable
Skip to content
← Back to skills

Ontology Building

Research
ontology-building

Ontology Building is an Agent Skill for research published in the yogsoth-ai/de-anthropocentric-research-engine repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Campaign for building domain ontologies — systematic concept extraction, relation typing, taxonomy construction, and iterative refinement. Produces a structured concept hierarchy in the wiki vault.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/yogsoth-ai/de-anthropocentric-research-engine/blob/HEAD/skills/ontology-building/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/ontology-building, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Ontology Building

Build a structured ontology for a research domain. Extracts concepts from sources, types their relationships, constructs taxonomies, validates consistency, and iteratively refines until the ontology is coherent and complete.

Manifest

LevelCountSkills
Strategy5domain-scoping, concept-extraction, relation-typing, taxonomy-validation, ontology-refinement
Tactic3concept-decomposition, hierarchy-construction, consistency-checking
SOP10seed-concept-search, source-gathering, concept-page-creation, alias-resolution, edge-batch-creation, hierarchy-visualization, gap-detection, merge-candidates, confidence-update, ontology-export

Budget Table

MetricSmallMediumLarge
Source pages ingested102550
Concept pages created154080
Edges created30100200
Taxonomy depth (levels)234
Validation passes123

Strategy Sequence (Reference, Not Prescription)

  1. domain-scoping — define boundaries, identify seed concepts, classify topic size
  2. concept-extraction — mine sources for concepts, create pages, resolve aliases
  3. relation-typing — identify and type relationships between concepts
  4. taxonomy-validation — check hierarchy consistency, detect gaps and conflicts
  5. ontology-refinement — merge near-duplicates, fill gaps, update confidence scores

CC may reorder, skip, or repeat strategies based on the domain's needs.

MCP Tools Used

  • vault_search — find existing concepts, detect duplicates
  • vault_add_edge — create typed relationships
  • vault_query_graph — explore concept neighborhoods
  • vault_graph_stats — assess ontology coverage and connectivity
  • vault_lint — validate structural integrity
  • vault_index — maintain search index

Context-Management

Guiding Principles

  • Breadth before depth. Map the concept landscape broadly before drilling into any sub-area.
  • Edges over pages. A concept without relationships is useless. Prioritize connecting over creating.
  • Aliases are enemies. The same concept with different names fragments the ontology. Resolve aggressively.
  • Confidence is honest. Mark uncertain classifications explicitly. Low confidence is better than false certainty.
  • The ontology is never finished. Each research session may reveal new concepts or invalidate old ones.

Available Strategies

Optional, no fixed order; the final leaf is always a sop.

StrategyWhen to use
concept-extractionStrategy for mining concepts from sources — systematic extraction, page creation, alias resolution.
domain-scopingStrategy for defining ontology boundaries — identify seed concepts, classify topic size, establish scope constraints.
ontology-refinementStrategy for iterative ontology improvement — merge duplicates, fill gaps, update confidence, prune dead branches.
relation-typingStrategy for identifying and typing relationships between concepts — create edges with appropriate types and weights.
taxonomy-validationStrategy for validating ontology consistency — check hierarchy, detect cycles, verify completeness.

Available Tactics

Optional, no fixed order; the final leaf is always a sop.

TacticWhen to use
concept-decompositionTactic for breaking compound concepts into atomic parts — split over-broad concepts, identify sub-components, create child pages.
hierarchy-constructionTactic for building is-a and part-of hierarchies — establish parent-child relationships, verify transitivity, detect cycles.
knowledge-compilationTactic for compiling research findings into vault pages — orchestrates page creation, updates, edge linking, and index maintenance. Minimum yield ≥3 page operations per invocation.
knowledge-structuring-consistency-checkingTactic for verifying ontology consistency — detect contradictions, cycles, orphans, and type violations.

Available SOPs

Optional, no fixed order; the final leaf is always a sop.

SOPWhen to use
context-checkpointAppend research process and results to the current Phase's context file. Each append MUST contain >=500 lines of markdown covering both process and results. Use this skill at plan-designated checkpoint points — typically after each strategy completes or at key decision nodes within a research Phase.
context-initCreate a new context file for a research Phase. Called once at Phase start to initialize the file that subsequent context-checkpoint calls will append to. Use this skill whenever a new research Phase begins and a fresh context file is needed.