Skip to main content
Majordomo ships two open-source Claude Code skills. Install them and Claude Code will connect your code to Majordomo the right way — correct base URL, headers, metadata, and agent-run tracking — without you memorizing any of it.

majordomo-gateway

Route any client through the gateway — the OpenAI or Anthropic SDK, curl, majordomo-llm, Pydantic AI, or Agno. Adds cost tracking, metadata attribution, and agent-run waterfalls. Works with Managed Cloud, self-hosted Steward, or the open-source gateway.

majordomo-llm

Use the majordomo-llm Python library directly — text, JSON, structured Pydantic output, streaming, cost tracking, and provider cascade.

Install

Skills live in a skills/ directory in each project’s repo. Copy the ones you want into your personal skills folder (~/.claude/skills/) or a project’s .claude/skills/.
Restart Claude Code (or start a new session) so it picks up the skills.

Use it

Just describe what you want in plain language — the skills load automatically when a task matches. For example:
  • “Route these OpenAI calls through Majordomo and tag them by feature.”
  • “Wire my Pydantic AI agent through the gateway and group each conversation into one run.”
  • “Add cost tracking to this script with majordomo-llm.”
Claude Code will ask which gateway you’re running (Cloud, self-hosted, or open source), read the relevant environment variables, and write the integration.
The skills are open source under the MIT license — read or fork them in the majordomo-gateway and majordomo-llm repos.