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で見る