github-secrets

github-secrets is a skill for Claude Code from Sassy-Dog/sassydog-skills. It costs 103 tokens per session (944 once invoked), scanned A, original, Apache-2.0.

A guide for managing GitHub Actions secrets and variables, which store sensitive values and configuration used by automated workflows. It explains the organization, repository, and environment levels where they can be set.

In plain words
What is it for?
Use it to add or check workflow secrets and variables, configure environment-specific values, and diagnose missing values in GitHub Actions.
Why use it?
It helps avoid silent failures caused by putting a value in the wrong scope or confusing encrypted secrets with readable variables.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the sassy-dog plugin — 21 skills, 10 agents shipped together

Good fit Use it to add or check workflow secrets and variables, configure environment-specific values, and diagnose missing values in GitHub Actions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sassy-dog/sassydog-skills/github-secrets
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Sassy-Dog/sassydog-skills --skill github-secrets
Clone the repo
git clone --depth 1 https://github.com/Sassy-Dog/sassydog-skills

Made for: Claude Code.

Or install sassy-dog, the plugin that ships this one along with the rest of its 21 skills, 10 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for github-secrets

README.md
[![agentmods](https://agentmods.dev/badge/skills/sassy-dog/sassydog-skills/github-secrets/github.svg)](https://agentmods.dev/skills/sassy-dog/sassydog-skills/github-secrets)
Your own site
<a href="https://agentmods.dev/skills/sassy-dog/sassydog-skills/github-secrets"><img src="https://agentmods.dev/badge/skills/sassy-dog/sassydog-skills/github-secrets/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for github-secrets

Your own site · 80×15
<a href="https://agentmods.dev/skills/sassy-dog/sassydog-skills/github-secrets"><img src="https://agentmods.dev/badge/skills/sassy-dog/sassydog-skills/github-secrets.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 944 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00103 $0.00944
Opus 5 $0.00051 $0.00472
Sonnet 5 $0.00021 $0.00189
Haiku 4.5 $0.00010 $0.00094

Measured 8d ago against content hash a3611ba3b988, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

github-secrets scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/github-secrets/SKILL.md · 109 lines

How it starts

The opening of the file, as written. The whole thing — 109 lines — stays where its author put it; the contents beside it link to each section on GitHub.

GitHub Secrets & Variables

GitHub secrets and variables exist at three scopes with strict precedence rules. Getting the scope wrong causes silent failures — empty values with no error.

Scope Hierarchy

Organization  →  Repository  →  Environment
(broadest)                      (most specific, wins ties)
  • Organization: shared across repos, set with --org
  • Repository: default scope, no flag needed inside a repo
  • Environment: requires --env flag AND environment: in the workflow job

Environment > Repository > Organization when names collide.

Secrets vs Variables — Quick Reference

Secrets (secrets.*) Variables (vars.*)
CLI gh secret gh variable
Workflow ${{ secrets.NAME }} ${{ vars.NAME }}
Encrypted Yes No
Readable after set No (write-only) Yes
Use for Tokens, passwords, keys URLs, flags, config

These are different namespaces. secrets.X and vars.X are not interchangeable.

Critical Rules

Always check before setting

# Secrets — can only check existence, not value
gh secret list [--org ORG] [--env ENV] | grep -q "^NAME"

# Variables — can check existence AND value
gh variable list [--org ORG] [--env ENV] --json name,value

Never try to read secret values

There is no gh secret get. Secrets are write-only. gh secret list shows names only. To update, re-set from the source of truth.

Environment secrets require environment: in the job

jobs:
  deploy:
    environment: production    # WITHOUT THIS, environment secrets are invisible
    steps:
      - run: echo "${{ secrets.PROD_SECRET }}"

This is the single most common mistake. Missing environment: produces empty values with zero warnings.

Scope flags are required and specific

gh secret set X --body "v"                    # repo (default)
gh secret set X --org my-org --body "v"       # org
gh secret set X --env production --body "v"   # environment

Read the full file on GitHub · 109 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 109 lines · 103 tokens per session scan A a3611ba3b988

Subscribe to this mod's changes

github-secrets is a skill published in the GitHub repository Sassy-Dog/sassydog-skills (0 stars, last pushed today), licensed Apache-2.0. It adds 103 tokens to every session and 944 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

setup-solution

Creates a Dataverse publisher and solution, then adds Power Pages site components to the solution for ALM and deployment management. Use when asked to: "create solution", "set up solution", "add to solution", "package site into solution", "create publisher", "solutionize my site", or "set up ALM for my site".

microsoft/power-platform-skills · 73 tokens

setup-pipeline

Sets up a Power Platform Pipeline for automated Power Pages deployments. Power Platform Pipelines is Microsoft's native CI/CD tool built into the Power Platform — no external infrastructure required. Use when asked to: "set up ci/cd", "create pipeline", "setup pipeline", "set up power platform pipelines", "create…

microsoft/power-platform-skills · 118 tokens

configure-env-variables

Configures environment variables for Power Pages site settings to support ALM across environments. Creates environment variable definitions in Dataverse, guides the user through linking site settings to those variables via the Power Pages Management app, adds the variables to the solution, and generates a…

microsoft/power-platform-skills · 119 tokens

force-link-environment

Force-links a development or target environment to a Power Platform Pipelines host, overriding any existing association with a previous host. Use when creating a deploymentenvironments record fails with "this environment is already associated with another pipelines host", or when intentionally migrating an environment…

microsoft/power-platform-skills · 181 tokens

add-azuredevops

Adds Azure DevOps connector to a Power Apps code app. Use when querying work items, creating bugs, managing pipelines, or making ADO API calls.

microsoft/power-platform-skills · 37 tokens

pr-watch

Local PR watcher. Monitors CI status, automatically fixes failing checks by reading failure logs and applying targeted fixes, then optionally merges when all checks pass. Local CLI analog to Claude Code's cloud auto-fix feature.

SethGammon/Citadel · 46 tokens