# Change Setting

> 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.

- **Type:** Skill
- **Install:** `agentstack add skill-ericwang915-pythonclaw-change-setting`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [ericwang915](https://agentstack.voostack.com/s/ericwang915)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [ericwang915](https://github.com/ericwang915)
- **Source:** https://github.com/ericwang915/PythonClaw/tree/main/pythonclaw/templates/skills/system/change_setting
- **Website:** https://github.com/ericwang915/PythonClaw

## Install

```sh
agentstack add skill-ericwang915-pythonclaw-change-setting
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Change Setting Skill

Modify `pythonclaw.json` configuration at runtime.

## When to Use

✅ **USE this skill when:**
- "Set my API key to ..."
- "Change LLM provider to Claude"
- "Update my Tavily/Telegram/GitHub token"
- "Change the web port to 8080"
- "Configure email credentials"
- User wants to change any runtime setting without editing files manually

## When NOT to Use

❌ **DON'T use this skill when:**
- Changing agent personality or identity → use change_persona or change_soul
- Editing Python code or skill files → use file edit tools
- Adding/removing skills → use skill management or manual file edits

## Usage/Commands

**Show current config:**
```bash
python {skill_path}/update_config.py --show
```

**Update a value** (dot-notation for key path):
```bash
python {skill_path}/update_config.py --set "llm.deepseek.apiKey" "sk-xxx"
```

**Examples:**
```bash
# 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

- Uses bundled `update_config.py` to read and update pythonclaw.json
- API keys, passwords, and tokens are masked when displaying config
- Only `pythonclaw.json` is modified — no other files

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [ericwang915](https://github.com/ericwang915)
- **Source:** [ericwang915/PythonClaw](https://github.com/ericwang915/PythonClaw)
- **License:** MIT
- **Homepage:** https://github.com/ericwang915/PythonClaw

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-ericwang915-pythonclaw-change-setting
- Seller: https://agentstack.voostack.com/s/ericwang915
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
