worklog supports two AI providers. Select one during worklog init.
Uses the Claude Agent SDK. Two ways to authenticate:
export ANTHROPIC_API_KEY="sk-ant-..."
worklog init # select "Anthropic (Claude)"Get an API key at https://console.anthropic.com/settings/keys
If you already have Claude Code installed and authenticated, worklog piggybacks off your existing session — no extra setup needed.
claude /doctor # verify Claude Code is working
worklog init # select "Anthropic (Claude)"Use your existing ChatGPT Plus, Business, or Pro plan. No separate API billing.
npx codex@latest login # opens browser — sign in with your ChatGPT account
worklog init # select "OpenAI"Tokens cache locally at ~/.codex/auth.json and refresh automatically.
For direct API billing through the OpenAI Platform.
export OPENAI_API_KEY="sk-..."
worklog init # select "OpenAI"Get an API key at https://platform.openai.com/api-keys
| Variable | Required for | How to get it |
|---|---|---|
ATLASSIAN_API_TOKEN |
Jira/Confluence data | Atlassian API tokens |
GITHUB_TOKEN |
GitHub PR data | GitHub tokens |
ANTHROPIC_API_KEY |
AI — Anthropic (if not using Claude Code CLI) | Anthropic console |
OPENAI_API_KEY |
AI — OpenAI (if not using ChatGPT subscription) | OpenAI dashboard |
worklog initThis walks you through vault location, API connections, authentication, profile, and career setup.
After init, three markdown files appear in your vault:
my-profile.md-- your background, skills, growth areaswork-context.md-- company values, review cycle, org contextcoach-persona.md-- how coaching feedback is delivered
These are plain markdown -- edit them anytime to refine the AI's context.
Config is stored at ~/.config/worklog/config.json (XDG standard).
Adjacent files:
~/.config/worklog/team-timeline.json-- team history~/.config/worklog/worklog-stats.json-- run timing statistics