secrets-set · git:20260708.e42b71f · 2026-07-08 · sha256 a804f15862bfe827
secrets-set git:20260708.e42b71fA
Immutable. This exact content is served forever at /api/v1/blob/a804f15862bfe827.
---
name: "secrets-set"
description: "Set a Secret - Set or update a secret value in the project's global config store."
---
<!-- GENERATED by claude-power-pack - scripts/codex-skill-sync.py; edit .claude/commands/secrets/set.md instead -->
# Set a Secret
Set or update a secret value in the project's global config store.
## Arguments
- `KEY` (required): Secret key name (e.g., `DB_PASSWORD`, `API_KEY`)
- `VALUE` (required): Secret value
## Instructions
When the user invokes `/secrets-set KEY VALUE`, run:
```bash
PYTHONPATH="${HOME}/Projects/claude-power-pack/lib:${PYTHONPATH}" python3 -m lib.creds set "$KEY" "$VALUE"
```
If `--project` is specified, add it:
```bash
PYTHONPATH="${HOME}/Projects/claude-power-pack/lib:${PYTHONPATH}" python3 -m lib.creds set "$KEY" "$VALUE" --project "$PROJECT"
```
**IMPORTANT:** Never echo or display the secret value in output. Only confirm the key name was set.
Report the result to the user.