btrace: Skill for Claude Code

.claude/skills/steward/SKILL.md

steward is a skill for Claude Code from btraceio/btrace. It costs 56 tokens per session (963 once invoked), scanned A, original, Apache-2.0.

A workflow for taking a pull request from review to a passing state. A pull request is a proposed code change, and CI is the automated build and test system that checks it.

In plain words
What is it for?
It is for triaging CI failures, responding to reviews, handling Renovate dependency updates, running affected checks, and preparing a pull request to merge.
Why use it?
It provides repository-specific rules for investigating failures, handling review follow-up, and knowing when a change is actually verified.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions AGENTS.md.

This is btraceio/btrace's own configuration. It tells Claude Code how to work on btrace itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything btrace configures →

About the project

BTrace is a Java diagnostic tool that dynamically inserts tracing into running Java applications without restarting or recompiling them. Java developers and operations teams use it to inspect methods, timings, fields, allocations, and other runtime behavior in production environments. Catalogue add-ons provide instructions for using BTrace.

btraceio/btrace · 5,997 stars · on GitHub

Reuse

Borrowing it

Nothing to install: this file belongs to btraceio/btrace. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/btraceio/btrace/develop/.claude/skills/steward/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/btraceio/btrace

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 steward

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/btraceio/btrace/steward"><img src="https://agentmods.dev/badge/skills/btraceio/btrace/steward.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 963 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.00056 $0.00963
Opus 5.5 $0.00022 $0.00385
Sonnet 5.5 $0.00011 $0.00193
Haiku 4.5 $0.00006 $0.00096

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

Security

Grade A, and why

steward 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 3d 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/steward/SKILL.md · 42 lines

How it starts

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

Stewarding a BTrace pull request

Repository rules in AGENTS.md apply throughout; this file adds only what is specific to driving a PR.

Branches and merging

  • PRs target develop. They are squash-merged, so the PR title becomes the commit subject: use a Conventional Commits title (fix(agent): ..., build: ..., chore(deps): ...).
  • On a branch you created, bring develop in with a merge commit once the PR is open; do not force-push a branch a reviewer has already looked at.

Before every push

  • Run what the change can affect: spotlessCheck and the changed modules' tests, with output redirected to a log as AGENTS.md describes.
  • Configuring the root build needs a JDK 8 toolchain (common.gradle resolves it eagerly), and btrace-agent needs a JDK 24 toolchain to compile its java24 source set and a JDK 28 launcher for classFileApiBackendTest, which check depends on. If a required JDK is unavailable locally, Gradle cannot verify the change: say so in the PR's Testing section instead of ticking the box, and treat the PR's CI as the check.
  • Golden instrumentation data in btrace-agent/src/test/resources/instrumentorTestData/ is regenerated only with ./gradlew test -PupdateTestData, and only for an intentional instrumentation change. Never edit it by hand, and never regenerate it to make an unexplained diff go away.

CI triage

  • spotlessCheck failing on files the PR did not touch means the formatter changed, not the code. An unpinned googleJavaFormat() in gradle/spotless.gradle follows the Spotless plugin's default, so a Spotless bump can move it; check whether the formatter pin or the Spotless plugin version moved before running spotlessApply across the tree.
  • Cannot find a Java installation ... matching: {languageVersion=N} means a workflow no longer installs a JDK the build needs. The setup-java steps in .github/workflows/ are toolchain requirements (JDK 24 feeds btrace-agent's java24 source set); restore the step rather than changing the build.
  • JUnit resolving a JDK 17+ artifact for a JVM 8 configuration means the JUnit 5.14.4 pin was bumped. btrace-agent and integration-tests compile tests with a JDK 8 javac, and btrace-gradle-plugin keeps Java 8-compatible test dependencies; the pin is intentional.
  • Maven Central can answer 429 Too Many Requests during dependency resolution. That is an infrastructure failure: one re-run is justified; a second identical failure needs reporting, not more re-runs.

Read the full file on GitHub · 42 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. 3d ago First seen · 42 lines · 56 tokens per session scan A 4dcf4e7cfa6d

Subscribe to this mod's changes

steward is a skill published in the GitHub repository btraceio/btrace (5,997 stars, last pushed yesterday), licensed Apache-2.0. It adds 56 tokens to every session and 963 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-10-26.