Change setting

From ericwang915/PythonClaw · View interactive version

Change setting is an AI agent skill from the GitHub repository ericwang915/PythonClaw. Modify pythonclaw.json configuration at runtime. Use when: user wants to set API keys, tokens, change LLM provider, adjust web port, or update any config value. NOT for: editing code, changing soul/persona files, or modifying skill files.

How to use this skill

Skill file

Change Setting Skill

Modify pythonclaw.json configuration at runtime.

When to Use

✅ USE this skill when:

When NOT to Use

❌ DON'T use this skill when:

Usage/Commands

Show current config:

python {skill_path}/update_config.py --show

Update a value (dot-notation for key path):

python {skill_path}/update_config.py --set "llm.deepseek.apiKey" "sk-xxx"

Examples:

# Change LLM provider
python {skill_path}/update_config.py --set "llm.provider" "claude"

# Set Tavily API key
python {skill_path}/update_config.py --set "tavily.apiKey" "tvly-xxx"

# Set Telegram token
python {skill_path}/update_config.py --set "channels.telegram.token" "123:ABC"

# Set GitHub token
python {skill_path}/update_config.py --set "skills.github.token" "ghp_xxx"

# Change web port
python {skill_path}/update_config.py --set "web.port" "8080"

# Set email credentials
python {skill_path}/update_config.py --set "skills.email.senderEmail" "me@gmail.com"
python {skill_path}/update_config.py --set "skills.email.senderPassword" "app-password"

After updating, tell the user the change was saved and whether a restart is needed to take effect.

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.