[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7B0QFR7SM0SZ8BZDBW83Z4G":3,"skill-same:01M7B0QFR7SM0SZ8BZDBW83Z4G":67},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":41,"commitSha":42,"skillDirectory":43,"forksCount":13,"repositoryHtmlUrl":44,"repositoryHomepageUrl":6,"ownerHtmlUrl":45,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":46,"install":47,"resources":60},"01M7B0QFR7SM0SZ8BZDBW83Z4G","github-codespace",null,"GitHub in Codespaces: auth, CI monitoring, debugging, API access.","gitricko\u002F.minions","gitricko","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F18060558?v=4","01M7B0KG9EHG0CZ0QT1EN5YPCR","01M7B0KGA0ZV14R7SKBF3B5SCT",2,"MIT","https:\u002F\u002Fgithub.com\u002Fgitricko\u002F.minions\u002Fblob\u002Fmain\u002Fskills\u002Fgithub-codespace\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: github-codespace\ndescription: \"GitHub in Codespaces: auth, CI monitoring, debugging, API access.\"\nversion: 2.0.0\nauthor: Hermes Agent\nlicense: MIT\nplatforms: [linux]\nmetadata:\n  hermes:\n    tags: [GitHub, Codespaces, Authentication, CI, API, Debugging]\n    related_skills: [github-auth, github-pr-workflow, github-code-review, systematic-debugging]\n---\n\n# GitHub Operations in GitHub Codespaces\n\nCovers auth, CI monitoring, CI debugging, and API access patterns specific to\nGitHub Codespaces. This skill complements `github-auth` (general setup),\n`github-pr-workflow` (lifecycle), and `systematic-debugging` (general root\ncause analysis) by addressing Codespace-specific pitfalls and shortcuts.\n\n## Prerequisites\n\n- Running inside a GitHub Codespace (`CODESPACES=true` in env)\n- `gh` CLI installed (comes with Codespaces)\n\n---\n\n## Authentication\n\n### The Invalid GH_TOKEN Pitfall\n\nCodespaces set `GH_TOKEN` and `GITHUB_CODESPACE_TOKEN` env vars. These tokens\ncan be expired or scoped only to Codespace management — not repo write access.\nWhen `GH_TOKEN` is set to an invalid token, `gh auth login` silently refuses\nto work, claiming \"The value of the GH_TOKEN environment variable is being\nused for authentication.\"\n\n**This is the #1 auth blocker in Codespaces. Always check for it first.**\n\n### Fix: Device Code Flow\n\n```bash\n# Step 1: Unset the invalid token\nunset GH_TOKEN\n\n# Step 2: Use device code flow (works in any Codespace terminal)\ngh auth login --hostname github.com --git-protocol https --web\n\n# This prints a one-time code and URL.\n# The user visits the URL and enters the code — one-time browser approval.\n# No PAT creation needed. This IS the Codespace auth path.\n```\n\n### Auth Detection\n\n```bash\n# Quick check: does gh work for write operations?\nif gh auth status 2>&1 | grep -q \"Logged in\"; then\n  echo \"OK: gh authenticated\"\nelif [ -n \"$GH_TOKEN\" ]; then\n  echo \"PROBLEM: GH_TOKEN is set but likely invalid\"\n  echo \"FIX: unset GH_TOKEN && gh auth login --hostname github.com --git-protocol https --web\"\nelse\n  echo \"NOT AUTHENTICATED\"\n  gh auth login --hostname github.com --git-protocol https --web\nfi\n```\n\n### User Preference\n\n**Do not ask Codespace users to create PATs or run manual auth commands.**\nThe device code flow IS the expected auth path in a Codespace. If the agent\ncan't authenticate, try the device code flow first — the user just needs to\nopen a URL and paste a code, which is seamless.\n\n### Token Extraction from VS Code Server (Preferred — No Browser)\n\nThe VS Code server process has a GitHub App user-to-server token (`ghu_xxx`) in its\nenvironment. This is the preferred auth method in Codespaces — no browser,\nno device flow, no user interaction needed.\n\n```bash\n# 1. Find the VS Code server PID\nVSCODE_PID=$(pgrep -f \"server-main.js\" | head -1)\n\n# 2. Extract the real GITHUB_TOKEN from its process environment\nGITHUB_TOKEN=$(cat \u002Fproc\u002F$VSCODE_PID\u002Fenviron 2>\u002Fdev\u002Fnull \\\n  | tr '\\0' '\\n' \\\n  | grep \"^GITHUB_TOKEN=\" \\\n  | cut -d= -f2-)\n\n# 3. Verify it works\ncurl -s -H \"Authorization: token ***\" \\\n  https:\u002F\u002Fapi.github.com\u002Fuser | python3 -c \"import json,sys; print(json.load(sys.stdin).get('login','FAILED'))\"\n```\n\n**Critical limitation**: This token is a **GitHub App token** (from the GitHub Codespaces app).\nIt has `repo` scope but is **gated by GitHub App installation**. It works for:\n- The Codespace's origin repository\n- Other repositories where the GitHub Codespaces app is installed\n\nIt will **FAIL (403)** on repositories where the user has access but the Codespaces app is not installed.\n\nUse it for API calls, PR comments, and even `gh` CLI **on supported repos**:\n\n```bash\nunset GH_TOKEN\nexport GH_TOKEN=\"$GITHUB_TOKEN\"\ngh auth status  # Should show authenticated\n```\n\n**Why this works**: The agent session does NOT inherit the VS Code server's\nenvironment — `GITHUB_CODESPACE_TOKEN` and `GH_TOKEN` in the shell are\ndifferent (limited\u002Finvalid) tokens. The real token lives in the server\nprocess's `\u002Fproc\u002FPID\u002Fenviron` and must be extracted explicitly.\n\n### Token Scope Comparison\n\n| Method | Token Type | Scope | Works On |\n|--------|------------|-------|----------|\n| **Extract from VS Code** | GitHub App user-to-server (`ghu_`) | `repo` (app-gated) | Origin repo + Codespaces-connected repos only |\n| **Device code flow** | Classic OAuth (`gho_`\u002F`ghp_`) | Full user scopes | **All repos the user has access to** |\n| **Unauthenticated API** | None | Public only | Public repos (read-only) |\n\n**When to use device flow instead**: Working on repos outside the Codespaces app installation (other users' repos, orgs without Codespaces app).\n\n### Pitfall: Multiple VS Code Server Processes\n\n`pgrep -f \"server-main.js\"` may return multiple PIDs. The main server is the\none running `server-main.js` directly (not `bootstrap-fork` children). If token\nextraction returns empty, try each PID:\n\n```bash\nfor pid in $(pgrep -f \"server-main.js\"); do\n  TOKEN=$(cat \u002Fproc\u002F$pid\u002Fenviron 2>\u002Fdev\u002Fnull | tr '\\0' '\\n' | grep \"^GITHUB_TOKEN=\" | cut -d= -f2-)\n  [ -n \"$TOKEN\" ] && echo \"Found token in PID $pid\" && break\ndone\n```\n\n### VS Code IPC Credential Helper\n\nCodespaces configure `git credential.helper` to use a VS Code IPC socket\n(`\u002F.codespaces\u002Fbin\u002Fgitcredential_github.sh`). This works for `git push\u002Fpull\u002Ffetch`\nfrom within VS Code terminals but often fails from agent shell contexts because\nthe IPC socket (`\u002Ftmp\u002Fvscode-git-*.sock`) is not reachable or returns 500.\nThis is normal — use token extraction or `gh auth login` instead.\n\n---\n\n## CI Monitoring\n\n### Preferred: `gh run watch`\n\nAlways use `gh run watch \u003Crun-id>` instead of sleep-polling loops.\nIt streams logs in real-time, handles rate limiting, and exits on completion.\n\n```bash\n# Find the latest run for current branch\nRUN_ID=$(gh run list --branch $(git branch --show-current) --limit 1 --json databaseId --jq '.[0].databaseId')\n\n# Watch it\ngh run watch $RUN_ID\n\n# Watch with log output\ngh run watch $RUN_ID --log\n\n# Watch only failed jobs\ngh run watch $RUN_ID --failed\n```\n\n### Non-blocking watch from an agent turn (background + notify_on_complete)\n\nWhen a build takes longer than an agent turn can block (e.g. the ~5-15 min\n`full-build`), do NOT poll with `sleep` loops — they burn the turn and time out\n(execute_code caps at ~5 min). Instead run `gh run watch` as a **background\nterminal process with notify_on_complete**:\n\n```bash\ntok=$(cat \u002Fproc\u002F\u003CVSCODE_PID>\u002Fenviron 2>\u002Fdev\u002Fnull | tr '\\0' '\\n' | grep '^GITHUB_TOKEN=' | cut -d= -f2-)\nexport GH_TOKEN=\"$tok\"\ngh run watch \u003CRUN_ID> --repo OWNER\u002FREPO --exit-status > \u002Ftmp\u002Fci-watch.log 2>&1\necho \"WATCH_EXIT=$?\" >> \u002Ftmp\u002Fci-watch.log\n```\n\nLaunch that with terminal `background=true, notify_on_complete=true`. It streams\njobs\u002Fsteps live to `\u002Ftmp\u002Fci-watch.log`, and the agent is notified **once** when\nthe run finishes instead of sleep-polling. `gh run watch --exit-status` makes the\nwatch command's own exit code reflect the run's success\u002Ffailure (`WATCH_EXIT`).\nThis is the canonical pattern for a long CI watch from an agent loop: no sleep\nloops, no mid-turn blocking, one notification on completion. Then read the log\nor query the run\u002Fjobs via the API for the final triage.\n\n### Fallback: REST API Polling (No gh Auth)\n\nFor public repos, you can poll CI status without authentication:\n\n```bash\n# Get PR info\nPR_DATA=$(curl -s \"https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Fpulls\u002F$PR_NUMBER\")\nSHA=$(echo \"$PR_DATA\" | python3 -c \"import sys,json; print(json.load(sys.stdin)['head']['sha'])\")\n\n# Check run statuses\ncurl -s \"https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Fcommits\u002F$SHA\u002Fcheck-runs\" \\\n  | python3 -c \"\nimport json, sys\nd = json.load(sys.stdin)\nfor cr in d.get('check_runs', []):\n    icon = '⏳' if cr['status'] == 'in_progress' else ('✅' if cr['conclusion'] == 'success' else '❌')\n    print(f\\\"{icon} {cr['name']}: {cr['conclusion'] or 'pending'}\\\")\"\n```\n\nNote: log download (`\u002Factions\u002Fruns\u002F{id}\u002Flogs`) requires admin access (403 for\npublic repo read-only). Use `gh run view --log` when authenticated.\n\n---\n\n## CI Debugging\n\n### Core Technique: Compare Passing vs Failing Commits\n\nWhen CI fails on commit B but passed on commit A, the answer is in the diff.\n\n```bash\n# Step 1: Identify the commits\ncurl -s \"https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Factions\u002Fruns?per_page=10\" | \\\n  python3 -c \"\nimport sys, json\nd = json.load(sys.stdin)\nfor r in d.get('workflow_runs', []):\n    concl = r.get('conclusion', 'pending')\n    print(f\\\"{r['head_sha'][:8]}: {concl} ({r['created_at']})\\\")\"\n\n# Step 2: Get the diff\ngit diff $PASSING_SHA..$FAILING_SHA --stat\ngit diff $PASSING_SHA..$FAILING_SHA -- \u003Cspecific-file>\n\n# Step 3: Download CI logs for both runs\n# (requires admin token — see Authentication section)\ncurl -sL -H \"Authorization: token $GITHUB_TOKEN\" \\\n  \"https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Factions\u002Fruns\u002F$RUN_ID\u002Flogs\" \\\n  -o \u002Ftmp\u002Fci-logs.zip\nunzip -o \u002Ftmp\u002Fci-logs.zip -d \u002Ftmp\u002Fci-logs-$RUN_ID\u002F\n\n# Step 4: Compare the specific failing step output\ncat \"\u002Ftmp\u002Fci-logs-$RUN_ID\u002F0_Build & Smoke Test.txt\" | tail -100\n```\n\n### Downloading CI Artifacts (Not Just Logs)\n\nWhen CI logs don't contain enough detail (the failing step only shows a\nsummary, not the underlying npm\u002Fbuild output), download uploaded artifacts.\n\n```bash\n# Find artifacts for a run\ncurl -s -H \"Authorization: token $GITHUB_TOKEN\" \\\n  \"https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Factions\u002Fruns\u002F$RUN_ID\u002Fartifacts\" \\\n  | python3 -c \"\nimport sys, json\nd = json.load(sys.stdin)\nfor a in d.get('artifacts', []):\n    print(f\\\"Name: {a['name']}  ID: {a['id']}  Size: {a['size_in_bytes']}\\\")\"\n\n# Download and extract\ncurl -sL -H \"Authorization: token $GITHUB_TOKEN\" \\\n  \"https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Factions\u002Fartifacts\u002F$ARTIFACT_ID\u002Fzip\" \\\n  -o \u002Ftmp\u002Fartifact.zip\nmkdir -p \u002Ftmp\u002Fartifact && cd \u002Ftmp\u002Fartifact && unzip -o ..\u002Fartifact.zip\nls -la \u002Ftmp\u002Fartifact\u002F\n```\n\n### User Correction: Fix Root Cause, Not Symptoms\n\nWhen CI fails, the instinct is to weaken the test or skip the failing check.\n**The user will reject this.** The correct approach:\n\n1. **Diagnose first** — download logs\u002Fartifacts, identify what actually failed\n2. **Reproduce locally** — run the exact failing command in the local env\n3. **Fix the root cause** — fix the code\u002Fbuild\u002Fconfig that's broken\n4. **NOT the test** — don't skip checks, don't make services non-critical,\n   don't remove assertions the user considers important\n\nIf the user says a service is \"critical\", it stays critical. The fix must\nmake the service actually work, not make the test tolerate its absence.\n\n**This is a hard rule: NEVER modify existing developer test cases.**\nIf a test fails, fix the CODE, not the test.\n\n### Common CI Failure Patterns\n\n#### Broken Symlinks\n\n**Symptom:** Service starts but never responds; self-check times out.\n\n**Cause:** A symlink in the repo points to a local path that doesn't exist\nin CI (e.g., `.hermes -> \u002Fhome\u002Fcodespace\u002F.hermes` when CI runs as\n`\u002Fhome\u002Frunner`).\n\n```bash\ngit rm --cached .hermes\necho \".hermes\" >> .gitignore\ngit commit -m \"fix: remove broken .hermes symlink from git\"\n```\n\n#### Service Not Starting in CI\n\n**Symptom:** Port never responds; self-check fails with exit code 2.\n\n```bash\n# Check if the process is running\nps aux | grep \u003Cservice-name>\n\n# Check the service log\ncat ~\u002F.hermes\u002Flogs\u002Fdashboard.log\n\n# Check port binding\nss -tlnp | grep \u003Cport>\n```\n\n**Common causes:**\n- Missing dependency not installed in CI\n- Config file references local path\n- Port conflict with another service\n- Resource limits (memory\u002Fdisk) hit during startup\n\n#### GPG Signing Fails\n\n**Symptom:** `gpg: skipped \"GitHub \u003Cnoreply@github.com>\": No secret key`\n\n```bash\ngit -c commit.gpgsign=false commit -m \"fix: ...\"\n```\n\n#### Git Push Times Out\n\n**Symptom:** Push hangs for 60+ seconds then times out.\n\n**Cause:** VS Code IPC credential helper not reachable from agent shell.\n\n```bash\nVSCODE_PID=$(pgrep -f \"server-main.js\" | head -1)\nGITHUB_TOKEN=$(cat \u002Fproc\u002F$VSCODE_PID\u002Fenviron 2>\u002Fdev\u002Fnull | tr '\\0' '\\n' \\\n  | grep \"^GITHUB_TOKEN=\" | cut -d= -f2-)\n\ngit config credential.helper store\necho \"https:\u002F\u002Fgitricko:${GITHUB_TOKEN}@github.com\" > ~\u002F.git-credentials\ngit push origin \u003Cbranch>\n```\n\n### Hermes-Specific: Dashboard Web UI Silent Build Failure\n\n**Symptom:** Self-check exits with code 2 (critical service failure).\nPort 9119 (Hermes Dashboard) never responds. Dashboard log shows:\n```\n→ Building web UI...\n  ✗ Web UI npm install failed\n  Run manually:  npm install --workspace web && npm run build -w web\n```\nBut NO npm error output appears — stdout\u002Fstderr are empty.\n\n**Root cause:** The hermes dashboard auto-builds its web UI (`npm ci` +\n`vite build`) on first boot. In CI, `npm ci` can fail silently (process\nkilled, network issue, env mismatch) producing empty output. The `_relay()`\nfunction in hermes_cli\u002Fmain.py prints stdout\u002Fstderr, but if npm died\nbefore writing anything, nothing appears.\n\n**Fix:** Pre-build the web UI in `post-create-cmd.sh` so the dashboard\nfinds a ready `hermes_cli\u002Fweb_dist\u002Findex.html` and skips the runtime build:\n\n```bash\nHERMES_AGENT_DIR=\"$HOME\u002F.hermes\u002Fhermes-agent\"\nif [ -d \"$HERMES_AGENT_DIR\u002Fweb\" ] && command -v node &>\u002Fdev\u002Fnull; then\n  cd \"$HERMES_AGENT_DIR\"\n  CI=1 npm ci --include=dev --workspace web --silent 2>&1 || \\\n    CI=1 npm install --no-save --include=dev --workspace web --silent 2>&1\n  cd \"$HERMES_AGENT_DIR\u002Fweb\" && CI=1 npm run build 2>&1\nfi\n```\n\n**Why CI=1:** Matches hermes's own `_run_npm_install_deterministic()` which\nsets `CI=1` to suppress unicode animations and enable strict mode.\n\n**Verification:** `ls -la ~\u002F.hermes\u002Fhermes-agent\u002Fhermes_cli\u002Fweb_dist\u002Findex.html`\nThe dashboard's `_web_ui_build_needed()` checks for this file — if it exists,\nthe build is skipped entirely.\n\n### CI Workflow Diagnostic Capture Template\n\nWhen writing CI workflows, always include diagnostic capture steps:\n\n```yaml\n- name: Capture diagnostics\n  if: always()\n  run: |\n    ps aux > \u002Ftmp\u002Fps-aux.txt\n    ss -tlnp > \u002Ftmp\u002Fports.txt\n    cat ~\u002F.hermes\u002Flogs\u002Fgateway.log   > \u002Ftmp\u002Fgateway.log\n    cat ~\u002F.hermes\u002Flogs\u002Fdashboard.log > \u002Ftmp\u002Fdashboard.log\n\n- name: Upload artifacts on failure\n  if: failure()\n  uses: actions\u002Fupload-artifact@v4\n  with:\n    name: failure-logs-${{ github.run_id }}\n    path: \u002Ftmp\u002F*.log \u002Ftmp\u002F*.txt\n```\n\nKey principles:\n- Use `if: always()` for diagnostic steps (run even on failure)\n- Capture process list, port status, config, and all service logs\n- Upload as artifacts for easy download\n\n### Debugging Checklist\n\n- [ ] Identify passing vs failing commits\n- [ ] Get the git diff between them\n- [ ] Download CI logs for both runs\n- [ ] If logs are insufficient, download CI artifacts\n- [ ] Compare the specific failing step output\n- [ ] Check for broken symlinks, missing deps, config issues\n- [ ] Reproduce locally if possible\n- [ ] Fix the root cause, not the symptom — never weaken the test\n\n---\n\n## Public Repo API Access Without Auth\n\nFor public repos, the GitHub REST API works without authentication for:\n- PR details, file lists, diffs\n- Check-run statuses and conclusions\n- Workflow run metadata\n- Commit status\n- Issue\u002FPR listing\n\n**Always try unauthenticated first for public repos.** Only add auth headers\nwhen you get 401\u002F403 or need write operations.\n\nWrite operations always require auth:\n- Posting PR comments or reviews\n- Merging PRs\n- Pushing commits\n- Managing issues\n\n---\n\n## Persisting Session Learnings as Checked-In Files\n\nWhen running as a temporal agent in a Codespace, session knowledge dies when\nthe Codespace is rebuilt. For durable learning that survives across sessions:\n\n- **Write checked-in MD files** to the repo root (e.g., `CODESPACE_PLAYBOOK.md`,\n  `REPOSITORY_ANALYSIS.md`). Future Codespace sessions read these on startup.\n- **Use Mnemon memory** for cross-session personal preferences and insights.\n- **Update this skill** when a new Codespace-specific pattern is discovered.\n\nThis is a user preference: \"what you have learned I need it to be persistent\nsuch that when I launch another codespace with Hermes, they can actually gain\nthe knowledge from the previous session.\"\n\n---\n\n## References\n\n- [Selkies Package Discrepancy: PyPI vs GitHub Actions](references\u002Fselkies-package-discrepancy.md) — Critical finding: PyPI `selkies==1.6.1` is legacy GStreamer; correct pixelflux-based package is a GitHub Actions artifact.\n\n---\n\n## Complete Codespace Workflow\n\n```bash\n# 1. Extract token (preferred) or use device code flow\nVSCODE_PID=$(pgrep -f \"server-main.js\" | head -1)\nexport GH_TOKEN=$(cat \u002Fproc\u002F$VSCODE_PID\u002Fenviron 2>\u002Fdev\u002Fnull | tr '\\0' '\\n' | grep \"^GITHUB_TOKEN=\" | cut -d= -f2-)\nunset GH_TOKEN  # if above failed, fall back to device code\ngh auth status 2>&1 | grep -q \"Logged in\" || gh auth login --hostname github.com --git-protocol https --web\n\n# 2. Get repo info\nOWNER_REPO=$(git remote get-url origin | sed -E 's|.*github\\.com[:\u002F]||; s|\\.git$||')\nOWNER=$(echo \"$OWNER_REPO\" | cut -d\u002F -f1)\nREPO=$(echo \"$OWNER_REPO\" | cut -d\u002F -f2)\n\n# 3. Work with PRs\ngh pr view $PR_NUMBER\ngh pr checks $PR_NUMBER --watch  # or: gh run watch $RUN_ID\n\n# 4. Post comments \u002F reviews\ngh pr comment $PR_NUMBER --body \"...\"\ngh pr review $PR_NUMBER --approve --body \"LGTM!\"\n\n# 5. Fix CI failures\ngh run view $RUN_ID --log-failed\n# ... fix files ...\ngit add . && git commit -m \"fix: ...\" && git push\ngh run watch $(gh run list --branch HEAD --limit 1 --json databaseId --jq '.[0].databaseId')\n```\n","# GitHub Operations in GitHub Codespaces\n\nCovers auth, CI monitoring, CI debugging, and API access patterns specific to\nGitHub Codespaces. This skill complements `github-auth` (general setup),\n`github-pr-workflow` (lifecycle), and `systematic-debugging` (general root\ncause analysis) by addressing Codespace-specific pitfalls and shortcuts.\n\n## Prerequisites\n\n- Running inside a GitHub Codespace (`CODESPACES=true` in env)\n- `gh` CLI installed (comes with Codespaces)\n\n---\n\n## Authentication\n\n### The Invalid GH_TOKEN Pitfall\n\nCodespaces set `GH_TOKEN` and `GITHUB_CODESPACE_TOKEN` env vars. These tokens\ncan be expired or scoped only to Codespace management — not repo write access.\nWhen `GH_TOKEN` is set to an invalid token, `gh auth login` silently refuses\nto work, claiming \"The value of the GH_TOKEN environment variable is being\nused for authentication.\"\n\n**This is the #1 auth blocker in Codespaces. Always check for it first.**\n\n### Fix: Device Code Flow\n\n```bash\n# Step 1: Unset the invalid token\nunset GH_TOKEN\n\n# Step 2: Use device code flow (works in any Codespace terminal)\ngh auth login --hostname github.com --git-protocol https --web\n\n# This prints a one-time code and URL.\n# The user visits the URL and enters the code — one-time browser approval.\n# No PAT creation needed. This IS the Codespace auth path.\n```\n\n### Auth Detection\n\n```bash\n# Quick check: does gh work for write operations?\nif gh auth status 2>&1 | grep -q \"Logged in\"; then\n  echo \"OK: gh authenticated\"\nelif [ -n \"$GH_TOKEN\" ]; then\n  echo \"PROBLEM: GH_TOKEN is set but likely invalid\"\n  echo \"FIX: unset GH_TOKEN && gh auth login --hostname github.com --git-protocol https --web\"\nelse\n  echo \"NOT AUTHENTICATED\"\n  gh auth login --hostname github.com --git-protocol https --web\nfi\n```\n\n### User Preference\n\n**Do not ask Codespace users to create PATs or run manual auth commands.**\nThe device code flow IS the expected auth path in a Codespace. If the agent\ncan't authenticate, try the device code flow first — the user just needs to\nopen a URL and paste a code, which is seamless.\n\n### Token Extraction from VS Code Server (Preferred — No Browser)\n\nThe VS Code server process has a GitHub App user-to-server token (`ghu_xxx`) in its\nenvironment. This is the preferred auth method in Codespaces — no browser,\nno device flow, no user interaction needed.\n\n```bash\n# 1. Find the VS Code server PID\nVSCODE_PID=$(pgrep -f \"server-main.js\" | head -1)\n\n# 2. Extract the real GITHUB_TOKEN from its process environment\nGITHUB_TOKEN=$(cat \u002Fproc\u002F$VSCODE_PID\u002Fenviron 2>\u002Fdev\u002Fnull \\\n  | tr '\\0' '\\n' \\\n  | grep \"^GITHUB_TOKEN=\" \\\n  | cut -d= -f2-)\n\n# 3. Verify it works\ncurl -s -H \"Authorization: token ***\" \\\n  https:\u002F\u002Fapi.github.com\u002Fuser | python3 -c \"import json,sys; print(json.load(sys.stdin).get('login','FAILED'))\"\n```\n\n**Critical limitation**: This token is a **GitHub App token** (from the GitHub Codespaces app).\nIt has `repo` scope but is **gated by GitHub App installation**. It works for:\n- The Codespace's origin repository\n- Other repositories where the GitHub Codespaces app is installed\n\nIt will **FAIL (403)** on repositories where the user has access but the Codespaces app is not installed.\n\nUse it for API calls, PR comments, and even `gh` CLI **on supported repos**:\n\n```bash\nunset GH_TOKEN\nexport GH_TOKEN=\"$GITHUB_TOKEN\"\ngh auth status  # Should show authenticated\n```\n\n**Why this works**: The agent session does NOT inherit the VS Code server's\nenvironment — `GITHUB_CODESPACE_TOKEN` and `GH_TOKEN` in the shell are\ndifferent (limited\u002Finvalid) tokens. The real token lives in the server\nprocess's `\u002Fproc\u002FPID\u002Fenviron` and must be extracted explicitly.\n\n### Token Scope Comparison\n\n| Method | Token Type | Scope | Works On |\n|--------|------------|-------|----------|\n| **Extract from VS Code** | GitHub App user-to-server (`ghu_`) | `repo` (app-gated) | Origin repo + Codespaces-connected repos only |\n| **Device code flow** | Classic OAuth (`gho_`\u002F`ghp_`) | Full user scopes | **All repos the user has access to** |\n| **Unauthenticated API** | None | Public only | Public repos (read-only) |\n\n**When to use device flow instead**: Working on repos outside the Codespaces app installation (other users' repos, orgs without Codespaces app).\n\n### Pitfall: Multiple VS Code Server Processes\n\n`pgrep -f \"server-main.js\"` may return multiple PIDs. The main server is the\none running `server-main.js` directly (not `bootstrap-fork` children). If token\nextraction returns empty, try each PID:\n\n```bash\nfor pid in $(pgrep -f \"server-main.js\"); do\n  TOKEN=$(cat \u002Fproc\u002F$pid\u002Fenviron 2>\u002Fdev\u002Fnull | tr '\\0' '\\n' | grep \"^GITHUB_TOKEN=\" | cut -d= -f2-)\n  [ -n \"$TOKEN\" ] && echo \"Found token in PID $pid\" && break\ndone\n```\n\n### VS Code IPC Credential Helper\n\nCodespaces configure `git credential.helper` to use a VS Code IPC socket\n(`\u002F.codespaces\u002Fbin\u002Fgitcredential_github.sh`). This works for `git push\u002Fpull\u002Ffetch`\nfrom within VS Code terminals but often fails from agent shell contexts because\nthe IPC socket (`\u002Ftmp\u002Fvscode-git-*.sock`) is not reachable or returns 500.\nThis is normal — use token extraction or `gh auth login` instead.\n\n---\n\n## CI Monitoring\n\n### Preferred: `gh run watch`\n\nAlways use `gh run watch \u003Crun-id>` instead of sleep-polling loops.\nIt streams logs in real-time, handles rate limiting, and exits on completion.\n\n```bash\n# Find the latest run for current branch\nRUN_ID=$(gh run list --branch $(git branch --show-current) --limit 1 --json databaseId --jq '.[0].databaseId')\n\n# Watch it\ngh run watch $RUN_ID\n\n# Watch with log output\ngh run watch $RUN_ID --log\n\n# Watch only failed jobs\ngh run watch $RUN_ID --failed\n```\n\n### Non-blocking watch from an agent turn (background + notify_on_complete)\n\nWhen a build takes longer than an agent turn can block (e.g. the ~5-15 min\n`full-build`), do NOT poll with `sleep` loops — they burn the turn and time out\n(execute_code caps at ~5 min). Instead run `gh run watch` as a **background\nterminal process with notify_on_complete**:\n\n```bash\ntok=$(cat \u002Fproc\u002F\u003CVSCODE_PID>\u002Fenviron 2>\u002Fdev\u002Fnull | tr '\\0' '\\n' | grep '^GITHUB_TOKEN=' | cut -d= -f2-)\nexport GH_TOKEN=\"$tok\"\ngh run watch \u003CRUN_ID> --repo OWNER\u002FREPO --exit-status > \u002Ftmp\u002Fci-watch.log 2>&1\necho \"WATCH_EXIT=$?\" >> \u002Ftmp\u002Fci-watch.log\n```\n\nLaunch that with terminal `background=true, notify_on_complete=true`. It streams\njobs\u002Fsteps live to `\u002Ftmp\u002Fci-watch.log`, and the agent is notified **once** when\nthe run finishes instead of sleep-polling. `gh run watch --exit-status` makes the\nwatch command's own exit code reflect the run's success\u002Ffailure (`WATCH_EXIT`).\nThis is the canonical pattern for a long CI watch from an agent loop: no sleep\nloops, no mid-turn blocking, one notification on completion. Then read the log\nor query the run\u002Fjobs via the API for the final triage.\n\n### Fallback: REST API Polling (No gh Auth)\n\nFor public repos, you can poll CI status without authentication:\n\n```bash\n# Get PR info\nPR_DATA=$(curl -s \"https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Fpulls\u002F$PR_NUMBER\")\nSHA=$(echo \"$PR_DATA\" | python3 -c \"import sys,json; print(json.load(sys.stdin)['head']['sha'])\")\n\n# Check run statuses\ncurl -s \"https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Fcommits\u002F$SHA\u002Fcheck-runs\" \\\n  | python3 -c \"\nimport json, sys\nd = json.load(sys.stdin)\nfor cr in d.get('check_runs', []):\n    icon = '⏳' if cr['status'] == 'in_progress' else ('✅' if cr['conclusion'] == 'success' else '❌')\n    print(f\\\"{icon} {cr['name']}: {cr['conclusion'] or 'pending'}\\\")\"\n```\n\nNote: log download (`\u002Factions\u002Fruns\u002F{id}\u002Flogs`) requires admin access (403 for\npublic repo read-only). Use `gh run view --log` when authenticated.\n\n---\n\n## CI Debugging\n\n### Core Technique: Compare Passing vs Failing Commits\n\nWhen CI fails on commit B but passed on commit A, the answer is in the diff.\n\n```bash\n# Step 1: Identify the commits\ncurl -s \"https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Factions\u002Fruns?per_page=10\" | \\\n  python3 -c \"\nimport sys, json\nd = json.load(sys.stdin)\nfor r in d.get('workflow_runs', []):\n    concl = r.get('conclusion', 'pending')\n    print(f\\\"{r['head_sha'][:8]}: {concl} ({r['created_at']})\\\")\"\n\n# Step 2: Get the diff\ngit diff $PASSING_SHA..$FAILING_SHA --stat\ngit diff $PASSING_SHA..$FAILING_SHA -- \u003Cspecific-file>\n\n# Step 3: Download CI logs for both runs\n# (requires admin token — see Authentication section)\ncurl -sL -H \"Authorization: token $GITHUB_TOKEN\" \\\n  \"https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Factions\u002Fruns\u002F$RUN_ID\u002Flogs\" \\\n  -o \u002Ftmp\u002Fci-logs.zip\nunzip -o \u002Ftmp\u002Fci-logs.zip -d \u002Ftmp\u002Fci-logs-$RUN_ID\u002F\n\n# Step 4: Compare the specific failing step output\ncat \"\u002Ftmp\u002Fci-logs-$RUN_ID\u002F0_Build & Smoke Test.txt\" | tail -100\n```\n\n### Downloading CI Artifacts (Not Just Logs)\n\nWhen CI logs don't contain enough detail (the failing step only shows a\nsummary, not the underlying npm\u002Fbuild output), download uploaded artifacts.\n\n```bash\n# Find artifacts for a run\ncurl -s -H \"Authorization: token $GITHUB_TOKEN\" \\\n  \"https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Factions\u002Fruns\u002F$RUN_ID\u002Fartifacts\" \\\n  | python3 -c \"\nimport sys, json\nd = json.load(sys.stdin)\nfor a in d.get('artifacts', []):\n    print(f\\\"Name: {a['name']}  ID: {a['id']}  Size: {a['size_in_bytes']}\\\")\"\n\n# Download and extract\ncurl -sL -H \"Authorization: token $GITHUB_TOKEN\" \\\n  \"https:\u002F\u002Fapi.github.com\u002Frepos\u002F$OWNER\u002F$REPO\u002Factions\u002Fartifacts\u002F$ARTIFACT_ID\u002Fzip\" \\\n  -o \u002Ftmp\u002Fartifact.zip\nmkdir -p \u002Ftmp\u002Fartifact && cd \u002Ftmp\u002Fartifact && unzip -o ..\u002Fartifact.zip\nls -la \u002Ftmp\u002Fartifact\u002F\n```\n\n### User Correction: Fix Root Cause, Not Symptoms\n\nWhen CI fails, the instinct is to weaken the test or skip the failing check.\n**The user will reject this.** The correct approach:\n\n1. **Diagnose first** — download logs\u002Fartifacts, identify what actually failed\n2. **Reproduce locally** — run the exact failing command in the local env\n3. **Fix the root cause** — fix the code\u002Fbuild\u002Fconfig that's broken\n4. **NOT the test** — don't skip checks, don't make services non-critical,\n   don't remove assertions the user considers important\n\nIf the user says a service is \"critical\", it stays critical. The fix must\nmake the service actually work, not make the test tolerate its absence.\n\n**This is a hard rule: NEVER modify existing developer test cases.**\nIf a test fails, fix the CODE, not the test.\n\n### Common CI Failure Patterns\n\n#### Broken Symlinks\n\n**Symptom:** Service starts but never responds; self-check times out.\n\n**Cause:** A symlink in the repo points to a local path that doesn't exist\nin CI (e.g., `.hermes -> \u002Fhome\u002Fcodespace\u002F.hermes` when CI runs as\n`\u002Fhome\u002Frunner`).\n\n```bash\ngit rm --cached .hermes\necho \".hermes\" >> .gitignore\ngit commit -m \"fix: remove broken .hermes symlink from git\"\n```\n\n#### Service Not Starting in CI\n\n**Symptom:** Port never responds; self-check fails with exit code 2.\n\n```bash\n# Check if the process is running\nps aux | grep \u003Cservice-name>\n\n# Check the service log\ncat ~\u002F.hermes\u002Flogs\u002Fdashboard.log\n\n# Check port binding\nss -tlnp | grep \u003Cport>\n```\n\n**Common causes:**\n- Missing dependency not installed in CI\n- Config file references local path\n- Port conflict with another service\n- Resource limits (memory\u002Fdisk) hit during startup\n\n#### GPG Signing Fails\n\n**Symptom:** `gpg: skipped \"GitHub \u003Cnoreply@github.com>\": No secret key`\n\n```bash\ngit -c commit.gpgsign=false commit -m \"fix: ...\"\n```\n\n#### Git Push Times Out\n\n**Symptom:** Push hangs for 60+ seconds then times out.\n\n**Cause:** VS Code IPC credential helper not reachable from agent shell.\n\n```bash\nVSCODE_PID=$(pgrep -f \"server-main.js\" | head -1)\nGITHUB_TOKEN=$(cat \u002Fproc\u002F$VSCODE_PID\u002Fenviron 2>\u002Fdev\u002Fnull | tr '\\0' '\\n' \\\n  | grep \"^GITHUB_TOKEN=\" | cut -d= -f2-)\n\ngit config credential.helper store\necho \"https:\u002F\u002Fgitricko:${GITHUB_TOKEN}@github.com\" > ~\u002F.git-credentials\ngit push origin \u003Cbranch>\n```\n\n### Hermes-Specific: Dashboard Web UI Silent Build Failure\n\n**Symptom:** Self-check exits with code 2 (critical service failure).\nPort 9119 (Hermes Dashboard) never responds. Dashboard log shows:\n```\n→ Building web UI...\n  ✗ Web UI npm install failed\n  Run manually:  npm install --workspace web && npm run build -w web\n```\nBut NO npm error output appears — stdout\u002Fstderr are empty.\n\n**Root cause:** The hermes dashboard auto-builds its web UI (`npm ci` +\n`vite build`) on first boot. In CI, `npm ci` can fail silently (process\nkilled, network issue, env mismatch) producing empty output. The `_relay()`\nfunction in hermes_cli\u002Fmain.py prints stdout\u002Fstderr, but if npm died\nbefore writing anything, nothing appears.\n\n**Fix:** Pre-build the web UI in `post-create-cmd.sh` so the dashboard\nfinds a ready `hermes_cli\u002Fweb_dist\u002Findex.html` and skips the runtime build:\n\n```bash\nHERMES_AGENT_DIR=\"$HOME\u002F.hermes\u002Fhermes-agent\"\nif [ -d \"$HERMES_AGENT_DIR\u002Fweb\" ] && command -v node &>\u002Fdev\u002Fnull; then\n  cd \"$HERMES_AGENT_DIR\"\n  CI=1 npm ci --include=dev --workspace web --silent 2>&1 || \\\n    CI=1 npm install --no-save --include=dev --workspace web --silent 2>&1\n  cd \"$HERMES_AGENT_DIR\u002Fweb\" && CI=1 npm run build 2>&1\nfi\n```\n\n**Why CI=1:** Matches hermes's own `_run_npm_install_deterministic()` which\nsets `CI=1` to suppress unicode animations and enable strict mode.\n\n**Verification:** `ls -la ~\u002F.hermes\u002Fhermes-agent\u002Fhermes_cli\u002Fweb_dist\u002Findex.html`\nThe dashboard's `_web_ui_build_needed()` checks for this file — if it exists,\nthe build is skipped entirely.\n\n### CI Workflow Diagnostic Capture Template\n\nWhen writing CI workflows, always include diagnostic capture steps:\n\n```yaml\n- name: Capture diagnostics\n  if: always()\n  run: |\n    ps aux > \u002Ftmp\u002Fps-aux.txt\n    ss -tlnp > \u002Ftmp\u002Fports.txt\n    cat ~\u002F.hermes\u002Flogs\u002Fgateway.log   > \u002Ftmp\u002Fgateway.log\n    cat ~\u002F.hermes\u002Flogs\u002Fdashboard.log > \u002Ftmp\u002Fdashboard.log\n\n- name: Upload artifacts on failure\n  if: failure()\n  uses: actions\u002Fupload-artifact@v4\n  with:\n    name: failure-logs-${{ github.run_id }}\n    path: \u002Ftmp\u002F*.log \u002Ftmp\u002F*.txt\n```\n\nKey principles:\n- Use `if: always()` for diagnostic steps (run even on failure)\n- Capture process list, port status, config, and all service logs\n- Upload as artifacts for easy download\n\n### Debugging Checklist\n\n- [ ] Identify passing vs failing commits\n- [ ] Get the git diff between them\n- [ ] Download CI logs for both runs\n- [ ] If logs are insufficient, download CI artifacts\n- [ ] Compare the specific failing step output\n- [ ] Check for broken symlinks, missing deps, config issues\n- [ ] Reproduce locally if possible\n- [ ] Fix the root cause, not the symptom — never weaken the test\n\n---\n\n## Public Repo API Access Without Auth\n\nFor public repos, the GitHub REST API works without authentication for:\n- PR details, file lists, diffs\n- Check-run statuses and conclusions\n- Workflow run metadata\n- Commit status\n- Issue\u002FPR listing\n\n**Always try unauthenticated first for public repos.** Only add auth headers\nwhen you get 401\u002F403 or need write operations.\n\nWrite operations always require auth:\n- Posting PR comments or reviews\n- Merging PRs\n- Pushing commits\n- Managing issues\n\n---\n\n## Persisting Session Learnings as Checked-In Files\n\nWhen running as a temporal agent in a Codespace, session knowledge dies when\nthe Codespace is rebuilt. For durable learning that survives across sessions:\n\n- **Write checked-in MD files** to the repo root (e.g., `CODESPACE_PLAYBOOK.md`,\n  `REPOSITORY_ANALYSIS.md`). Future Codespace sessions read these on startup.\n- **Use Mnemon memory** for cross-session personal preferences and insights.\n- **Update this skill** when a new Codespace-specific pattern is discovered.\n\nThis is a user preference: \"what you have learned I need it to be persistent\nsuch that when I launch another codespace with Hermes, they can actually gain\nthe knowledge from the previous session.\"\n\n---\n\n## References\n\n- [Selkies Package Discrepancy: PyPI vs GitHub Actions](references\u002Fselkies-package-discrepancy.md) — Critical finding: PyPI `selkies==1.6.1` is legacy GStreamer; correct pixelflux-based package is a GitHub Actions artifact.\n\n---\n\n## Complete Codespace Workflow\n\n```bash\n# 1. Extract token (preferred) or use device code flow\nVSCODE_PID=$(pgrep -f \"server-main.js\" | head -1)\nexport GH_TOKEN=$(cat \u002Fproc\u002F$VSCODE_PID\u002Fenviron 2>\u002Fdev\u002Fnull | tr '\\0' '\\n' | grep \"^GITHUB_TOKEN=\" | cut -d= -f2-)\nunset GH_TOKEN  # if above failed, fall back to device code\ngh auth status 2>&1 | grep -q \"Logged in\" || gh auth login --hostname github.com --git-protocol https --web\n\n# 2. Get repo info\nOWNER_REPO=$(git remote get-url origin | sed -E 's|.*github\\.com[:\u002F]||; s|\\.git$||')\nOWNER=$(echo \"$OWNER_REPO\" | cut -d\u002F -f1)\nREPO=$(echo \"$OWNER_REPO\" | cut -d\u002F -f2)\n\n# 3. Work with PRs\ngh pr view $PR_NUMBER\ngh pr checks $PR_NUMBER --watch  # or: gh run watch $RUN_ID\n\n# 4. Post comments \u002F reviews\ngh pr comment $PR_NUMBER --body \"...\"\ngh pr review $PR_NUMBER --approve --body \"LGTM!\"\n\n# 5. Fix CI failures\ngh run view $RUN_ID --log-failed\n# ... fix files ...\ngit add . && git commit -m \"fix: ...\" && git push\ngh run watch $(gh run list --branch HEAD --limit 1 --json databaseId --jq '.[0].databaseId')\n```\n",{"name":5,"author":23,"license":14,"version":24,"metadata":25,"platforms":39,"description":7},"Hermes Agent","2.0.0",{"hermes":26},{"tags":27,"related_skills":34},[28,29,30,31,32,33],"GitHub","Codespaces","Authentication","CI","API","Debugging",[35,36,37,38],"github-auth","github-pr-workflow","github-code-review","systematic-debugging",[40],"linux","main","e95aec76487a22bbbc23b63234724bc7178d4692","skills\u002Fgithub-codespace","https:\u002F\u002Fgithub.com\u002Fgitricko\u002F.minions","https:\u002F\u002Fgithub.com\u002Fgitricko","2026-11-13 16:00:00",{"source":8,"skillName":5,"commands":48,"prompt":58,"zipAvailable":59},[49,52,55],{"tool":50,"command":51},"npx","npx skills add gitricko\u002F.minions --skill github-codespace",{"tool":53,"command":54},"bunx","bunx skills add gitricko\u002F.minions --skill github-codespace",{"tool":56,"command":57},"pnpm","pnpm dlx skills add gitricko\u002F.minions --skill github-codespace","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgitricko\u002F.minions\u002Fblob\u002Fmain\u002Fskills\u002Fgithub-codespace\u002FSKILL.md",true,[61],{"path":62,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":65,"sourceHtmlUrl":66},"references\u002Fselkies-package-discrepancy.md","REFERENCE","参考文档",1718,"https:\u002F\u002Fgithub.com\u002Fgitricko\u002F.minions\u002Fblob\u002Fmain\u002Fskills\u002Fgithub-codespace\u002Freferences\u002Fselkies-package-discrepancy.md",[68,75,82,89,96,103],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":18},"01M7B0VJ3Q0YMCTJY69FEJ4100","version-single-source","Use when adding a new component dependency or versioning a binary in install\u002Fboot scripts.","https:\u002F\u002Fgithub.com\u002Fgitricko\u002F.minions\u002Fblob\u002Fmain\u002Fskills\u002Fversion-single-source\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":18},"01M7B0V888DV8J3JY5W9Z6WCF3","tdd","Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions \"red-green-refactor\", or wants integration tests.","https:\u002F\u002Fgithub.com\u002Fgitricko\u002F.minions\u002Fblob\u002Fmain\u002Fskills\u002Ftdd\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":18},"01M7B0TVFM38JH3PBA2K219Z2X","shell-path-login","Use when a binary or script works in one shell context but not another (interactive vs non-interactive login vs non-login shell).","https:\u002F\u002Fgithub.com\u002Fgitricko\u002F.minions\u002Fblob\u002Fmain\u002Fskills\u002Fshell-path-login\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":18},"01M7B0TKFCTVQBTSNF9WF1MXJ6","self-update-fix","Fix a failing dependency update PR. Use when a self-update PR's CI fails, or when invoked by scripts\u002Fself-update-fix.sh.","https:\u002F\u002Fgithub.com\u002Fgitricko\u002F.minions\u002Fblob\u002Fmain\u002Fskills\u002Fself-update-fix\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":18},"01M7B0TB57WEW0E6E9874K3C72","pr-change-log","Use when a multi-commit PR needs its description written\u002Fupdated, or when closing out a long branch with many fix commits.","https:\u002F\u002Fgithub.com\u002Fgitricko\u002F.minions\u002Fblob\u002Fmain\u002Fskills\u002Fpr-change-log\u002FSKILL.md",[],[],{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":18},"01M7B0T2FGSV0ZFRZ46PG4BBY2","persistent-knowledge","Persistent skills\u002Fknowledge in Codespace via symlinks.","https:\u002F\u002Fgithub.com\u002Fgitricko\u002F.minions\u002Fblob\u002Fmain\u002Fskills\u002Fpersistent-knowledge\u002FSKILL.md",[],[]]