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.
npx skills add AmineDjeghri/personal-os-setup --skill github-authgit clone --depth 1 https://github.com/AmineDjeghri/personal-os-setupWrote 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.
[](https://agentmods.dev/skills/aminedjeghri/personal-os-setup/github-auth)<a href="https://agentmods.dev/skills/aminedjeghri/personal-os-setup/github-auth"><img src="https://agentmods.dev/badge/skills/aminedjeghri/personal-os-setup/github-auth/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.
<a href="https://agentmods.dev/skills/aminedjeghri/personal-os-setup/github-auth"><img src="https://agentmods.dev/badge/skills/aminedjeghri/personal-os-setup/github-auth.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00024 | $0.02319 |
| Opus 5.5 | $0.00010 | $0.00928 |
| Sonnet 5.5 | $0.00005 | $0.00464 |
| Haiku 4.5 | $0.00002 | $0.00232 |
Grade F, and why
github-auth scanned grade F with 4 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 18d 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.
Enumerates the file system for secretshighData exfiltration
Searching home directories for .env, .ssh, .aws or credential files is reconnaissance for credential theft.
ls -la ~/.ssh/id_*.pub 2>/dev/null || echo "No SSH keys found" Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
### Installing `gh` (no sudo needed on any platform) Reaches for credential fileshighPrivilege escalation
SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.
ssh-keygen -t ed25519 -C "[email protected]" -f ~/.ssh/id_ed25519 -N "" Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -fsSL https://github.com/cli/cli/releases/latest/download/gh_*_linux_amd64.tar.gz \ This is a copy
80% identical to github-auth — 213 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 259 lines — stays where its author put it; the contents beside it link to each section on GitHub.
GitHub Authentication Setup
This skill sets up authentication so the agent can work with GitHub repositories, PRs, issues, and
CI. gh CLI is the default path — ask to install it if it's missing, don't reach for a personal access
token instead. One gh auth login wires both API access and git credentials in a single step, no
manual scope-picking, no long-lived secret to store on disk. The git-only PAT/SSH method further
down exists only for the rare case where gh genuinely cannot be installed.
Detection Flow
When a user asks you to work with GitHub, run this check first:
# Check what's available
git --version
gh --version 2>/dev/null || echo "gh not installed"
# Check if already authenticated
gh auth status 2>/dev/null || echo "gh not authenticated"
Decision tree:
gh auth statusshows authenticated → useghfor everything.ghis installed but not authenticated → "Method 1: gh CLI" below.ghis not installed → ask to install it first, then go to step 2. Only fall through to "Method 2: Git-only" if installation genuinely isn't possible (no package manager, no network access to fetch the binary, no permission to execute a downloaded binary at all).
Installing gh (no sudo needed on any platform)
# Linux: prebuilt binary, no root — extract and add to PATH
curl -fsSL https://github.com/cli/cli/releases/latest/download/gh_*_linux_amd64.tar.gz \
| tar -xz -C ~/.local --strip-components=1 # lands at ~/.local/bin/gh
gh --version
# Linux with a package manager + sudo available
sudo apt install gh # Debian/Ubuntu (may need the cli.github.com apt repo first)
sudo dnf install gh # Fedora
sudo pacman -S github-cli # Arch/CachyOS
# macOS
brew install gh
# Windows
winget install --id GitHub.cli
Verify with gh --version before moving on. If none of these are possible (fully offline, no
package manager, no write access to extract a binary anywhere on PATH) — that's the actual trigger
for "Method 2: Git-only" below, not just "gh happens to not be installed yet."
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.
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.
- 18d ago Changed · +1 lines · +6 tokens per session ed7c1a1c5142
- 27d ago First seen · 258 lines · 18 tokens per session scan F 1490efb2ed77
github-auth is a skill published in the GitHub repository AmineDjeghri/personal-os-setup (654 stars, last pushed today), licensed MIT. It adds 24 tokens to every session and 2,319 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it F with 4 findings (enumerates the file system for secrets, asks for root, reaches for credential files). It is 80% identical to github-auth, differing in 213 lines, and is treated as a copy.
Other skills, from other repositories
hula-skill
HuLa project skill for frontend (Vue 3 + Vite + UnoCSS + Naive UI/Vant), backend (Tauri v2 + Rust + SeaORM/SQLite), full-stack flows, and build/release work. Use when the user mentions hula or HuLa or requests changes in this repository; after triggering, ask which scope (frontend/backend/fullstack/build-release) to…
commit-push-pr
Commit, push, and open a PR.
github-auth
GitHub auth setup via gh CLI, SSH keys, HTTPS PATs.
github-pr-workflow
Pull request lifecycle: create, review, merge, manage (gh CLI).
github-repo-management
GitHub repos: create, clone, fork, archive (gh CLI + git).
flow-launcher
Build Flow Launcher plugins with C# or Python JSON-RPC, configure plugin manifests, and integrate Everything search.