github-flow-for-claude-on-web

github-flow-for-claude-on-web is a skill for Claude Code from shabaraba/vibing.nvim. It costs 71 tokens per session (6,054 once invoked), scanned A, original, MIT.

A set of instructions for using GitHub from Claude Code on the web. GitHub is a service for hosting code and reviewing changes; these instructions require its web API instead of the GitHub command-line tool.

In plain words
What is it for?
Naming branches, retrying pushes, creating and managing pull requests, working with issues, and performing other GitHub tasks through the REST API.
Why use it?
They provide a consistent way to create branches, push changes, manage pull requests, and handle issues when the command-line tool is unavailable.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: positional $N argument; mentions Claude Code.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/shabaraba/vibing.nvim/github-flow-for-claude-on-web
Any agent
npx skills add shabaraba/vibing.nvim --skill github-flow-for-claude-on-web
Clone the repo
git clone --depth 1 https://github.com/shabaraba/vibing.nvim

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for github-flow-for-claude-on-web

README.md
[![agentmods](https://agentmods.dev/badge/skills/shabaraba/vibing.nvim/github-flow-for-claude-on-web.svg)](https://agentmods.dev/skills/shabaraba/vibing.nvim/github-flow-for-claude-on-web)
Your own site
<a href="https://agentmods.dev/skills/shabaraba/vibing.nvim/github-flow-for-claude-on-web"><img src="https://agentmods.dev/badge/skills/shabaraba/vibing.nvim/github-flow-for-claude-on-web.svg" alt="Measured on agentmods" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,054 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00071 $0.06054
Opus 5 $0.00036 $0.03027
Sonnet 5 $0.00014 $0.01211
Haiku 4.5 $0.00007 $0.00605

Measured 6d ago against content hash 9c4adb0f18fb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

github-flow-for-claude-on-web scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

All GitHub operations (PRs, issues, comments, reviews) MUST use the REST API via `curl`:
.claude/skills/github-flow-for-claude-on-web/SKILL.md · 913 lines

How it starts

The opening of the file, as written. The whole thing — 913 lines — stays where its author put it; the contents beside it link to each section on GitHub.

GitHub Flow for Claude Code on the Web

This skill provides comprehensive Git and GitHub operations optimized for Claude Code on the web environment, including branch management, push operations, and GitHub REST API interactions.

⚠️ CRITICAL: Always Use GitHub REST API

NEVER use gh CLI in Claude Code on the web - it is not available.

All GitHub operations (PRs, issues, comments, reviews) MUST use the REST API via curl:

  • curl -s https://api.github.com/repos/OWNER/REPO/pulls/123
  • gh pr view 123 (NOT AVAILABLE)

When to Use

This skill is automatically activated when running in Claude Code on the web environment (CLAUDE_CODE_REMOTE=true).

Table of Contents

  1. GitHub API Operations
  2. Environment Detection
  3. Branch Naming Requirements
  4. Git Push Operations
  5. Pull Request Creation
  6. Complete Workflows
  7. Troubleshooting

GitHub API Operations

Core Principle

ALL GitHub operations must use the REST API. The gh CLI is not available in Claude Code on the web environment.

Common GitHub API Endpoints

Get PR Details
curl -s https://api.github.com/repos/OWNER/REPO/pulls/PR_NUMBER
Get PR Review Comments
# Code review comments
curl -s https://api.github.com/repos/OWNER/REPO/pulls/PR_NUMBER/comments

# Issue comments (general discussion)
curl -s https://api.github.com/repos/OWNER/REPO/issues/PR_NUMBER/comments
Get Repository Info
# Auto-detect from git remote
REMOTE_URL=$(git remote get-url origin)
REPO_FULL=$(echo "$REMOTE_URL" | sed -E 's#.*github\.com[:/]([^/]+/[^/]+)(\.git)?$#\1#')
OWNER=$(echo "$REPO_FULL" | cut -d/ -f1)
REPO=$(echo "$REPO_FULL" | cut -d/ -f2)

curl -s "https://api.github.com/repos/$OWNER/$REPO"
List Issues
# All open issues
curl -s https://api.github.com/repos/OWNER/REPO/issues

# Filter by labels
curl -s "https://api.github.com/repos/OWNER/REPO/issues?labels=bug"

Read the full file on GitHub · 913 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 913 lines · 71 tokens per session scan A 9c4adb0f18fb

Subscribe to this mod's changes

github-flow-for-claude-on-web is a skill published in the GitHub repository shabaraba/vibing.nvim (13 stars, last pushed today), licensed MIT. It adds 71 tokens to every session and 6,054 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.