Skip to content

AI Editor Setup

Your coding agent writes better Odin code when it knows the library. Odin ships that knowledge as two skills inside the package, so they always describe the version you have installed:

Skill Use it for
odin Using the engine: setup, API, the retrieve() result, evidence handling, errors, migration from 0.3.0
odin-custom-backend Implementing a backend for another database

Each skill is a short SKILL.md that loads automatically when a task matches it, plus reference files the agent reads only when needed.

Install the skills

Install Odin first, then run this from your project root:

odin init --skill

By default this installs both skills to .claude/skills/ and .agents/skills/. Together those cover the tools below. Use --target (repeatable) to choose locations, or --target all for every one:

odin init --skill --target github
odin init --skill --target all

Each tool reads these project locations (from each vendor's documentation):

Tool Reads
Claude Code .claude/skills/
GitHub Copilot (VS Code) .github/skills/, .claude/skills/, .agents/skills/
Cursor .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
OpenAI Codex .agents/skills/
--target Directory
claude (default) .claude/skills/
agents (default) .agents/skills/
github .github/skills/
cursor .cursor/skills/

Copilot and Cursor read more than one of these directories, so with the default two they can list the same skills twice. If you use only one of them, install a single target (for example --target claude, which Claude Code, Copilot and Cursor all read) to avoid the duplicates. Codex reads only .agents/skills/ among these.

Commit the files so everyone who opens the project gets an agent that knows Odin. The command prints one line per file (installed, updated, unchanged, skipped, removed or failed) and exits non-zero if anything failed.

Version matching

The skills come from the installed package, not from the network, so they always match the installed Odin. Re-run odin init --skill after upgrading.

Refresh after an upgrade

The skills are versioned with the package. After upgrading Odin, run the same command:

odin init --skill

It records a manifest (.odin-skill-manifest.json in each skills/ directory) with the skill version and a hash of every installed file, then:

  • updates files you have not touched,
  • skips files you edited and tells you which ones,
  • removes files that the new version no longer ships, if you have not edited them.

Add --force to overwrite files you edited.

Tools without skill discovery

Tools that read AGENTS.md can be pointed at the skill with one line in your project's AGENTS.md:

When working with odin (odin-engine) code, read .agents/skills/odin/SKILL.md first.

Any tool: llms.txt

The documentation site serves llms.txt, a curated index of these docs for AI ingestion. Point research agents or custom tooling at it instead of scraping. The skills fall back to the same index when a reference file is missing.

What good looks like

With the skill loaded, your agent should construct OdinEngine(backend, ...) with a backend such as ArangoBackend(db, graph) and an explicit ArangoGraphConfig, call retrieve(seeds, ...), derive nodes from path["edges"], keep relation labels and provenance when it formats evidence, and treat an exception differently from an empty result. If you see it reach for OdinEngine(db) or depend on undocumented fields such as path["nodes"], the skill is not loaded.

Next