This skill helps you securely manage PyPI publishing, AWS credentials, and Doppler secrets with automated injection and best-practice patterns.
npx playbooks add skill terrylica/cc-skills --skill doppler-workflows
> Self-Evolving Skill: This skill improves through use. If instructions are wrong, parameters drifted, or a workaround was needed — fix this file immediately, don't defer. Only update for real, reproducible issues.
Use this skill when:
Standard Usage:
doppler run --project <project> --config <config> --command='<command>'
Why --command flag:
$VAR before Doppler runs → empty string---
doppler run --project private-config --config dev \
--command='uv publish --token "$PYPI_TOKEN"'
doppler run --project aws-credentials --config dev \
--command='aws s3 ls --region $AWS_DEFAULT_REGION'
---
doppler secrets notes set <SECRET> "<note>"echo -n 'secret' | doppler secrets setecho ${#VAR} to verify lengthSERVICE_TOKEN_{ABBREV} for clarity---
For detailed information, see:
Bundled Specifications:
PYPI_REFERENCE.yaml - Complete PyPI specAWS_SPECIFICATION.yaml - AWS credential architecture---
For local development, bind the project directory to its Doppler project/config once, then scope each command with doppler run:
cd ~/project && doppler setup --project private-config --config prd --no-interactive
doppler run -- COMMAND # secrets such as PYPI_TOKEN exist for this command only
For a value needed across several commands in one shell, export it explicitly: export PYPI_TOKEN="$(doppler secrets get PYPI_TOKEN --plain)".
> Do NOT inject GitHub tokens this way (ADR 2026-06-21). GitHub multi-account auth is driven by the repo's origin host-alias (git@github.com-<account>:…). A token resolves fresh per-repo via ~/.claude/tools/bin/gh-token-for-repo; an ambient GH_TOKEN outranks the isolated gh profile and 401s after a rotation. The .secrets/gh-token-* files are deleted.
---
<!-- ADR: 2025-12-10-clickhouse-skill-documentation-gaps -->
For PyPI publishing, see [pypi-doppler skill](../../../itp/skills/pypi-doppler/SKILL.md) for LOCAL-ONLY workspace policy.
Do NOT configure PyPI publishing in GitHub Actions or CI/CD pipelines.
---
| Issue | Cause | Solution |
| -------------------------- | ------------------------------------ | --------------------------------------------------------------------------- |
| 403 on PyPI publish | Token expired or wrong scope | Regenerate project-scoped token, update in Doppler |
| InvalidClientTokenId (AWS) | Access key rotated or deleted | Run AWS key rotation workflow, update Doppler |
| Variable expands empty | Using $VAR without --command | Always use --command='...$VAR...' pattern |
| Doppler CLI not found | Not installed | brew install dopplerhq/cli/doppler |
| Wrong config selected | Ambiguous project/config | Specify both --project and --config explicitly |
| Wrong project picked up | Directory not bound or bound wrongly | doppler configure to inspect; re-run doppler setup |
| Secret retrieval slow | One doppler secrets get per call | Fetch once per shell with export VAR="$(doppler secrets get VAR --plain)" |
| Token length mismatch | Copied with extra whitespace | Trim token: echo -n 'secret' \| doppler secrets set |
After this skill completes, check before closing:
Only update if the issue is real and reproducible — not speculative.
Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.