ontology

ontology is a skill for Claude Code, Codex from 1mancompany/OneManCompany. It costs 86 tokens per session (1,463 once invoked), scanned A, a copy of ontology, Apache-2.0.

A typed knowledge graph for storing entities such as people, projects, tasks, events, and documents, together with their relationships. It checks that stored data follows defined rules.

In plain words
What is it for?
Use it to remember information, find related objects, follow dependencies, answer questions about projects, and model multi-step plans.
Why use it?
It gives agents shared, structured memory instead of scattered notes, while helping prevent invalid or inconsistent data.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to remember information, find related objects, follow dependencies, answer questions about projects, and model multi-step plans.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/1mancompany/onemancompany/ontology
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add 1mancompany/OneManCompany --skill ontology
Clone the repo
git clone --depth 1 https://github.com/1mancompany/OneManCompany

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ontology

README.md
[![agentmods](https://agentmods.dev/badge/skills/1mancompany/onemancompany/ontology/github.svg)](https://agentmods.dev/skills/1mancompany/onemancompany/ontology)
Your own site
<a href="https://agentmods.dev/skills/1mancompany/onemancompany/ontology"><img src="https://agentmods.dev/badge/skills/1mancompany/onemancompany/ontology/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ontology

Your own site · 80×15
<a href="https://agentmods.dev/skills/1mancompany/onemancompany/ontology"><img src="https://agentmods.dev/badge/skills/1mancompany/onemancompany/ontology.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,463 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 86% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00086 $0.01463
Opus 5.5 $0.00034 $0.00585
Sonnet 5.5 $0.00017 $0.00293
Haiku 4.5 $0.00009 $0.00146

Measured 3mo ago against content hash ae6a1bc4869c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ontology scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/ontology.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

86% identical to ontology — 24 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

company/human_resource/employees/00002/skills/ontology/SKILL.md · 227 lines

How it starts

The opening of the file, as written. The whole thing — 227 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

# 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

{"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"}

Read the full file on GitHub · 227 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 227 lines · 86 tokens per session scan A ae6a1bc4869c

Subscribe to this mod's changes

ontology is a skill published in the GitHub repository 1mancompany/OneManCompany (479 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 86 tokens to every session and 1,463 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 86% identical to ontology, differing in 24 lines, and is treated as a copy.

Related

ontology compared with skills from other repositories

ontology next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ontology1mancompany/OneManCompanySkill4793mo agoApache-2.0A86Claude Code, Codex
migrate-memorynanocoai/nanoclawSkill31kyesterdayMITA92Claude Code
add-karpathy-llm-wikinanocoai/nanoclawSkill31kyesterdayMITA56Claude Code
memory-to-skillzilliztech/memsearchSkill3.0k3d agoMITA82Claude Code, Codex
memory-recallzilliztech/memsearchSkill3.0k3d agoMITA152Claude Code
Agent Memory System GuideLeoYeAI/openclaw-master-skillsSkill2.2k8d agoMITA44Claude Code, Codex
Agent Memory ArchitectureLeoYeAI/openclaw-master-skillsSkill2.2k8d agoMITA52Claude Code, Codex