gh-fetch
GitHub fetch — gh CLI for GitHub URLs; checkout when multiple file accesses are foreseen.
Skill by lucavb
Chalk Labs
Need help deploying gh-fetch?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/lucavb-gh-fetch
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Nov 1, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/gh-fetch
What's inside
- Skill name
gh-fetch- Description
- GitHub fetch — gh CLI for GitHub URLs; checkout when multiple file accesses are foreseen. Use when the user shares a GitHub link or wants remote repo source.
- License
- MIT
- Instructions
- 41 lines in SKILL.md · view on GitHub
Files (4)
- CHECKOUT.md
- GH-COMMANDS.md
- README.md
- SKILL.md
SKILL.md (first lines)
# GitHub fetch A **fetch** run is the same **process** every GitHub task: parse → **foresee** → **fetch** or **checkout**. ## Steps ### 1. Parse Parse `owner/repo` (+ issue/PR number if present) from URL or user text. **Completion criterion:** `owner/repo` identified (or user asked to clarify). ### 2. Foresee Before **checkout**, decide: will this task need more than one file read or a repo-wide search (Grep/Glob)? - **No** → **fetch** branch (Step 3). - **Yes** → **checkout** branch (Step 4). - Task expands mid-run → re-**foresee** before the second access; switch branches if needed. **Completion criterion:** branch chosen and recorded (fetch vs checkout). ### 3. Fetch branch Follow [GH-COMMANDS.md](GH-COMMANDS.md) for the URL type. Single file: `gh api repos/owner/repo/contents/path?ref=branch`. **Completion criterion:** requested content returned via `gh`; no **checkout** started. ### 4. Checkout branch Follow [CHECKOUT.md](CHECKOUT.md) — ask for local path, verify remote, clone only with approval. **Completion criterion:** verified local path in use, or approved shallow clone at a known absolute path; Read/Grep/Glob target that tree. ## Reach Reach GitHub through **`gh`** (**fetch** branch) or a verified **checkout** path. If `gh` is missing or unauthenticated, WebFetch is the fallback. **Done when:** every access went through **fetch** or **checkout** per the **foresee** gate; WebFetch used only on genuine `gh` failure.
From lucavb/skills, MIT.
More from lucavb/skills
- 0.604score
review-tribunal
lucavb
Review tribunal for pull requests or local Git diffs: intake, review-core blind critics (including alternatives), tribunal, adversarial validation, then local…
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
scrum-next
lucavb
Scrum board next-work triage.
SkillAFreshness: A★ 3Claude Code +9 - 0.601score
review-core
lucavb
Shared adversarial review engine: blind parallel critics (including alternatives), tribunal adjudication, and adversarial re-validation.
SkillAFreshness: A★ 3Claude Code +9 - 0.569score
refining-jira-tickets
lucavb
Pre-scrum refinement of Jira stories for engineering readiness.
SkillBFreshness: B★ 3Claude Code +9 - 0.569score
atlassian-jira-adf-formatting
lucavb
Round-trip Jira story descriptions via Atlassian MCP ADF — fetch full doc, edit in files, validate, file-backed editJiraIssue.
SkillBFreshness: B★ 3Claude Code +9 - 0.564score
conversation-handoff
lucavb
Summarize the current conversation into a copy-pasteable handoff message for a fresh chat.
SkillBFreshness: B★ 3Claude Code +9 - 0.564score
closing-ritual
lucavb
Closing ritual — surface doubts, blind spots, and unverified claims before work is accepted.
SkillBFreshness: B★ 3Claude Code +9 - 0.564score
ticket-to-pr-pipeline
lucavb
ticket-to-pr-pipeline: Jira ticket through plan, build, review-core, and PR in one continuous run.
SkillBFreshness: B★ 3Claude Code +9 - 0.561score
angular
lucavb
Angular zoneless conventions — signals, toSignal, shells, encapsulated styles.
SkillBFreshness: B★ 3Claude Code +9 - 0.561score
writing-commit-messages
lucavb
Required before every git commit.
SkillBFreshness: B★ 3Claude Code +9 - 0.559score
discover-before-planning
lucavb
Do discovery during planning — explore the codebase and close open questions before presenting a plan.
SkillBFreshness: B★ 3Claude Code +9 - 0.558score
tldr
lucavb
Condense the immediately preceding assistant answer into a direct TL;DR.
SkillBFreshness: B★ 3Claude Code +9
Signals
- Stars
- 3
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Aug 6, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/lucavb/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from lucavb
- 0.604score
scrum-next
lucavb
Scrum board next-work triage.
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
review-tribunal
lucavb
Review tribunal for pull requests or local Git diffs: intake, review-core blind critics (including alternatives), tribunal, adversarial validation, then local…
SkillAFreshness: A★ 3Claude Code +9 - 0.601score
review-core
lucavb
Shared adversarial review engine: blind parallel critics (including alternatives), tribunal adjudication, and adversarial re-validation.
SkillAFreshness: A★ 3Claude Code +9 - 0.569score
refining-jira-tickets
lucavb
Pre-scrum refinement of Jira stories for engineering readiness.
SkillBFreshness: B★ 3Claude Code +9 - 0.569score
atlassian-jira-adf-formatting
lucavb
Round-trip Jira story descriptions via Atlassian MCP ADF — fetch full doc, edit in files, validate, file-backed editJiraIssue.
SkillBFreshness: B★ 3Claude Code +9 - 0.564score
conversation-handoff
lucavb
Summarize the current conversation into a copy-pasteable handoff message for a fresh chat.
SkillBFreshness: B★ 3Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get gh-fetch running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
gh-fetch skill. Agent Mart. https://agentmart.dev/skills/lucavb-gh-fetch (last updated 2026-10-24)