Ontology Creator Skill for Claude & AI Agents
The Ontology Creator skill (skill-ontology-creator)
generates ontological knowledge graphs in [[wikilinks]] syntax — entities, classes, relationships,
axioms, and rules — either for a topic you name or extracted from a text you provide. The output is formatted for
direct paste into InfraNodus, where it becomes a network
visualization you can develop further with AI-powered gap analysis.
It's for knowledge engineers, researchers, note-takers, and anyone building structured knowledge bases who wants ontologies that look like actual networks — not the hub-and-spoke trees LLMs produce by default.
Get Started
Create an Account
Sign up for a free InfraNodus account to get access to the knowledge graph tools and your API key.
Create a Free AccountGet InfraNodus MCP
https://mcp.infranodus.com
Add this URL as a connector via Settings > Connectors in Claude Web / Desktop and authenticate with your InfraNodus API key via OAuth.
https://mcp.infranodus.com
Open the ChatGPT Apps page > Advanced Settings > enable Developer Mode > Create App, paste this URL (leave the OAuth fields empty), click Connect, and authenticate with your InfraNodus API key. Full guide: ChatGPT setup.
claude mcp add infranodus -s user --transport http https://mcp.infranodus.com/mcp
Then open Claude Code in terminal, run /mcp and pick
"Authenticate" — it opens the browser OAuth flow where you will need to
put in your InfraNodus API key to connect to
the MCP server.
{
"mcpServers": {
"infranodus": {
"url": "https://mcp.infranodus.com"
}
}
}
Add this to ~/.cursor/mcp.json (all projects) or
.cursor/mcp.json (one project) — or use
Cursor Settings > MCP > New MCP Server. Then
click "Login" next to the server to authenticate with your
InfraNodus API key.
codex mcp add infranodus --url https://mcp.infranodus.com
codex mcp login infranodus
Run these commands in your terminal — the login command opens the
browser OAuth flow where you enter your
InfraNodus API key. (You can also add the
server to ~/.codex/config.toml manually.)
{
"mcpServers": {
"infranodus": {
"command": "npx",
"args": ["-y", "infranodus-mcp-server"],
"env": {
"INFRANODUS_API_KEY": "your-api-key"
}
}
}
}
Add this to your LLM client's MCP configuration file (it runs the
infranodus-mcp-server npm package via npx), replacing
your-api-key with your
InfraNodus API key. See our
deployment guides for client-specific
instructions (n8n, Make.com, local setup, and more).
Install the Skill
/plugin marketplace add infranodus/skills
/plugin install ontology-generator@infranodus-skills
Run these two commands in the Claude Code prompt to install
the skill as a plugin (use
infranodus-all@infranodus-skills to install all
our skills at once). Or use npx in your terminal:
npx skills add infranodus/skills --skill ontology-generator -g -a claude-code -y
Download the skill as a .zip file from our GitHub
repository:
Then open Claude Desktop (or Claude Web), go to
Customize > Skills (in older versions:
Settings > Capabilities > Skills), make
sure "Code execution and file creation" is enabled, click
Upload Skill (or the + button)
and select the ontology-generator.zip file you just
downloaded. The skill will be available in all your new
conversations.
Option 1: ask Codex to install the skill for you with its built-in skill installer. Type this in the Codex prompt:
$skill-installer install the ontology-generator skill from https://github.com/infranodus/skills
Option 2: use npx in your terminal (it will fetch the skill from our GitHub repository and add it to Codex):
npx skills add infranodus/skills --skill ontology-generator -g -a codex -y
Both options install the skill into the
~/.codex/skills folder. Start a new Codex session
to pick it up, then type $ in the prompt to see the
skill in the list and invoke it.
npx skills add infranodus/skills --skill ontology-generator -g
When prompted, select the agents where you want to add the skill — e.g. claude-code, codex, or cursor.
npx comes bundled with Node.js. For ChatGPT and OpenClaw, see the full installation instructions.
Didn't work? You can simply download ontology-generator.zip from our GitHub repository and add it to your LLM client manually — see the step-by-step instructions.
What the Skill Does
Once installed, prompts like these trigger the skill:
- "Create an ontology of climate change" — generates a comprehensive ontology for the domain, covering the widest possible range of entities and relation types.
- "Extract entities and relationships from this text" — mines the explicit and implicit relations from any text you paste.
- "Expand the renewable energy part" — follow-up requests develop the ontology in the direction you name, in the same syntax.
- "Visualize this as a knowledge graph" — hands the ontology to the InfraNodus MCP tools for graph generation and metrics (if connected).
- "Save this ontology to my InfraNodus account / as a memory" — persists the graph or stores the relations as structured memory for later retrieval.
The output is the ontology and nothing else — no explanations, no commentary — in a code snippet you can copy straight into InfraNodus.
How It Works
Every statement in the output follows one pattern: two or more entities in [[wikilinks]], a plain-text
relation description, and a relation code in square brackets at the end of the line:
[[apple]] is an instance of [[fruit]] [isA]
[[apple]] grows as a result of [[apple blossom]] [causedBy]
[[chlorophyll]] absorbs [[sunlight]] for energy [relatedTo]
The skill uses a fixed vocabulary of ten relation codes — [isA], [partOf],
[hasAttribute], [relatedTo], [dependentOn], [causes],
[locatedIn], [occursAt], [derivedFrom], [opposes] —
unless you provide your own. Each relation type gets multiple statements (8+ per type), balanced between descriptive
aspects (classes, attributes, locations) and functional ones (causal chains, dependencies, rules).
The key design principle is network structure over trees. Instead of radiating every statement from one central concept (a star topology where "machine learning" appears in every line), the skill distributes entities across interconnected relationship chains: A relates to B, B affects C, C occurs during D. That's what makes the resulting graph useful in InfraNodus — topical clusters and structural gaps only emerge when the ontology is a genuine network.
The skill works standalone: paste the output into InfraNodus.com
and the [[wikilinks]] become nodes, the co-occurrences become edges. If the
InfraNodus MCP server is connected, the skill can skip the copy-paste: it uses
generate_knowledge_graph for a one-off analysis (whose metrics it can also use to rebalance the ontology),
create_knowledge_graph to save the graph to your account, memory_add_relations /
memory_get_relations to store ontologies as structured memory, and search to connect a new
ontology to graphs you already have.
Install the Skill
Claude Code
Download the skill into your global skills folder:
cd ~/.claude/skills
curl -L -o skill-ontology-creator.zip https://github.com/infranodus/skills/releases/latest/download/skill-ontology-creator.zip
unzip skill-ontology-creator.zip -d skill-ontology-creator
Then ask Claude to "create an ontology" of any topic or text.
Claude Web / Desktop
Go to Settings > Capabilities, enable Code execution and file creation, scroll to the
Skills section, and upload the skill-ontology-creator.zip file.
OpenClaw
Run in the OpenClaw chat:
install this skill: https://github.com/infranodus/skills/releases/latest/download/skill-ontology-creator.zip
See the main installation guide for step-by-step instructions per LLM client.