Skip to main content

nix-github-rate-limit

Prevents and handles GitHub API rate limits with gh-nix. Use when Nix, flakes, nixpkgs commands, or comma may fetch GitHub-backed inputs.

소스 정보

저장소
ryoppippi/dotfiles
최근 소스 활동
2026년 7월 31일 23:05
감지된 SKILL.md 언어
영어
스타
268
포크
5

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
nix-github-rate-limit
description
Prevents and handles GitHub API rate limits with gh-nix. Use when Nix, flakes, nixpkgs commands, or comma may fetch GitHub-backed inputs.
Use this skill before Nix commands that may fetch from GitHub. ## Preferred path Prefix the command with `gh-nix`; it reads the token from authenticated `gh` without putting it in the command: ```sh gh-nix nix flake update gh-nix nix run github:<owner>/<repo> gh-nix nix run nixpkgs#<package> -- <args> gh-nix nix build gh-nix nix shell nixpkgs#<package> --command <command> gh-nix , <command> ``` For this repo: `gh-nix nix run .#build`, `gh-nix nix run .#switch`, or `gh-nix nix run .#update`. Check availability with `command -v gh-nix`. If it is unavailable, use an existing safe token source: ```sh NIX_CONFIG="access-tokens = github.com=$(gh auth token)" nix <command> NIX_CONFIG="access-tokens = github.com=$GITHUB_TOKEN" nix <command> NIX_CONFIG="access-tokens = github.com=$(ghtkn get)" nix <command> ``` Never paste, print, persist, or commit tokens. If `gh-nix` reports that `gh` is unauthenticated, ask the user to run `gh auth login`. Retry a rate-limit failure once with `gh-nix` or the safest available fallback.
GitHub에서 보기