engram-branch-pr

engram-branch-pr is a skill for Claude Code, Codex from Gentleman-Programming/engram. It costs 37 tokens per session (2,469 once invoked), scanned A, original, MIT.

A pull-request workflow for Engram, with issue approval, branch naming, tests, labels, and automated checks required before merging.

In plain words
What is it for?
Use it when preparing or opening a pull request: confirm the issue, create a correctly named branch, run tests, use the review template, add one type label, and wait for checks.
Why use it?
It prevents review work from being blocked by missing issue links, invalid branch names, incorrect labels, or unverified changes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is 5. Check every changed path against the [Transient Artifact Policy](../../CONTRIBUTING.md#transient-artifact-policy).

Good fit Use it when preparing or opening a pull request: confirm the issue, create a correctly named branch, run tests, use the review template, add one type label, and wait for checks.

Compare 6 skills from other repositories ↓
About the project

Engram is a local or cloud-backed memory system for AI coding agents, provided as a single Go binary with SQLite full-text search and interfaces including a command line, HTTP API, MCP server, and terminal UI. It helps compatible coding agents retain project decisions, bugs, conventions, and other useful context across sessions. The catalogue add-ons configure and operate Engram’s memory workflows.

Gentleman-Programming/engram · 7,438 stars · on GitHub · engram.gentlemanprogramming.com

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Gentleman-Programming/engram
agentmods
npx agentmods add skills/gentleman-programming/engram/branch-pr

Made for: Claude Code, Codex.

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 engram-branch-pr

README.md
[![agentmods](https://agentmods.dev/badge/skills/gentleman-programming/engram/branch-pr/github.svg)](https://agentmods.dev/skills/gentleman-programming/engram/branch-pr)
Your own site
<a href="https://agentmods.dev/skills/gentleman-programming/engram/branch-pr"><img src="https://agentmods.dev/badge/skills/gentleman-programming/engram/branch-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 engram-branch-pr

Your own site · 80×15
<a href="https://agentmods.dev/skills/gentleman-programming/engram/branch-pr"><img src="https://agentmods.dev/badge/skills/gentleman-programming/engram/branch-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,469 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
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.00037 $0.02469
Opus 5.5 $0.00015 $0.00988
Sonnet 5.5 $0.00007 $0.00494
Haiku 4.5 $0.00004 $0.00247

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

Security

Grade A, and why

engram-branch-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 4d 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.

skills/branch-pr/SKILL.md · 238 lines

How it starts

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

When to Use

Use this skill when:

  • Creating a pull request for any change
  • Preparing a branch for submission
  • Helping a contributor open a PR

Critical Rules

  1. Every PR MUST link an approved issue — no exceptions
  2. Every PR MUST have exactly one type:* label
  3. All required automated checks must pass before merge is possible
  4. Blank PRs without issue linkage will be blocked by GitHub Actions

Workflow

1. Verify every linked issue has `status:approved`, a real assignee, and the proportional evidence defined in CONTRIBUTING.md; the PR author need not match the assignee
2. Create branch: feat/*, fix/*, docs/*, refactor/*, chore/*
3. Implement changes
4. For behavior changes, run a focused regression test and affected package tests locally; record commands and outcomes. For docs-only changes, record N/A for Go tests and verify the documentation.
5. Check every changed path against the [Transient Artifact Policy](../../CONTRIBUTING.md#transient-artifact-policy)
6. Open PR using the template
7. Add exactly one type:* label
8. After pushing/opening the PR, wait for GitHub CI's full unit/E2E/lint and applicable platform checks; report results only after they run

Branch Naming (enforced by GitHub ruleset)

Branch names are validated by a GitHub ruleset. Pushes that don't match will be rejected.

Pattern: ^(feat|fix|chore|docs|style|refactor|perf|test|build|ci|revert)\/[a-z0-9._-]+$

Type Branch pattern Example
Feature feat/<description> feat/json-export-command
Bug fix fix/<description> fix/duplicate-observation-insert
Chore chore/<description> chore/bump-bubbletea-v0.26
Docs docs/<description> docs/api-reference-update
Style style/<description> style/fix-tui-alignment
Refactor refactor/<description> refactor/extract-query-sanitizer
Performance perf/<description> perf/optimize-fts5-queries
Test test/<description> test/add-sync-coverage
Build build/<description> build/update-go-toolchain
CI ci/<description> ci/split-e2e-job
Revert revert/<description> revert/broken-migration

Read the full file on GitHub · 238 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. 4d ago Changed · +2 lines 18e8be4d25d7
  2. 23d ago Changed · +11 lines bd3da52bbc80
  3. 1mo ago Changed · +5 lines d09a17528fac
  4. 1mo ago First seen · 220 lines · 37 tokens per session scan A c0f64832551c

Subscribe to this mod's changes

engram-branch-pr is a skill published in the GitHub repository Gentleman-Programming/engram (7,438 stars, last pushed yesterday), licensed MIT. It adds 37 tokens to every session and 2,469 once invoked, about $0.0001 per session on Opus 5.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

review-implement-phase

Implements triaged review actions, commits focused fixes, and posts Done plus resolves threads. Use when the user wants only the implementation phase of the review-framework workflow.

prisma/orm · 38 tokens

pr

Draft a PR body from OMC's paper trail — the smallest visual that proves the change, evidence consumed from the verify protocol (never re-collected), reversibility from the ADR test on the diff, glossary language throughout.

Yeachan-Heo/oh-my-claudecode · 47 tokens

merge-batch

Prepare and merge an owner-selected PR batch with contributor credit and exact-candidate admission. Use for a pasted PR list; combined focused validation is diagnostic, and every actual landing still requires its applicable checks and authorization.

diegosouzapw/OmniRoute · 46 tokens

otto-pr-review-loop

Run Polly and OCR on a PR until all findings settle.

omnigent-ai/omnigent · 17 tokens

verify-behavior

Verify or reproduce visible product behavior by driving the real UI with pi-computer-use's checked tools, requiring verified expect postconditions and durable state evidence for meaningful UI flows. Use when triage needs visual reproduction, implementation needs behavioral proof, review needs interactive confirmation…

nicknisi/dotfiles · 68 tokens

github-contributor

A step-by-step guide for contributing code, tests, documentation, or build changes to open-source projects you do not maintain. It explains how to prepare a pull request that follows the project’s rules and is easier for maintainers to review.

daymade/claude-code-skills · 105 tokens