codebase-fix-and-pr

codebase-fix-and-pr is a skill for Claude Code from thomasgauvin/claude-agent-sdk-in-cloudflare-containers. It costs 52 tokens per session (2,466 once invoked), scanned A, original, MIT.

A workflow for fixing or improving code in a GitHub repository and opening a pull request, which is a proposed change for review.

In plain words
What is it for?
Use it for bug fixes, feature changes, refactoring, documentation or configuration updates, and dependency upgrades in GitHub repositories.
Why use it?
It organizes the steps from reported problem to reviewed code change, reducing the manual work of preparing a contribution.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it for bug fixes, feature changes, refactoring, documentation or configuration updates, and dependency upgrades in GitHub repositories.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/thomasgauvin/claude-agent-sdk-in-cloudflare-containers/codebase-fix-and-pr
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.

Any agent
npx skills add thomasgauvin/claude-agent-sdk-in-cloudflare-containers --skill codebase-fix-and-pr
Clone the repo
git clone --depth 1 https://github.com/thomasgauvin/claude-agent-sdk-in-cloudflare-containers

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 codebase-fix-and-pr

README.md
[![agentmods](https://agentmods.dev/badge/skills/thomasgauvin/claude-agent-sdk-in-cloudflare-containers/codebase-fix-and-pr/github.svg)](https://agentmods.dev/skills/thomasgauvin/claude-agent-sdk-in-cloudflare-containers/codebase-fix-and-pr)
Your own site
<a href="https://agentmods.dev/skills/thomasgauvin/claude-agent-sdk-in-cloudflare-containers/codebase-fix-and-pr"><img src="https://agentmods.dev/badge/skills/thomasgauvin/claude-agent-sdk-in-cloudflare-containers/codebase-fix-and-pr/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for codebase-fix-and-pr

Your own site · 80×15
<a href="https://agentmods.dev/skills/thomasgauvin/claude-agent-sdk-in-cloudflare-containers/codebase-fix-and-pr"><img src="https://agentmods.dev/badge/skills/thomasgauvin/claude-agent-sdk-in-cloudflare-containers/codebase-fix-and-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,466 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00052 $0.02466
Opus 5 $0.00026 $0.01233
Sonnet 5 $0.00010 $0.00493
Haiku 4.5 $0.00005 $0.00247

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

Security

Grade A, and why

codebase-fix-and-pr scanned grade A with 0 findings 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 10d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

container/.claude/skills/codebase-fix-and-pr/SKILL.md · 360 lines

How it starts

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

Codebase Fix and Pull Request

When to use this skill

Use this skill when you need to apply code fixes or improvements to a GitHub repository and automatically create a pull request. Specifically, use it when you need to:

  • Fix bugs reported by users or found through code review
  • Implement feature improvements
  • Apply refactoring changes
  • Fix documentation or configuration
  • Apply automated code corrections
  • Update dependencies or package versions

Overview

This skill guides an agent through the complete workflow of analyzing user feedback, making targeted code changes, and creating a pull request. The agent uses GitHub authentication via environment variables and the GitHub MCP tools to complete the entire flow.

Prerequisites

Before using this skill:

  1. Configure Git CLI: Use the configure-git-cli skill to set up git user identity and GitHub authentication with your PAT
  2. Required environment variables:
    • GITHUB_EMAIL: Your git email
    • GITHUB_NAME: Your git name
    • GITHUB_PAT: GitHub Personal Access Token with repo and workflow scopes

Workflow

Step 0: Configure Git (Prerequisite)

Before performing any git operations, ensure git is configured by invoking the configure-git-cli skill. This will:

  • Set your git user email and name
  • Configure GitHub authentication with your PAT
  • Verify git credentials work correctly

Once configured, you can proceed with the following steps.

Step 1: Parse Requirements

Input required:

  • GitHub repository URL or owner/repo format
  • User feedback, issue description, or fix requirement
  • Specific files or areas to modify (optional)
  • PR description and title (optional - will auto-generate if not provided)

Actions:

  1. Parse the user feedback to understand:
    • What needs to be fixed
    • Why it needs to be fixed
    • Which files are likely affected
    • Success criteria for the fix
  2. Break down complex requests into discrete changes
  3. Plan the implementation approach

Read the full file on GitHub · 360 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. 10d ago First seen · 360 lines · 52 tokens per session scan A cb3b4071771c

Subscribe to this mod's changes

codebase-fix-and-pr is a skill published in the GitHub repository thomasgauvin/claude-agent-sdk-in-cloudflare-containers (43 stars, last pushed 8mo ago), licensed MIT. It adds 52 tokens to every session and 2,466 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

prowler-commit

Creates professional git commits following conventional-commits format. Trigger: When creating commits, after completing code changes, when user asks to commit.

prowler-cloud/prowler · 33 tokens

gh-auth-isolation

Safely manage multiple GitHub identities (EMU + personal) in agent workflows.

github/gh-aw · 20 tokens

comet-github

A routing guide for Comet-related GitHub work. It directs requests about pull requests, issues, CI failures, ideas, and fixes to the appropriate review or implementation process.

rpamis/comet · 72 tokens

github-skill

Work with GitHub via the gh CLI — clone repositories, create/list/merge pull requests, create/list issues, and run any other gh command (API calls, workflow runs, releases, repo administration). List operations return parsed JSON.

zeenie-ai/OpenCompany · 51 tokens

re0-merge

Review and land an external contribution the way this suite does: gate it against the thesis, land it with the author's credit intact, complete a new skill rather than merging it raw, then approve, credit, and explain before closing. Use when reviewing a pull request, as any collaborator or maintainer, not only the…

LilMGenius/paperthin · 70 tokens

nvca-chart-release

Release NVCA Operator chart changes from the native monorepo source to the vendored Helm chart. Use when updating the vendored NVCA Operator chart, changing NVCA image refs, publishing helm-nvca-operator, or validating the chart against a self-managed control plane.

NVIDIA/nvcf · 61 tokens