Configuration

CLI-JAW is configured through settings.json, environment variables, and prompt templates.

settings.json

Located at ~/.cli-jaw/settings.json. Key fields:

KeyTypeDescription
anthropic.apiKeystringAnthropic API key
openai.apiKeystringOpenAI API key
google.apiKeystringGoogle AI API key
telegram.tokenstringTelegram bot token
telegram.allowedChatIdsnumber[]Allowed Telegram chat IDs
discord.tokenstringDiscord bot token
discord.guildIdstringDiscord guild ID
modelstringDefault AI model
clistringDefault CLI runtime
portnumberServer port (default: 3457)
languagestringUI language (en/ko/ja/zh)

Environment Variables

VariableDefaultDescription
CLI_JAW_HOME~/.cli-jawData directory override
PORT3457Server port
DASHBOARD_PORT24576Dashboard port

heartbeat.json

Located at ~/.cli-jaw/heartbeat.json. Defines recurring scheduled tasks:

{
  "jobs": [{
    "id": "hb_morning",
    "name": "Morning check",
    "enabled": true,
    "schedule": { "kind": "cron", "cron": "0 9 * * *", "timeZone": "Asia/Seoul" },
    "prompt": "daily check-in"
  }]
}

Prompt Customization

Create ~/.cli-jaw/prompts/a2-default.md to add custom instructions that are injected into every conversation.

Try it:
  • 설정 파일 어디있어?
  • 포트 바꾸고 싶어
  • 하트비트 설정해줘