credentials
Skill1 starsChanged 28 days agoMITView on GitHub
Use when running build, push, or deploy commands that need credentials (registry auth, API keys, tokens) in this homelab.
- Reads credentials
12 other projects use a version of this.
Adopted by
Most recently taken up by
- MiguelSavignano/claude-code-systemtheir own version, first seen Nov 1, 2026
- lawless-m/claude-skillstheir own version, first seen Nov 1, 2026
- aibtcdev/skillstheir own version, first seen Oct 26, 2026
- jmche/skills-hubtheir own version, first seen Oct 20, 2026
- Marvellbrazil/my-agentic-skillstheir own version, first seen Oct 17, 2026
- sammasak/skillsword for word, first seen Oct 17, 2026
Other versions12 projects use a version of this.
Word for word · 1
- sammasak/skills★ 1100% same
Edited · 0
None found.
Wrote their own version · 11
- google-deepmind/science-skills★ 3.4ksame name
- alinaqi/maggy★ 711same name
- alinaqi/claude-bootstrap★ 708same name
- BeyondTheProtocol/polaris★ 47same name
- aibtcdev/skills★ 11same name
- lawless-m/claude-skills★ 6same name
- MiguelSavignano/claude-code-system★ 6same name
- D1DX/n8n-skill★ 4same name
- Marvellbrazil/my-agentic-skills★ 4same name
- jmche/skills-hub★ 0same name
1 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository25 other files it gives its agents.
- agent-handoffSkill
- agent-orchestrationSkill
- assigning-subagent-modelsSkill
- deep-modulesSkill
- device-protocol-investigationSkill
- e2e-testingSkill
- herdr-operationsSkill
- herdrSkill
- knowledge-vaultSkill
- kubernetes-gitopsSkill
- lean-codeSkill
- nix-audit-operatorSkill
- nix-flake-developmentSkill
- ntfy-notificationsSkill
- orchestrated-reviewSkill
- pcap-evidence-analysisSkill
- pi-offloadSkill
- pi-ticketSkill
- rf-chaos-experiment-reviewSkill
- rust-engineeringSkill
- sdlc-pipelineSkill
- secrets-managementSkill
- tooling-feedbackSkill
- verify-serviceSkill
- wireless-lab-diagnosticsSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.
0
Common
Most of the 11 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Before running any command that requires credentials, load them from the correct source.
- Very specific: line 22
Always source ~/.env before running build or deploy commands if credentials might be needed:
“Common” is measured: kept by at least 6 in 10 of the 11 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Credentials
Before running any command that requires credentials, load them from the correct source.
Credential Sources (priority order)
| Source | Location | Use for |
| Environment vars | Already set in shell | Highest priority — use if present |
~/.env | ~/.env | API keys, OAuth tokens, misc secrets (list non-exhaustive — read the file) |
| Container registry auth | ~/.config/containers/auth.json | skopeo, podman, buildah, registry pushes |
| SOPS secrets | ~/homelab-gitops/ or ~/nixos-config/secrets/ | Kubernetes secrets, NixOS service secrets |
Loading ~/.env
Always source ~/.env before running build or deploy commands if credentials might be needed:
set -a && source ~/.env && set +aContains: CLAUDE_CODE_OAUTH_TOKEN (local override; sops-nix also provides it at /run/secrets/claude_oauth_token), GEMINI_API_KEY, CLOUDFLARE_API_TOKEN, TAILSCALE_AUTH_KEY, ACME_EMAIL.
Container Registry (zot)
Registry: registry.sammasak.dev (zot, robot-account auth — Harbor is retired).
Credentials are stored in ~/.config/containers/auth.json. Extract them when needed:
auth_encoded=$(jq -r '.auths["registry.sammasak.dev"].auth' ~/.config/containers/auth.json)
robot_user=$(echo "$auth_encoded" | base64 -d | cut -d: -f1)
robot_pass=$(echo "$auth_encoded" | base64 -d | cut -d: -f2-)Or pass the authfile directly to skopeo:
skopeo copy --authfile ~/.config/containers/auth.json oci:./dir docker://registry.sammasak.dev/lab/<app>:<tag>skopeo and buildah also read this file by default, so plain skopeo copy ... docker://registry.sammasak.dev/... pushes work without flags.
SOPS Secrets
Decrypt a SOPS file to read a secret:
sops -d ~/homelab-gitops/apps/<app>/secrets/some.secret.yamlFlux's kustomize-controller decrypts the same files in-cluster via each Kustomization's spec.decryption (secretRef: sops-age) — the age private key never leaves the cluster or your local age identity. Never write plaintext secrets to /tmp — always decrypt in place or to the correct repo path (see secrets-management skill for the full lifecycle).
Checklist Before Running Build/Push Commands
- Does the command need registry auth? → skopeo/buildah read
~/.config/containers/auth.jsonby default; pass--authfileif a tool doesn't - Does the command need API keys? →
set -a && source ~/.env && set +a - Does the command need a SOPS secret? →
sops -d <file>and use the value directly - Are env vars already set? → Check with
env | grep -i registryor similar before loading
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

