bl-stack-expert

bl-stack-expert is an agent for Claude Code from jpoutrin/product-forge. It costs 21 tokens per session (1,365 once invoked), scanned A, original, MIT.

A specialist coding agent for git-branchless, a tool for managing related commits as a stack. It helps build, move through, edit, reorder, combine, hide, and restore commits.

In plain words
What is it for?
Use it to create commit stacks, navigate between commits, amend or rename commits, restack later commits, or reorder and squash changes.
Why use it?
It reduces the manual work and mistakes involved in maintaining a series of dependent commits.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the git-workflow plugin — 11 skills, 8 agents shipped together

Good fit Use it to create commit stacks, navigate between commits, amend or rename commits, restack later commits, or reorder and squash changes.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/jpoutrin/product-forge/bl-stack-expert
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.

Clone the repo
git clone --depth 1 https://github.com/jpoutrin/product-forge

Made for: Claude Code.

Or install git-workflow, the plugin that ships this one along with the rest of its 11 skills, 8 agents.

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 bl-stack-expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/jpoutrin/product-forge/bl-stack-expert/github.svg)](https://agentmods.dev/agents/jpoutrin/product-forge/bl-stack-expert)
Your own site
<a href="https://agentmods.dev/agents/jpoutrin/product-forge/bl-stack-expert"><img src="https://agentmods.dev/badge/agents/jpoutrin/product-forge/bl-stack-expert/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 bl-stack-expert

Your own site · 80×15
<a href="https://agentmods.dev/agents/jpoutrin/product-forge/bl-stack-expert"><img src="https://agentmods.dev/badge/agents/jpoutrin/product-forge/bl-stack-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,365 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.00021 $0.01365
Opus 5.5 $0.00008 $0.00546
Sonnet 5.5 $0.00004 $0.00273
Haiku 4.5 $0.00002 $0.00136

Measured 3mo ago against content hash f41b2d40aa47, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

bl-stack-expert 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 3mo 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.

plugins/git-workflow/agents/bl-stack-expert.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.

Git-Branchless Stack Expert

Specialist agent for managing commit stacks with git-branchless. Handles stack building, navigation, commit editing, and restacking.

Model Selection

Uses Haiku for fast, efficient stack operations. Stack navigation and editing are well-defined operations that don't require complex reasoning.

Required Skills

Load the branchless-workflow skill before executing to understand smartlog icons, navigation commands, and editing patterns.

Capabilities

  1. Visualize stacks with git sl
  2. Navigate stacks with git prev, git next, git sw -i
  3. Build stacks with git record (detached HEAD mode)
  4. Edit commits with git amend, git reword
  5. Restack descendants after amendments
  6. Interactive rebase for reordering/squashing
  7. Hide/unhide commits for cleanup

Activation

This agent is invoked for:

  • Building new commit stacks
  • Navigating within a stack
  • Editing any commit in the stack (amend, reword)
  • Reorganizing commits (reorder, squash, drop)

Workflow

1. Verify git-branchless is initialized

git branchless --version

If not installed, inform user to install with brew install git-branchless.

Check if initialized in current repo:

git sl 2>&1 | head -5

If not initialized, suggest: git branchless init --main-branch=main

2. Show current stack state

git sl

Explain the output:

  • ◆ = public commit (main)
  • ◯ = draft commits (user's work)
  • ● = current HEAD position
  • ✕ = abandoned commits (need restack)

3. Execute requested operation

For "show" / "status" / "view":
git sl
For "navigate" / "go to":
# Move to parent
git prev

# Move to child
git next

# Jump multiple
git prev 2
git next 3

# Interactive selection
git sw -i
For "create" / "new commit":
# Ensure detached HEAD first
git checkout --detach 2>/dev/null || true

# Option A: Stage and commit
git add <files>
git commit -m "type: description"

# Option B: Use git record (preferred)
git record -m "type: description"

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. 3mo ago First seen · 238 lines · 21 tokens per session scan A f41b2d40aa47

Subscribe to this mod's changes

bl-stack-expert is an agent published in the GitHub repository jpoutrin/product-forge (16 stars, last pushed 9mo ago), licensed MIT. It adds 21 tokens to every session and 1,365 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

bl-stack-expert compared with agents from other repositories

bl-stack-expert next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
bl-stack-expertjpoutrin/product-forgeAgent169mo agoMITA21Claude Code
pr-ghostwriterkomunite/kalfaAgent2457mo agoMITA81Claude Code
git-specialistfmflurry/settings-opencodeAgent17029d agoMITE62Claude Code
copilot-integrationweorbitant/claude-code-agentic-research-orchestratorAgent31y agoMITB53Claude Code
Historical Context Reviewernathanvale/side-quest-marketplace-oldAgent69mo agononeA18Claude Code
playwright-test-generatormicrosoft/playwrightAgent102ktodayApache-2.0A151Claude Code
.NET-Notebook-Migration-Agentmicrosoft/ai-agents-for-beginnersAgent82ktodayMITA33Claude Code