docs-affected-by-branch

docs-affected-by-branch is a skill for Claude Code from dimagi/commcare-android. It costs 52 tokens per session (1,056 once invoked), scanned A, original, Apache-2.0.

A guide for finding Confluence documentation affected by changes on a code branch. Confluence is a website for storing team documentation, while a branch is a separate line of code changes that may become a pull request.

In plain words
What is it for?
Use it before or after opening a pull request to report which documentation pages need changes and what each change should contain.
Why use it?
It helps identify documentation that is outdated because of a code change and explains what to update when Jira or Confluence access is unavailable.

Skill for Claude Code

Written for Claude Code: disallowed-tools in frontmatter.

Good fit Use it before or after opening a pull request to report which documentation pages need changes and what each change should contain.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dimagi/commcare-android/docs-affected-by-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 dimagi/commcare-android --skill docs-affected-by-branch
Clone the repo
git clone --depth 1 https://github.com/dimagi/commcare-android

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 docs-affected-by-branch

README.md
[![agentmods](https://agentmods.dev/badge/skills/dimagi/commcare-android/docs-affected-by-branch/github.svg)](https://agentmods.dev/skills/dimagi/commcare-android/docs-affected-by-branch)
Your own site
<a href="https://agentmods.dev/skills/dimagi/commcare-android/docs-affected-by-branch"><img src="https://agentmods.dev/badge/skills/dimagi/commcare-android/docs-affected-by-branch/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 docs-affected-by-branch

Your own site · 80×15
<a href="https://agentmods.dev/skills/dimagi/commcare-android/docs-affected-by-branch"><img src="https://agentmods.dev/badge/skills/dimagi/commcare-android/docs-affected-by-branch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,056 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.00052 $0.01056
Opus 5.5 $0.00021 $0.00422
Sonnet 5.5 $0.00010 $0.00211
Haiku 4.5 $0.00005 $0.00106

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

Security

Grade A, and why

docs-affected-by-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 5d 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/docs-affected-by-branch/SKILL.md · 102 lines

How it starts

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

Docs Affected by Branch

Find the Confluence pages the current branch makes out of date and list the edits each one needs. The code is the local checkout — don't clone anything.

Read confluence-docs.md first. Steps 4 and 5 use it.

Step 1: Check Atlassian access

Check whether the Atlassian MCP tools for Jira and Confluence are available. The later steps say what to do in each case.

If they are not available, tell the user before going further: you can't read Jira or Confluence, so you will ask them for the ticket's documentation links and for the pages that cover the change, and the report will list what changed for each page instead of exact edits.

Step 2: Get the ticket

Run gh pr view --json body,baseRefName to see whether the branch has a PR. Then take the ticket from the first of these that applies:

  1. A ticket was passed as an argument — use it. "none" means there is no ticket.
  2. The branch has a PR whose description links a Jira ticket — use that ticket.
  3. Otherwise — ask the user for the Jira ticket key or URL. There may not be one, so accept "none".

If there is a ticket, collect the Confluence pages it links: its Documentation to Update list, or any Confluence links in its description. These are the pages the ticket expects to change.

  • With Atlassian access: fetch the ticket and read the links from it.
  • Without it: ask the user to paste the ticket's documentation links. Accept "none".

If the PR exists and its description has a Documentation section, collect the pages listed there too.

Step 3: Read the change

Diff the branch against its base, where <base> is the PR's baseRefName, or main when there is no PR. Fetch first so the base is current:

git fetch origin <base>
git diff origin/<base>...HEAD

From the diff, collect the things a user can see or rely on: page and button labels, column headers, status names, error and notification strings, CSV column names, permissions, limits, and the names of new or changed features. Ignore refactors, tests and internal code that changes no behaviour.

Read the full file on GitHub · 102 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 5d ago First seen · 102 lines · 52 tokens per session scan A dca6f65a527a

Subscribe to this mod's changes

docs-affected-by-branch is a skill published in the GitHub repository dimagi/commcare-android (48 stars, last pushed yesterday), licensed Apache-2.0. It adds 52 tokens to every session and 1,056 once invoked, about $0.0002 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-11-15.

Related

docs-affected-by-branch compared with skills from other repositories

docs-affected-by-branch next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
docs-affected-by-branchdimagi/commcare-androidSkill48yesterdayApache-2.0A52Claude Code
engineer-bot-getting-startedmakecindy/cindySkill10ktodayApache-2.0A44Claude Code, Codex
engineer-bot-opsmakecindy/cindySkill10ktodayApache-2.0A57Claude Code, Codex
shepherdchrisbanes/skillsSkill1.2kyesterdayApache-2.0A37Claude Code, Codex
release-kotlin-librarychrisbanes/skillsSkill1.2kyesterdayApache-2.0A46Claude Code
changelogchrisbanes/skillsSkill1.2kyesterdayApache-2.0A39Claude Code
release-new-versionniki914/zafiroSkill3812d agoMITA48Claude Code, Codex