Tonto
LLM Assistance

Tonto Ontology Skills

Install the Tonto ontology skill for task-routed LLM assistance.

The Tonto ontology skill packages the same modeling knowledge in a skill-oriented format for agentic tools. It is useful when the assistant supports task routing through a SKILL.md file and can load detailed reference files only when needed.

Guidance files are broad project instructions. Skills are task-oriented references. They can be installed together.

Add the skill with the CLI

Run the command from a Tonto project:

tonto-cli add-skill . --target codex
tonto-cli add-skill . --target all

Supported target values are:

cursor
vscode
codex
claude
google
all

If --target is omitted, the CLI asks which editor or agentic IDE you use.

Add the skill from VS Code

Open the project folder in VS Code and run:

Tonto: Add Tonto Skill to project

Generated locations

TargetSkill location
Cursor.cursor/skills/tonto-ontology/
VS Code / GitHub Copilot.github/skills/tonto-ontology/
Codex.codex/skills/tonto-ontology/
Claude Code.claude/skills/tonto-ontology/
Google Gemini / Antigravity.agents/skills/tonto-ontology/
AllEvery target above

Skill contents

The skill contains:

FileRole
SKILL.mdMain entry point with Tonto syntax, OntoUML stereotypes, relation syntax, project conventions, and task routing.
references/extending.mdDetailed workflow for adding classes, attributes, relations, generalization sets, and packages.
references/terminology.mdNaming and terminology analysis criteria.
references/summarization.mdSummarization structure for packages and complete ontologies.
references/documentation.mdDocumentation rules for labels, descriptions, and explanatory comments.

Guidance files vs skills

Use casePrefer
Cursor rules, Copilot instructions, and always-available repository contextGuidance files
Agent tools that discover task skills and load references on demandTonto ontology skill
A project where multiple assistants may be usedBoth
A lightweight setup for only one modeling sessionGuidance files
Reusable Tonto modeling knowledge shared across projectsSkill

Skill routing

The skill routes common requests to specialized references:

  • Creating or extending the ontology -> references/extending.md
  • Improving names, terminology, or consistency -> references/terminology.md
  • Explaining or summarizing an ontology -> references/summarization.md
  • Writing labels, descriptions, or JSDoc comments -> references/documentation.md

The routing matters because Tonto tasks mix syntax with ontological judgment. For example, creating a Student class is not only a code-generation step; the assistant must decide whether it is a role, phase, subkind, or another UFO category based on the domain.

When using a skill-enabled assistant, start requests with the intended task:

Use the Tonto ontology skill. Analyze the terminology of this ontology,
especially class stereotypes and relation names. Do not edit files yet;
return findings and suggested fixes first.

For edit requests:

Use the Tonto ontology skill to extend this project with publication venues.
Inspect all imports and existing packages first, then edit the smallest set of files.
Explain the stereotype rationale for every new class.

After accepting changes, validate the model:

tonto-cli validate .