ソース情報
- リポジトリ
- Abd0r/porcupineai
- ソースの最終更新活動
- 2026年8月6日 14:20
- 検出された SKILL.md の言語
- 英語
- スター
- 3
- フォーク
- 0
インストール方法
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
ソースファイルを確認
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
メニュー
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
直接コマンドでは確認用 Prompt が省略されます。実行前にソースを確認してください。
npx skills add https://github.com/Abd0r/porcupineai --skill github-authコマンドは1行のまま表示されます。コピー前に横へスクロールして全体を確認してください。
ローカルで確認しますか?SkillsMP が現在取得できるファイルをダウンロードできます。
Write code that does not look like AI output. Reject low-evidence and low-signal TypeScript patterns (chained assertions, unknown/object widening, Reflect, runtime typeof, module mocks) in favor of typed, boundary-checked code.
Control a Home Assistant smart home through its MCP server. Query sensor and entity states read-only, then act on devices (lights, switches, climate) via call_service with explicit user approval. Use for "turn off the living room lights", "what is the thermostat set to", "set bedroom temp", or any Home Assistant entity/device task.
Produce clear, accessible diagrams and charts (architecture, flow, sequence, ER, state, org, Gantt, timeline) as Mermaid or polished self-contained SVG. Covers picking the right diagram type, a consistent visual system, and accessibility. Use whenever you need to explain a system, a flow, data, or a process in a README, doc, benchmark report, plan, or launch graphic.
SOC 職業分類に基づく
SKILL.md を表示中
| name | github-auth |
| description | Set up GitHub auth via gh CLI, HTTPS token, or SSH. |
| stack | vcs |
| tags | ["github","auth","gh","git","ssh","token"] |
Any GitHub work before PRs, issues, authenticated clone, or API calls.
bash for gh, git, ssh, curlgit --version
command -v gh >/dev/null && gh --version || echo "gh not installed"
gh auth status 2>/dev/null || echo "gh not authenticated"
test -n "${GH_TOKEN:-${GITHUB_TOKEN:-}}" && echo "token env set" || echo "no GH_TOKEN/GITHUB_TOKEN"
Decision:
gh auth status OK → use gh for everythinggh installed, not authed → Method Agh → Method B (git + token) or Method C (SSH)# Interactive device login (user completes in browser)
gh auth login -h github.com -p https -w
# Or token from env (do not echo the token back into chat)
# printf '%s\n' "$GH_TOKEN" | gh auth login --with-token
gh auth status
gh api user --jq .login
Useful scopes: repo, read:org, workflow (Actions), gist optional.
User creates classic PAT at https://github.com/settings/tokens
Scopes: repo (+ workflow if Actions, read:org for org repos).
git config --global credential.helper store
# First remote op prompts once: username = GitHub login, password = PAT
git ls-remote https://github.com/<user>/<repo>.git
Env fallback for API without gh:
: "${GITHUB_TOKEN:=${GH_TOKEN:-}}"
# Optional one-key load from Porcupine home (never dump the whole file):
# set -a; source <(grep -E '^(GH_TOKEN|GITHUB_TOKEN)=' ~/.porcupine/agent/.env 2>/dev/null); set +a
curl -sS -H "Authorization: Bearer $GITHUB_TOKEN" \
-H "Accept: application/vnd.github+json" \
https://api.github.com/user
test -f ~/.ssh/id_ed25519.pub || ssh-keygen -t ed25519 -C "porcupine" -f ~/.ssh/id_ed25519 -N ""
cat ~/.ssh/id_ed25519.pub
# User adds key at https://github.com/settings/keys
ssh -T git@github.com
git remote set-url origin git@github.com:OWNER/REPO.git
bash (not Hermes terminal)~/.porcupine/agent/ (not ~/.hermes)gh auth status 2>/dev/null || true
git ls-remote origin HEAD 2>/dev/null | head -1