github-secrets-setup

Upload GitHub Actions secrets via gh CLI without writing to disk.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/CodeTonight-SA/claude-optim --skill github-secrets-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-secrets-setup
Source: https://github.com/CodeTonight-SA/claude-optim/tree/main/skills/github-secrets-setup
Command: npx skills add https://github.com/CodeTonight-SA/claude-optim --skill github-secrets-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gh.

What problem does it solve?

Manually managing GitHub Actions secrets can be insecure and error-prone, risking accidental exposure or inefficient workflows. This skill automates the secure upload of secrets, ensuring sensitive data never touches your filesystem or commit history.

Core Features & Use Cases

  • Secure Secret Upload: Utilizes gh CLI with stdin piping to upload secrets directly, preventing them from being written to disk or appearing in shell history.
  • GitIgnore Enforcement: Automatically adds temporary script paths to .gitignore to prevent accidental commits.
  • Verification & Cleanup: Lists configured secrets and ensures temporary scripts are deleted immediately after use.
  • Use Case: You need to configure API_KEY and DB_PASSWORD for your CI/CD pipeline without exposing them in logs or files.

Quick Start

"Securely upload my GitHub Actions secrets from my .env file." "List all currently configured GitHub secrets for this repository."