onboard-branch

onboard-branch is a skill for Claude Code from jackfranklin/dotfiles. It costs 45 tokens per session (863 once invoked), scanned A, original, MIT.

A workflow for understanding the current state of a Git branch before continuing work. A branch is a separate line of changes in a Git project.

In plain words
What is it for?
Use it to inspect branch history, differences, uncommitted files, and handoff information, then identify questions that need clarification.
Why use it?
It helps a new agent see recent commits, unfinished edits, and previous handoff notes before making further changes.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Good fit Use it to inspect branch history, differences, uncommitted files, and handoff information, then identify questions that need clarification.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jackfranklin/dotfiles/onboard-branch
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 jackfranklin/dotfiles --skill onboard-branch
Clone the repo
git clone --depth 1 https://github.com/jackfranklin/dotfiles

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 onboard-branch

README.md
[![agentmods](https://agentmods.dev/badge/skills/jackfranklin/dotfiles/onboard-branch.svg)](https://agentmods.dev/skills/jackfranklin/dotfiles/onboard-branch)
Your own site
<a href="https://agentmods.dev/skills/jackfranklin/dotfiles/onboard-branch"><img src="https://agentmods.dev/badge/skills/jackfranklin/dotfiles/onboard-branch.svg" alt="Measured on agentmods" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 863 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to high

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 →

  • high Memory Poisoning · line 68
    Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.
    Fix: Protect agent memory and state from modification by untrusted content. Use read-only memory for critical instructions and validate all state changes.
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.00045 $0.00863
Opus 5 $0.00023 $0.00432
Sonnet 5 $0.00009 $0.00173
Haiku 4.5 $0.00005 $0.00086

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

Security

Grade A, and why

onboard-branch 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 8d 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.

claude/skills/onboard-branch/SKILL.md · 79 lines

How it starts

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

Onboard Branch

Use this skill when you want a fresh agent to get up to speed on the current Git branch and pick up work where a previous agent or session left off.

IMPORTANT: DO NOT run any tests or compiler.

Assume that the project is valid. You will be told if anything is failing.

Step 1: Gather Git Context

Run the following commands to understand the current Git state:

  1. Current Branch:

    git branch --show-current
    
  2. Recent Commits: Find commits unique to this branch. Attempt to identify the base branch (origin/main, origin/master, main, or master) and log the commits:

    # Find merge base and log commits unique to branch; fallback to last 5 commits if range is invalid
    git log --oneline --graph $(git merge-base HEAD origin/main 2>/dev/null || git merge-base HEAD main 2>/dev/null || git merge-base HEAD origin/master 2>/dev/null || git merge-base HEAD master 2>/dev/null)..HEAD 2>/dev/null || git log --oneline --graph -n 5
    

    Note: If the commit history is tangled, no base branch is found, or it is unclear which commits represent the current work, ask the user directly.

  3. Uncommitted Changes Status:

    git status --porcelain
    
  4. Capture Full Diff: Get the diff of all changes (committed on this branch + uncommitted) against the base branch:

    # Resolve the base commit
    BASE_COMMIT=$(git merge-base HEAD origin/main 2>/dev/null || git merge-base HEAD main 2>/dev/null || git merge-base HEAD origin/master 2>/dev/null || git merge-base HEAD master 2>/dev/null || git rev-parse HEAD~1 2>/dev/null || echo HEAD)
    
    # 1. Run stats first to check scale of changes
    git diff --stat $BASE_COMMIT
    
    # 2. Capture diff. If --stat shows a large diff (e.g. > 500 lines or > 10 files),
    # check files of interest individually instead of dumping the whole diff.
    git diff $BASE_COMMIT
    

Step 2: Look for Handoffs or Active Plans

Check if there are any active plans or handoffs in the project root that might provide high-level context:

Read the full file on GitHub · 79 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. 8d ago First seen · 79 lines · 45 tokens per session scan A 0252df887b9d

Subscribe to this mod's changes

onboard-branch is a skill published in the GitHub repository jackfranklin/dotfiles (254 stars, last pushed 6d ago), licensed MIT. It adds 45 tokens to every session and 863 once invoked, about $0.0002 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

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