AGENT SKILL

secrets-set

Set a Secret - Set or update a secret value in the project's global config store.

License 许可
MIT
所属仓库
cooneycw/skillc
最近更新
2026-11-15
Stars
★ 0
Forks
0

01 前言 Front Matter

name
secrets-set
description
Set a Secret - Set or update a secret value in the project's global config store.

03 SKILL.md 正文

<!-- 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:

PYTHONPATH="${HOME}/Projects/claude-power-pack:${PYTHONPATH}" uv run --project "${HOME}/Projects/claude-power-pack" python -m lib.creds set "$KEY" "$VALUE"

If --project is specified, add it:

PYTHONPATH="${HOME}/Projects/claude-power-pack:${PYTHONPATH}" uv run --project "${HOME}/Projects/claude-power-pack" python -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.

04 同仓库更多 Skills