graphite-setup

graphite-setup is a skill for Claude Code from pleaseai/claude-code-plugins. It costs 161 tokens per session (2,599 once invoked), scanned A, a copy of owasp-asvs, MIT.

A repository setup guide for Graphite, a tool for managing chains of related GitHub pull requests. It covers branch protection, the merge queue, and the automated checks that run in continuous integration (CI).

In plain words
What is it for?
Use it when onboarding a repository to Graphite, configuring required checks and signed commits, or fixing CI triggers for Graphite branches.
Why use it?
It helps prevent repository settings and CI rules from blocking stacked pull requests or causing approvals and checks to behave unexpectedly.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Part of the graphite plugin — 3 skills, 16 commands shipped together

Good fit Use it when onboarding a repository to Graphite, configuring required checks and signed commits, or fixing CI triggers for Graphite branches.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pleaseai/claude-code-plugins/graphite-setup
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 pleaseai/claude-code-plugins --skill graphite-setup
Clone the repo
git clone --depth 1 https://github.com/pleaseai/claude-code-plugins

Made for: Claude Code.

Or install graphite, the plugin that ships this one along with the rest of its 3 skills, 16 commands.

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 graphite-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/pleaseai/claude-code-plugins/graphite-setup.svg)](https://agentmods.dev/skills/pleaseai/claude-code-plugins/graphite-setup)
Your own site
<a href="https://agentmods.dev/skills/pleaseai/claude-code-plugins/graphite-setup"><img src="https://agentmods.dev/badge/skills/pleaseai/claude-code-plugins/graphite-setup.svg" alt="Measured on agentmods" height="20"></a>
Per session 161 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,599 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 86% copy Near-identical to another mod 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.00161 $0.02599
Opus 5 $0.00081 $0.01300
Sonnet 5 $0.00032 $0.00520
Haiku 4.5 $0.00016 $0.00260

Measured today against content hash f6c4857b0f75, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

graphite-setup 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 today.

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.

Origin

This is a copy

86% identical to owasp-asvs — 472 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/graphite/skills/graphite-setup/SKILL.md · 179 lines

How it starts

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

Graphite — Repository Setup & CI Configuration

This skill is the counterpart to the graphite skill (CLI workflow). It covers the one-time and ongoing repository / GitHub / CI configuration that lets gt stacks merge cleanly. If the user is driving gt locally, use the graphite skill instead.

Source docs (cite when proposing changes):

Onboarding a repo — do this in order

Work top-down. Each step has a checkpoint; if it fails, fix that step before moving on — a later step won't compensate for an earlier misconfiguration.

  1. Repo settings — disable the single-push branch limit, enable auto-delete head branches (GitHub repository settings).
    • ✅ Checkpoint: gt submit --stack on a 2-branch test stack pushes both branches without a "too many branches in one push" error.
  2. Branch protection — turn off the four Graphite-breaking settings; keep the recommended safe ones (tables below).
    • ✅ Checkpoint: open a test PR, approve it, then push an amend — the approval is not dismissed and the PR stays mergeable.
  3. CI triggers — add branches-ignore: "**/graphite-base/**" and ensure CI runs on every stacked PR, not just trunk (CI configuration).
    • ✅ Checkpoint: push a 2-PR stack; both PRs get CI runs, and no job fails with "branch not found" on a graphite-base/* ref.
  4. Merge queue — pick exactly one mode (Merge queue: pick one); skip if you aren't using a queue.
    • ✅ Checkpoint: only one queue is active — if you chose Graphite's, GitHub's native queue is off in branch protection.
  5. (Optional) CI Optimizations — only for teams with tall stacks and ≥~10 active stackers (CI Optimizations).
    • ✅ Checkpoint: a known-skippable intermediate PR shows its CI skipped, while the base and top PRs still run.

Read the full file on GitHub · 179 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. today First seen · 179 lines · 161 tokens per session scan A f6c4857b0f75

Subscribe to this mod's changes

graphite-setup is a skill published in the GitHub repository pleaseai/claude-code-plugins (13 stars, last pushed yesterday), licensed MIT. It adds 161 tokens to every session and 2,599 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 0 findings. It is 86% identical to owasp-asvs, differing in 472 lines, and is treated as a copy.

Related

Other skills, from other repositories

chinese-git-workflow

A reference for configuring Git with Chinese code-hosting services such as Gitee, Coding.net, GitLab China, and CNB, including SSH, HTTPS, credentials, CI, and repository mirroring.

jnMetaCode/superpowers-zh · 69 tokens

baby-sit

Monitor a GitHub pull request until CI is green, diagnose failures, and rerun only evidence-backed flaky GitHub Actions jobs.

langchain-ai/open-swe · 30 tokens

atmos-hooks

Atmos hooks: lifecycle events, hook kinds, command/store/git/security hooks, step/steps hooks, when: conditions, scoping and overrides, toolchain integration, --skip-hooks, and Atmos Pro/local output.

cloudposse/atmos · 46 tokens

atmos-pro

Atmos Pro setup and workflows: settings.pro, GitHub OIDC, affected and inventory uploads, stack locks, pro commit, workflow dispatch, merge queues, and drift detection.

cloudposse/atmos · 38 tokens

start-temps-cluster

Start (or restart) a local multi-node Temps cluster using Docker-in-Docker — one control plane + 3 worker nodes, each a privileged DinD container running its own dockerd + temps agent, wired with the real multi-host overlay (VXLAN, computecidr allocation) via tools/dev-cluster/ in whichever checkout/worktree you run…

gotempsh/temps · 204 tokens

pr-watch

Local PR watcher. Monitors CI status, automatically fixes failing checks by reading failure logs and applying targeted fixes, then optionally merges when all checks pass. Local CLI analog to Claude Code's cloud auto-fix feature.

SethGammon/Citadel · 46 tokens