Works with the AI Agents you already use
GitHub Actions Secrets and OIDC Cloud Auth Setup
by Saizul Amin
This skill gives your agent a proven procedure plus scripts that check the facts, so you get the same correct answer every time, with exact fixes instead of vague advice.
$7
GitHub Actions Secrets and OIDC Cloud Auth Setup
Example session with this skill installed
Run the GitHub Actions Secrets and OIDC Cloud Auth Setup skill on my project and give me a prioritised list of what to fix, with exact changes.
- Read your context and instructions
- Compiled the github actions secrets
Here is what the GitHub Actions Secrets and OIDC Cloud Auth Setup skill produced.
Demo: real, unedited output of the skill's bundled script on a sample input from its test suite.
Output
# Workload Identity Pool provider (review, then run yourself):
gcloud iam workload-identity-pools providers create-oidc github \
--location=global --workload-identity-pool=<pool> \
--issuer-uri=https://token.actions.githubusercontent.com \
--attribute-mapping="google.subject=assertion.sub,attribute.repository=assertion.repository,attribute.repository_id=assertion.repository_id,attribute.ref=assertion.ref" \
--attribute-condition="assertion.repository == 'acme/web' && assertion.event_name == 'pull_request'"
# Workflow step:
# permissions: {id-token: write, contents: read}
# - uses: google-github-actions/auth@<sha> # v3
# with:
# workload_identity_provider: projects/<number>/locations/global/
# workloadIdentityPools/<pool>/providers/github (one line)
# service_account: <sa>@<project>.iam.gserviceaccount.com # or direct resource access
# Trusted subject: repo:acme/web:pull_request
# WARNING: pull_request tokens come from code anyone can propose; grant read-only permissions only
What you do next
- Fix the highest-severity items first.
- Ask your agent to apply the fixes it suggests, then run the skill again to confirm.
- Keep the skill installed and re-run it whenever the project changes.
Connects securely to your tools. The creator never sees your data.
About this skill
Replace long-lived cloud keys in GitHub Actions with OpenID Connect (OIDC) federation to AWS (IAM role + trust policy), Google Cloud (Workload Identity Federation) and Azure (federated credentials), and handle remaining secrets safely - environments with reviewers, step-level env, masking, rotation. Scripts find AWS access keys, GCP service-account JSON keys and Azure client secrets in workflows, check the id-token write permission and environment scoping, flag secrets interpolated into run:, and print least-privilege trust policies scoped to one repo plus branch, tag, environment or pull_request (never wildcards).
Who it's for
Use when the user deploys from GitHub Actions to a cloud, stores AWS_ACCESS_KEY_ID or a GCP key JSON as a secret, asks about OIDC, "keyless" auth, workload identity, or sees errors like "Not authorized to perform sts:AssumeRoleWithWebIdentity" or "Unable to get ACTIONS_ID_TOKEN_REQUEST_URL".
What's inside
- Tested, offline Python script(s): oidc_check.py, trust_policy.py (deterministic results, standard library only unless noted)
- Reference guides: oidc-setup.md, secrets-checklist.md
- Step-by-step agent instructions in SKILL.md covering: When to use; When not to use; Workflow
Why it's worth it
Generic prompts guess. This skill gives your agent a proven procedure plus scripts that check the facts, so you get the same correct answer every time, with exact fixes instead of vague advice. See the real demo below.
Works with every major AI agent
Built on the open SKILL.md standard: Claude Code, Codex CLI, Cursor, VS Code Copilot, Gemini CLI, Windsurf and 20+ other agents.
Requirements
- Python 3.8+ for the bundled scripts
- No API keys, no account, runs locally
Open source: saizul/github-actions-skills on GitHub (MIT licence, by Saizul Amin).
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 2 days ago
- Software
Python 3.8+