Skip to content
Agent Workspaces
Skill

/ontology

Write and keep this ANA's work ontology (work-ontology.js) — classes with Datatype Properties, Object Properties (lowerCamelCase, functional, aligned to standard vocabularies), rules (SHACL) checked against the real data, a version, and a human-readable Description whose

From plugin
ana
15810 skills

Claude Code

$ npx -y skills add tykimos/agent-native-agent --skill ontology --agent claude-code

SKILL.md

ontology.SKILL.md
name: ontology
description: Write and keep this ANA's work ontology (work-ontology.js) — classes with Datatype Properties, Object Properties (lowerCamelCase, functional, aligned to standard vocabularies), rules (SHACL) checked against the real data, a version, and a human-readable Description whose sentences point at the ontology. Knowledge › Ontology shows it and exports OWL 2 + SHACL (.ttl, OntoAir). Use when the agent builds or changes a kind of work, when someone says "온톨로지", "ontology", "클래스", "관계", "규칙", "OWL", "ttl", "SHACL", or when ana-update reports the ontology format missing.

ontology — one declaration people can read, standards can read, and the data is checked against

`work-ontology.js` declares the kinds of work items and how they connect. `graph-index.js` builds the graph from it; **Knowledge › Ontology** shows it top to bottom:

1. **Description** — paragraphs people read; every sentence carries numbered references. Pressing a number opens that Class / Object Property / Datatype Property / Rule. A reference that no longer exists is struck through — a stale description shows itself. 2. **Version** line · **View in OntoAir ↗** · **Download .ttl**. 3. **Classes** — list on the left, detail on the right: aligned standards, Datatype Properties (name · code · type with allowed values · who sees it · description, fields inside JSON indented), Object Properties (direction · other class · how many · made by). 4. **Object Properties** — a diagram (boxes = classes, named arrows = relations; automatic layered layout, drag to move, *Reset layout*) and the same as a table. 5. **Rules** — each rule, its class, and what the current data does: kept · broken (first 30, with why) · could not check (counted by reason).

Format

// one Datatype Property. type is an XSD/RDF name. 'T[]' = many values, 'xsd:string|a,b' = allowed values (owl:oneOf)
const p = (id, label, type, desc, who, sub) => {
  const [t, vals] = String(type).split('|');
  return { id, label, type: t.replace(/\[\]$/, ''), ...(/\[\]$/.test(t) ? { many: true } : {}), ...(vals ? { values: vals.split(',') } : {}), desc, ...(who ? { who } : {}), ...(sub ? { sub } : {}) };
};

module.exports = {
  meta: { version: '1.1.0', modified: '2026-11-23', creator: '<company or service — not a person>', lang: 'en' },
  description: [
    ['Overview', [
      ['A quote is a price we sent to one lead.', ['C:Quote', 'R:quoteFor', 'C:Lead']],
      ['Once sent, its amount does not change.', ['P:Quote.amount', 'RULE:R1']],
    ]],
  ],
  classes: [
    { id: 'Lead', label: 'Lead', list: 'leads', desc: 'A company that asked for a price', title: (x) => x.name, align: ['prov:Agent'],
      props: [p('name', 'Name', 'xsd:string', 'Company name'), p('apiKey', 'API key', 'xsd:string', 'Their key', 'serverSecret')] },
    { id: 'Quote', label: 'Quote', list: 'quotes', desc: 'A price we sent', align: ['prov:Entity'],
      props: [p('amount', 'Amount', 'xsd:integer', 'In KRW'), p('state', 'State', 'xsd:string|draft,sent,won,lost', ''),
              p('lines', 'Lines', 'rdf:JSON[]', 'Line items', 'all', [p('sku', 'SKU', 'xsd:string', '')])] },
    { id: 'Day', label: 'Day', desc: 'A calendar day (computed from dates)' },
  ],
  relations: [
    { id: 'quoteFor', label: 'quote for', from: ['Quote'], to: ['Lead'], made: 'derived', field: 'Quote.lead', functional: true, align: ['prov:wasAttributedTo'], desc: 'The lead this quote was sent to' },
    { id: 'sentOn', label: 'sent on', from: ['Quote'], to: ['Day'], made: 'derived', field: 'Quote.sentAt', functional: true },
    { id: 'refersTo', label: 'refers to', from: ['*'], to: ['*'], made: 'explicit', desc: 'Manual reference between two work items' },
  ],
  rules: [
    { id: 'R1', label: 'A sent quote has an amount', on: ['Quote'], desc: 'Nobody can accept a price that is not there.',
      shacl: 'sh:targetClass {C:Quote} ; sh:property [ sh:path {P:Quote.amount} ; sh:minCount 1 ]' },
    { id: 'R2', label: 'A won quote is for a lead that still exists', on: ['Quote'] },   // no shacl → exported as a comment only
  ],
};

| Key | Meaning | In the .ttl | |---|---|---| | `classes[].props[]` | Datatype Properties: `id`, `label`, `type`, `desc` | `owl:DatatypeProperty`, `rdfs:range` | | `props[].type` | `xsd:string` · `xsd:integer` · `xsd:decimal` · `xsd:boolean` · `xsd:date` · `xsd:dateTime` · `rdf:JSON` · `rdfs:Literal` | `rdfs:range` | | `props[].values` | allowed values | `owl:oneOf` (an `owl:Restriction` per class when classes allow different values) | | `props[].many` | the field holds several values | comment | | `props[].who` | who sees the value — a short code: `all` (default), `serverSecret`, `internal`, … | annotation `ana:visibility` | | `props[].sub` | fields inside a JSON value | `# Properties inside JSON` | | `classes[].align` / `relations[].align` | standard parent (PROV-O, Dublin Core, DCAT, EARL, schema.org …) | `rdfs:subClassOf` / `rdfs:subPropertyOf` | | `relations[].functional` | `true` = one only, `false` = many | `owl:FunctionalProperty` | | `rules[].shacl` | SHACL body with placeholders `{C:Class}` `{P:Class.field}` `{R:relation}` | `sh:NodeShape` | | `meta` | `version`, `modified`, `creator`, `lang` (language tag for labels) | `owl:versionInfo`, `owl:versionIRI`, `dcterms:creator`, `dcterms:modified` | | `description` | `[[heading, [[sentence, [refs]], …]], …]` — refs `C:Class` · `R:relation` · `P:Class.field` · `RULE:id` | — |

  • **Codes.** Class ids are UpperCamelCase (`Quote`), relation ids lowerCamelCase (`quoteFor`) — the OWL convention. Old `UPPER_SNAKE` codes (`QUOTE_FOR`) are still read (and links are rewritten on the next save), but write new ones in camelCase.
  • **One name, one relation.** Don't give two relations the same label ("belongs to" ×4) — say what it belongs to.
  • **Same code on several lines** (e.g. `producedIn` from both `Response` and `Result`, with different fields) is merged into one relation (domains, ranges and fields collected).
  • *
Read more
@tykimos
Ships withana

Self-hosted apps you operate by watching a dashboard and talking to a coding agent that IS the runtime — it proposes, applies, and evolves the app live. Built for Claude Code and MCP.

Stars on GitHub

Momentum

stars in total
158
Star history of tykimos/agent-native-agent on GitHub, a chart by star-history.com

Other skills on ana.

agent-requests

agent-requests

Port ANA's Requests, Evolve, PRD and Knowledge tabs — Requests (what the agent needs from the user — pending data-change diffs,…

@tykimos@tykimosInstall Skill
ana-update

ana-update

Bring an existing, customized ANA up to date with the latest upstream ANA (github.com/tykimos/agent-native-agent) feature by…

@tykimos@tykimosInstall Skill
ana

ana

Attach ANA (Agent-Native Agent) to an existing web app or service so the user can operate it by watching a dashboard and chatting…

@tykimos@tykimosInstall Skill
app-shell

app-shell

Port ANA's app shell — one workspace, six tabs in a menu under the ANA logo (PRD with Current / History, Work with a sub-tab per…

@tykimos@tykimosInstall Skill
chat-window

chat-window

Port or rebuild the ANA chat window so it looks and behaves like the Claude app — full-width session combo, user bubbles +…

@tykimos@tykimosInstall Skill
cloud-setting

cloud-setting

Provision and wire up a cloud VM as an ANA (Agent-Native Agent) host end-to-end — create an Azure VM (az CLI), record its…

@tykimos@tykimosInstall Skill

More skills from other plugins.

hud

hud

Set up, check, change, preview, or report a problem with the claude-hud status line. Use when the user mentions the HUD or status…

@jarrodwatts@jarrodwattsInstall Skill
paseo

paseo

Paseo reference for managing hosts, projects, workspaces, workspace scripts, agents, schedules, and heartbeats.

paseo8d24k
@getpaseo@getpaseoInstall Skill
10x
Auto-invoked

10x

Personalized audit that teaches the advanced Paradev (formerly Superset) features the user isn't using yet (automations, parallel…

paradev6d16k
@superset-sh@superset-shInstall Skill

Questions about ontology.

Which coding agents can use ontology?
ontology installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.