expert
Query expert-service knowledge bases — ask questions, search beliefs, list projects
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Query expert-service knowledge bases — ask questions, search beliefs, list projects
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | expert |
| description | Query expert-service knowledge bases — ask questions, search beliefs, list projects |
| argument-hint | [ask|search|chat|projects|login|status] [args...] |
| allowed-tools | Bash(expert *), Bash(uvx *expert*), Read |
You are querying expert-service knowledge bases using the expert CLI tool. Expert-service is a domain expert system backed by a Truth Maintenance System (TMS) for beliefs and full-text search over source documents.
Expert-service maintains curated knowledge bases with:
The expert CLI is a thin HTTP client that connects to a running expert-service instance. It handles authentication (Google OAuth or API key) and project resolution automatically.
Try these in order until one works:
expert $ARGUMENTS (if installed via uv/pip)uvx --from ftl-expert expert $ARGUMENTS (fallback)expert init # creates ~/.config/expert/config.toml
expert login # Google OAuth browser login
Config file (~/.config/expert/config.toml):
url = "http://localhost:8000"
project = "redhat-expert"
google_client_id = "your-id.apps.googleusercontent.com"
google_client_secret = "your-secret"
ask <question> [--project NAME] [--model MODEL]Ask a question and get a complete answer. Uses dual-path retrieval (TMS beliefs + FTS source search) plus any configured data connectors. Returns the full answer text.
Convert natural language to CLI arguments:
/expert what are the delivery risks for AAP? → expert ask "What are the delivery risks for AAP?"/expert who is Ben Thomasson → expert ask "Who is Ben Thomasson?"/expert search pipeline risks → expert search "pipeline risks"expert ask "What is the current headcount for Platform Engineering?"
expert ask "What are the key risks for Q3?" --project redhat-expert
expert ask "Explain the TMS architecture" --project ftl-reasons-expert
search <query> [--project NAME]Search beliefs and entries by keyword. Returns matching beliefs (with IN/OUT status) and entry titles. Faster than ask — no LLM involved, just full-text search.
expert search "pipeline" --project redhat-expert
expert search "contradiction"
chat <message> [--project NAME] [--model MODEL]Stream a chat response. Same as ask but streams tokens as they arrive. Better for long answers.
expert chat "Summarize the product strategy"
projectsList all available projects with belief/entry/source counts.
expert projects
login [--port PORT]Authenticate via Google OAuth. Opens a browser, caches the token at ~/.config/expert/token.json. Auto-refreshes on subsequent calls.
logoutClear cached credentials.
statusShow current authentication state, URL, and default project.
initCreate a default config file at ~/.config/expert/config.toml.
| Need | Command |
|---|---|
| Answer a question with reasoning | expert ask "..." |
| Find beliefs/entries by keyword | expert search "..." |
| Long answer with streaming | expert chat "..." |
| See what projects exist | expert projects |
| Check auth is working | expert status |
ask returned an answer, present it to the user — don't just say "the answer was returned"search returned beliefs, note which are IN vs OUTexpert login