RAG Setup
Configure the required environment variables for the RAG skills.
Required Variables
| Variable | Description | Example |
|---|---|---|
ZEABUR_RAG_URL |
RAG service base URL | https://your-rag-service.zeabur.app |
RAG_API_KEY |
API key for authenticated writes (report/learn) | rak_xxxxxxxxxxxxxxxx |
RAG_API_KEYis optional for search-only use. Required for/api/reportand/api/learn.
Setup Steps
Ask the user for
ZEABUR_RAG_URLandRAG_API_KEY(or confirm existing values).Read
~/.claude/settings.json.Merge the
envsection — preserve all existing keys:
{
"env": {
"ZEABUR_RAG_URL": "<value>",
"RAG_API_KEY": "<value>"
}
}
Write the updated file back.
Tell the user to run
/reload-pluginsor restart Claude Code for the changes to take effect.
Notes
- Store in
~/.claude/settings.json(user scope) so they apply across all projects. - Never commit these values to git.
- If the user only wants read access,
RAG_API_KEYcan be left empty or omitted.