/ana:ontologyfrom ana
Maintains a work ontology (work-ontology.js) with classes, properties, SHACL rules, and versioning. Exports OWL 2 + SHACL (.ttl) and renders in Knowledge › Ontology. Activates when building or changing work types, or on ontology-related keywords.
Ships in ana. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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:
// 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 | — |
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.producedIn from both Response and Result, with different fields) is merged into one relation (domains, ranges and fields collected).who and many becomes one shared property in the .ttl (ana:name, domain = all those classes).list) are exported as owl:AllDisjointClasses.Rename or remove → major (2.0.0) · add → minor (1.2.0) · wording or labels only → patch (1.1.1). Set modified to today. Fix the Description in the same change — a struck-through reference means you forgot.
GET /api/knowledge returns rules: the declarations, merged with what work-rules.js (next to work-ontology.js, optional) finds:
// work-rules.js — checkRules(lists) gets work-graph.json ({ quotes: [...], leads: [...] }) and returns, per rule id:
module.exports = { checkRules(L) {
const q = L.quotes || [], bad = q.filter((x) => x.state === 'sent' && x.amount == null);
return { R1: { checked: q.filter((x) => x.state === 'sent').length, bad: bad.length, unknown: 0, unknownWhy: {},
examples: bad.slice(0, 30).map((x) => ({ id: x.id, name: x.title, why: 'sent without an amount' })) } };
} };
A rule with no result shows — (not checked). What we learned the first time rules ran on real data: most "broken" results were the checker's fault. A value that is also in the input is not a leak; a re-check under a new version of the same criterion is not a mismatch; things you cannot see (imported runs, deleted items) are could not check, because …, not broken.
align. Don't force a match that isn't there.functional; version and creator.Review class).GET /api/knowledge → { …knowledge.json, graph: { kinds (with props, align), relations (with functional, align), meta, description, nodes, edges }, rules } — gzip when large (the page shows a progress bar and a log).GET /api/agent-base gives this ANA's address; the .ttl namespace is <address>/ontology#.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub tykimos/agent-native-agent --plugin ana10 skills in this plugin
/agent-requestsPort ANA's Requests, Evolve, PRD and Knowledge tabs — Requests (what the agent needs from the user — pending data-change diffs, approval / decision / access requests, work only the user can do, missing information), Evolve (the agent looks at the work and the usage log and proposes what to do now and how the app should change, then builds the approved ones) and PRD (what this ANA is and does — the agent writes it, people edit it, every version is kept). Knowledge (an ontology and a graph that start empty and the agent fills from the work). Every card speaks plainly (why / ask / effect / ifNot). Also triggers on "PRD", "요구사항 문서", "지식", "온톨로지". Use when the user says "Requests 탭", "에이전트가 요청", "사용자에게 요청", "Evolve", "진화 제안", "개선 제안 탭", or when ana-update reports agent-requests / agent-evolve missing./anaAttach ANA (Agent-Native Agent) to an existing web app or service so the user can operate it by watching a dashboard and chatting with a coding agent that runs inside tmux — chat is injected via tmux paste-buffer and the session is mirrored via capture-pane, with zero dependencies (no MCP, no bridge, no hooks, no plugin runtime). Use this whenever the user wants to "add ANA / a chat+watch dashboard to my app", "attach a coding-agent chat to an existing service", "make my dashboard talk to a tmux agent", "화면 보면서 대화로 조작", "기존 서비스에 ANA 붙이기", or to scaffold the standalone ANA base app. The single file `channel-core.js` is the whole runtime — drop it in and mount it./ana-updateBring an existing, customized ANA up to date with the latest upstream ANA (github.com/tykimos/agent-native-agent) feature by feature — compare first, report what is new/missing/outdated, then port only what the user picks, using the per-feature skills (chat-window, context-chips, work-and-knowledge, app-shell, agent-requests, trust-checks). Never overwrite the ANA's own domain code. Use when the user says "최신 내용으로 업데이트해", "ANA 업데이트", "update this ANA", "upstream이랑 뭐가 달라", "새 기능 가져와", "base-ana 개선사항 적용", or gives the ANA GitHub URL and asks to sync./app-shellPort 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 kind of work, Knowledge with Ontology / Graph, Requests · Evolve · Update with Waiting / In progress / Done), sub-tabs (in the top bar), badges, right-aligned profile, "New version available" reload pill, and the remembered tab. Use when the user says "탭 구조", "모바일 네비게이션", "워크 탭", "서브탭", or when ana-update reports app-tabs missing./audio-cd-rip오디오 CD를 mp3로 리핑해 contents/music 앨범 폴더로 만든다. CD 케이스·표지 사진에서 곡명을 읽거나 MusicBrainz로 조회해 album.json 메타를 작성하고, 커버 이미지를 저장해 음악 탭(/music)에 바로 뜨게 한다. "CD 복사해줘", "CD를 mp3로", "앨범 넣어줘", "음악 CD 리핑" 요청 시 사용./chat-windowPort or rebuild the ANA chat window so it looks and behaves like the Claude app — full-width session combo, user bubbles + markdown replies + collapsible tool groups rendered from the agent's own JSONL log (Claude Code and Codex), floating composer with model pill, model/effort sheet, 5-hour/weekly usage rings, voice dictation, file attachments, reliable send state, iOS keyboard fit, one ledger per session. Use when the user says "채팅창 개선", "채팅창 스킬", "클로드 앱처럼", "모델 선택", "한도 표시", "음성 입력", "코덱스 지원", "세션별로 따로", "port the chat window", or when ana-update reports chat-* features missing.Other plugins' skills for the same job