lens-sandbox: Skill for Claude Code

.claude/skills/create-pr/SKILL.md

create-pr is a skill for Claude Code from lensapp/lens-sandbox. It costs 56 tokens per session (2,041 once invoked), scanned A, original, Apache-2.0.

A procedure for creating a GitHub pull request from the current Git branch. A pull request is a request for reviewers to inspect and merge changes into another branch.

In plain words
What is it for?
Use it to create a pull request for the current branch or to create one containing a specific commit by making a temporary branch and cherry-picking it.
Why use it?
It handles branch checks, pushing changes, title formatting, and the option to submit one selected commit separately. This reduces mistakes when preparing changes for review.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions Claude Code.

This is lensapp/lens-sandbox's own configuration. It tells Claude Code how to work on lens-sandbox itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything lens-sandbox configures →

Reuse

Borrowing it

Nothing to install: this file belongs to lensapp/lens-sandbox. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/lensapp/lens-sandbox/main/.claude/skills/create-pr/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/lensapp/lens-sandbox

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 create-pr

README.md
[![agentmods](https://agentmods.dev/badge/skills/lensapp/lens-sandbox/create-pr.svg)](https://agentmods.dev/skills/lensapp/lens-sandbox/create-pr)
Your own site
<a href="https://agentmods.dev/skills/lensapp/lens-sandbox/create-pr"><img src="https://agentmods.dev/badge/skills/lensapp/lens-sandbox/create-pr.svg" alt="Measured on agentmods" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,041 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 9
    Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.
    Fix: Remove the model/provider override or disclose it prominently and require explicit operator approval before invoking an external coding CLI or billed model.
How audits are shown
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.00056 $0.02041
Opus 5 $0.00028 $0.01020
Sonnet 5 $0.00011 $0.00408
Haiku 4.5 $0.00006 $0.00204

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

Security

Grade A, and why

create-pr 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 3d 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.

3. Trigger a denial: `lns run python:3.12 -- curl https://example.com`; observe the OS notification with `Allow once / Always / Deny`. Click `Always` and verify the host lands in `.lns/settings.local.json`.
.claude/skills/create-pr/SKILL.md · 236 lines

How it starts

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

Creating a Pull Request

Modes

This skill supports two modes:

A. Full branch PR (default)

The entire current branch becomes the PR. Used when the user says "create a PR" without specifying a commit.

B. Single commit PR (cherry-pick)

The user wants to create a PR for a specific commit while continuing work on the current branch. Used when the user says things like "create a PR for this commit", "create a PR for the last commit", or references a specific commit.

Single commit workflow:

  1. Note the current branch name and the target commit hash
  2. Fetch latest and create a new branch from origin/main:
    git fetch origin main
    git checkout -b <branch-name> origin/main
    
  3. Cherry-pick the commit:
    git cherry-pick <commit-hash>
    
  4. Push, create the PR (follow steps 2-6 below)
  5. Return to the original branch:
    git checkout <original-branch>
    
  6. The cherry-picked commit stays on the original branch too - that's fine, git handles this during merge

Prerequisites

  • For full branch PR: current branch must NOT be main, and there must be commits ahead of the base branch
  • For single commit PR: the target commit must exist

Steps (Full Branch PR)

1. Gather Context

Run these in parallel:

# Fetch latest origin/main (local main may be stale)
git fetch origin main

# Check current branch and remote tracking
git branch --show-current
git status

# See all commits that will be in the PR (from divergence point)
git log origin/main..HEAD --oneline

# See full diff against base
git diff origin/main...HEAD --stat

2. Push Branch

If the branch has no upstream or is ahead of remote:

git push -u origin HEAD

3. Determine PR Title

Follow conventional commits format for the PR title:

  • feat(scope): Description - New feature
  • fix(scope): Description - Bug fix
  • chore(scope): Description - Internal change, refactoring
  • refactor(scope): Description - Code restructuring
  • test(scope): Description - Test additions/changes
  • ci(scope): Description - CI/CD changes

Read the full file on GitHub · 236 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. 3d ago Changed 6567e48fc60d
  2. 7d ago First seen · 236 lines · 56 tokens per session scan A 60aba67d8e0a

Subscribe to this mod's changes

create-pr is a skill published in the GitHub repository lensapp/lens-sandbox (10 stars, last pushed 3d ago), licensed Apache-2.0. It adds 56 tokens to every session and 2,041 once invoked, about $0.0003 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-31.

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

codex-autoresearch

Run autonomous, measurable experiments in a Git repository: change one hypothesis, verify a numeric metric, keep improvements, and revert failures. Use when the user wants Codex to keep iterating toward a numeric target in the foreground or as a detached background run. Do not use for ordinary one-shot coding…

leo-lilinxiao/codex-autoresearch · 80 tokens

changelog-composer

Generates structured changelogs and release notes from git history and PRs, classifying breaking changes, features, fixes, performance, docs. Triggers on: "generate changelog", "write release notes", "what changed since", "prepare release", "release notes for", "diff since tag".

Mathews-Tom/armory · 67 tokens