explaingit

wonsukchoi/domain-experts

Analysis updated 2026-05-18

8PythonAudience · developerComplexity · 2/5LicenseSetup · easy

TLDR

Domain Experts is an open source library of structured job-expert knowledge files that AI agents can load to reason like a real practitioner instead of a generic assistant.

Mindmap

mindmap
  root((domain-experts))
    What it does
      Structured expert role files
      Loaded on demand by AI agents
      Router skill auto-matches roles
    Tech stack
      Python
      Node.js CLI
      Markdown SKILL files
    Use cases
      Contract review as a lawyer
      Financial analysis as a CFO
      Slash commands for AI tools
    Design
      Non-derivable content
      CI-enforced authoring rules
      Token-efficient loading

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Load a specific expert role, like a contracts lawyer, so an AI agent applies real practitioner judgment to a task.

USE CASE 2

Install a router skill that automatically detects and loads the right expert role for a given request.

USE CASE 3

Add a slash command to tools like Claude Code, Cursor, or Codex for one-step expert role matching.

What is it built with?

PythonNode.jsMarkdown

How does it compare?

wonsukchoi/domain-experts100/awesome-machine-learningadam-s/car-diagnosis
Stars888
LanguagePythonPythonPython
Last pushed2024-08-07
MaintenanceStale
Setup difficultyeasyeasymoderate
Complexity2/51/53/5
Audiencedeveloperdeveloperresearcher

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Runs via npx with no installation required.

MIT license, so the files can be used, copied, and modified freely with attribution.

In plain English

Domain Experts is an open source library that turns the knowledge of real job experts, such as lawyers or financial managers, into structured files an AI agent can load and reason with. Instead of asking an AI to simply act like a CFO or a contracts lawyer, which tends to produce a generic average of internet job descriptions, this project provides files containing the actual decision thresholds, warning signs, and worked examples a real practitioner would use. Each expert role is stored as a compact file containing the core reasoning a professional in that field would apply, plus optional reference files with deeper detail that only gets loaded when a task actually needs it, keeping token use efficient. The project argues that what makes these roles valuable is not just the text itself, since anyone could copy the files, but the process behind creating and correcting them: an authoring pipeline involving review passes, a scoring system, and automated checks that catch generic filler language before it is merged. Using the library involves installing it through a command line tool built on npm, either by matching a task description to the closest expert role and adding it, or by installing a lightweight router skill that automatically detects which expert a task calls for and loads that role's details on demand. The tool supports several AI coding assistants including Claude Code, Codex, Gemini CLI, Cursor, Windsurf, Roo Code, and Amp, each of which can get a slash command that triggers this matching and loading process directly. The README specifically warns against pointing a tool's skill discovery directly at the raw roles folder, since it contains over two hundred separate files that would otherwise all get loaded into the system prompt at once. The project is released under the MIT license and documents its role authoring standards in a separate specification file for contributors who want to add new expert roles.

Copy-paste prompts

Prompt 1
Match and install the domain-experts role that fits reviewing a vendor contract like a lawyer.
Prompt 2
Explain how the domain-expert-router skill decides which expert role to load for a task.
Prompt 3
Walk me through installing a domain-experts slash command for Claude Code.
Prompt 4
What does the authoring pipeline check for before a new expert role gets merged into this repo?

Frequently asked questions

What is domain-experts?

Domain Experts is an open source library of structured job-expert knowledge files that AI agents can load to reason like a real practitioner instead of a generic assistant.

What language is domain-experts written in?

Mainly Python. The stack also includes Python, Node.js, Markdown.

What license does domain-experts use?

MIT license, so the files can be used, copied, and modified freely with attribution.

How hard is domain-experts to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is domain-experts for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.