AI Resources

Skills

What OKE ships to teach AI agents the system — the repo-level AGENTS.md contract and the installable skills under .agents/skills/.

Tools alone don't make a good operator — an agent also needs to know the vocabulary: what a Flow is, why fx is the only door, which driver ids are legal. OKE ships that knowledge as contracts and skills that agents load automatically, so sessions start aligned instead of drifting and getting corrected.

The three layers

LayerPathLoaded whenTeaches
Agent contractAGENTS.md (repo root)Every agent session, automaticallyThe one law, eight elements, ten exports, the fx rule, ports, budgets
Element skill.agents/skills/oke/Building or changing an okengine appThe element contract in depth — declaration patterns per element
Docs skill.agents/skills/oke-docs/Writing or editing docs under site/content/docsThe documentation information-architecture standard and its gates

AGENTS.md — the root contract

Every OKE app's repo carries an AGENTS.md that agents (Cursor, Claude Code, and peers) read at session start. It is deliberately short and absolute: every backend behavior is a Flow (on(Trigger) → Effects), there are eight elements and ten exports, all world access goes through fx, drivers are named after protocols, and the ports/budgets are fixed. Its closing rule is the one that keeps agents honest: if the documentation is silent, stop and ask — never invent the API.

Skills — installable know-how

Skills are SKILL.md packages an agent loads when the work matches their description. The two OKE ships:

SkillUse it forInside
okeApp work — flows, elements, driversThe agent contract, element patterns, the fx invariants
oke-docsDocs work — new pages, rewritesThe page skeleton, verification sources, the density gate

Both live in the repo under .agents/skills/, so they travel with the code and stay versioned with what they describe.

How contracts compose with MCP

Contracts teach the vocabulary; MCP grants the hands. An agent that knows the eight elements from AGENTS.md reads the Manifest through oke.manifest.get with the right mental model — and its write attempts still pass through per-call human confirmation, because knowing the system is not the same as being trusted by it.

Learn more

  • MCP — the runtime surface these contracts pair with
  • Introduction — the eight elements in human terms
  • llms.txt — feeding an agent the docs themselves

Next

On this page