cloudthinker-ai/CloudSkills / skills/connections/managing-doppler
managing-doppler
VerifiedUse when working with Doppler — doppler secrets management, environment configuration, project organization, and access control. Covers secret syncing, config comparison across environments, activity logs, service token management, and integration status. Use when managing secrets across environments, auditing config changes, comparing environment configs, or reviewing access permissions in Doppler.
Doppler Management Skill
Manage and analyze secrets, projects, environments, and access controls in Doppler.
API Conventions
Authentication
All API calls use the Authorization: Bearer $DOPPLER_API_KEY header. Never hardcode tokens.
Base URL
https://api.doppler.com/v3
Core Helper Function
#!/bin/bash
doppler_api() {
local method="$1"
local endpoint="$2"
local data="${3:-}"
if [ -n "$data" ]; then
curl -s -X "$method" \
-H "Authorization: Bearer $DOPPLER_API_KEY" \
-H "Content-Type: application/json" \
"https://api.doppler.com/v3${endpoint}" \
-d "$data"
else
curl -s -X "$method" \
-H "Authorization: Bearer $DOPPLER_API_KEY" \
-H "Content-Type: application/json" \
"https://api.doppler.com/v3${endpoint}"
fi
}
Output Rules
- TOKEN EFFICIENCY: Extract only needed fields with
jq - Target <=50 lines per script output
- NEVER output secret values -- only output secret names/keys
- Never dump full API responses
Discovery Phase
List Projects and Environments
#!/bin/bash
echo "=== Projects ==="
doppler_api GET "/projects" \
| jq -r '.projects[] | "\(.slug)\t\(.name)\t\(.created_at[0:16])"' | column -t
echo ""
echo "=== Environments (per project) ==="
PROJECT="${1:?Project slug required}"
doppler_api GET "/environments?project=${PROJECT}" \
| jq -r '.environments[] | "\(.slug)\t\(.name)"' | column -t
List Configs
#!/bin/bash
PROJECT="${1:?Project slug required}"
echo "=== Configs ==="
doppler_api GET "/configs?project=${PROJECT}" \
| jq -r '.configs[] | "\(.name)\t\(.environment)\t\(.locked)"' | column -t
echo ""
echo "=== Secret Names (keys only) ==="
CONFIG="${2:-dev}"
doppler_api GET "/secrets?project=${PROJECT}&config=${CONFIG}" \
| jq -r '.secrets | keys[]' | head -25
Analysis Phase
Config Comparison
#!/bin/bash
PROJECT="${1:?Project slug required}"
echo "=== Key Count by Config ==="
for config in dev staging production; do
count=$(doppler_api GET "/secrets?project=${PROJECT}&config=${config}" | jq '.secrets | keys | length')
echo "${config}\t${count} keys"
done | column -t
echo ""
echo "=== Keys Missing in Production ==="
DEV_KEYS=$(doppler_api GET "/secrets?project=${PROJECT}&config=dev" | jq -r '.secrets | keys[]' | sort)
PROD_KEYS=$(doppler_api GET "/secrets?project=${PROJECT}&config=production" | jq -r '.secrets | keys[]' | sort)
comm -23 <(echo "$DEV_KEYS") <(echo "$PROD_KEYS") | head -15
Activity Log
#!/bin/bash
PROJECT="${1:?Project slug required}"
echo "=== Recent Activity ==="
doppler_api GET "/logs?project=${PROJECT}&per_page=20" \
| jq -r '.logs[] | "\(.created_at[0:16])\t\(.user.name // "service")\t\(.action)\t\(.config // "N/A")"' \
| column -t
echo ""
echo "=== Service Tokens ==="
CONFIG="${2:-production}"
doppler_api GET "/configs/config/tokens?project=${PROJECT}&config=${CONFIG}" \
| jq -r '.tokens[] | "\(.name)\t\(.created_at[0:16])\t\(.expires_at[0:16] // "never")"' | column -t
Output Format
- Use tab-separated columns with
column -t - Limit lists to 15-25 items
- NEVER display secret values -- only key names
- Show summaries before details
Anti-Hallucination Rules
- NEVER assume resource names — always discover via CLI/API in Phase 1 before referencing in Phase 2.
- NEVER fabricate metric names or dimensions — verify against the service documentation or
--helpoutput. - NEVER mix CLI commands between service versions — confirm which version/API you are targeting.
- ALWAYS use the discovery → verify → analyze chain — every resource referenced must have been discovered first.
- ALWAYS handle empty results gracefully — an empty response is valid data, not an error to retry.
Counter-Rationalizations
| Shortcut | Counter | Why |
|---|---|---|
| "I'll skip discovery and check known resources" | Always run Phase 1 discovery first | Resource names change, new resources appear — assumed names cause errors |
| "The user only asked for a quick check" | Follow the full discovery → analysis flow | Quick checks miss critical issues; structured analysis catches silent failures |
| "Default configuration is probably fine" | Audit configuration explicitly | Defaults often leave logging, security, and optimization features disabled |
| "Metrics aren't needed for this" | Always check relevant metrics when available | API/CLI responses show current state; metrics reveal trends and intermittent issues |
| "I don't have access to that" | Try the command and report the actual error | Assumed permission failures prevent useful investigation; actual errors are informative |
Common Pitfalls
- Never expose values: Only display secret names/keys, never actual values
- Config hierarchy: Configs inherit from environments (dev, staging, production) with branch configs
- Project + config scoping: Most endpoints require both
projectandconfigparameters - Service tokens vs API keys: Service tokens are scoped to a single config; API keys have broader access
- Rate limits: 240 requests per minute
- Pagination: Use
per_pageandpageparameters
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 466k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 466k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 466k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 192k | Updated | Claude CodeCodex | Verified | Install |