claude-sdk-rs: Skill for Claude Code

.agents/skills/commit-in-this-fleet/SKILL.md

commit-in-this-fleet is a skill for Claude Code, Codex from bredmond1019/claude-sdk-rs. It costs 117 tokens per session (1,408 once invoked), scanned A, original, Apache-2.0.

A Git commit guide for a shared fleet where one repository owns planning files used by several agent sessions. It explains how symlinks and worktrees affect which files a commit includes.

In plain words
What is it for?
Use it when selecting files for a commit, checking which repository owns them, or working with shared planning directories and symlinks.
Why use it?
It prevents a commit from accidentally staging or overwriting another session's unfinished work. It also explains why common commands such as git add -A are unsafe in this setup.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is bredmond1019/claude-sdk-rs's own configuration. It tells Claude Code and Codex how to work on claude-sdk-rs 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 claude-sdk-rs configures →

Reuse

Borrowing it

Nothing to install: this file belongs to bredmond1019/claude-sdk-rs. 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/bredmond1019/claude-sdk-rs/main/.agents/skills/commit-in-this-fleet/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/bredmond1019/claude-sdk-rs

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 commit-in-this-fleet

README.md
[![agentmods](https://agentmods.dev/badge/skills/bredmond1019/claude-sdk-rs/commit-in-this-fleet/github.svg)](https://agentmods.dev/skills/bredmond1019/claude-sdk-rs/commit-in-this-fleet)
Your own site
<a href="https://agentmods.dev/skills/bredmond1019/claude-sdk-rs/commit-in-this-fleet"><img src="https://agentmods.dev/badge/skills/bredmond1019/claude-sdk-rs/commit-in-this-fleet/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 commit-in-this-fleet

Your own site · 80×15
<a href="https://agentmods.dev/skills/bredmond1019/claude-sdk-rs/commit-in-this-fleet"><img src="https://agentmods.dev/badge/skills/bredmond1019/claude-sdk-rs/commit-in-this-fleet.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 117 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,408 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.00117 $0.01408
Opus 5.5 $0.00047 $0.00563
Sonnet 5.5 $0.00023 $0.00282
Haiku 4.5 $0.00012 $0.00141

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

Security

Grade A, and why

commit-in-this-fleet 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 11d 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.

.agents/skills/commit-in-this-fleet/SKILL.md · 112 lines

How it starts

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

Committing in this fleet

Paths below are relative to the brain root — the directory containing brain.toml, found by walking up from wherever you are. This skill is synced into every repo, so a repo-relative link would be wrong in most of them.

Committing here is not ordinary git. One repo owns every planning/ directory in the fleet, and several agents write to it at once. The default git verbs are wrong by construction.

The one fact everything else follows from

Every planning/ dir — including every core/<repo>/planning — is a symlink into core/_planning/<repo>/, tracked by the single HQ repo. Check it and see:

git -C core/bastion/planning rev-parse --show-toplevel   # -> agentic-portfolio, NOT bastion

So a sub-repo working tree spans two git repos: the repo's own files, and HQ's planning vault. git status in the sub-repo shows you one of them. That is the whole trap.

The rules

1. Never git add -A, git add ., git reset, or git stash here

Not style — these stage the whole index, which includes any other session's in-flight work in the shared vault. This has happened repeatedly and is recorded as a fleet trap (bastion-web:emit-state-rewrites-sibling-repos): one lane's emit-state run modified core/_planning/bastion/state.json, core/_planning/engine-rs/state.json, README.md and client/_planning/brazilianportugui/status.md, several carrying other sessions' uncommitted work — a new block, a dependency-edge removal, hand-written focus prose. A bare git add -A after that sweeps all of it into your commit.

Always commit with an explicit pathspec:

git commit -o <path1> <path2> -m "..."

2. -o commits only ALREADY-TRACKED changes under those paths

This is the part that looks like it worked and did not. Measured behaviour:

Situation What happens
Path has tracked modifications Committed. Correct.
Path contains new, untracked files They are not committed. No error if some other tracked file matched the same pathspec — the commit succeeds and looks complete.
No tracked file matches the pathspec at all error: pathspec '<p>' did not match any file(s) known to git and nothing is committed — not even the other paths on the same command line.

Read the full file on GitHub · 112 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. 11d ago First seen · 112 lines · 117 tokens per session scan A 7906b88aae7b

Subscribe to this mod's changes

commit-in-this-fleet is a skill published in the GitHub repository bredmond1019/claude-sdk-rs (23 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 117 tokens to every session and 1,408 once invoked, about $0.0005 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.

Related

commit-in-this-fleet compared with skills from other repositories

commit-in-this-fleet next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
commit-in-this-fleetbredmond1019/claude-sdk-rsSkill231mo agoApache-2.0A117Claude Code, Codex
create-prprisma/ormSkill48kyesterdayApache-2.0A48Claude Code, Codex
git-commitThinkInAIXYZ/deepchatSkill6.4kyesterdayApache-2.0A15Claude Code, Codex
repo-syncdavidondrej/skillsSkill4.3k3d agoMITA25Claude Code, Codex
engineer-bot-opsmakecindy/cindySkill9.3ktodayApache-2.0A57Claude Code, Codex
mcore-split-prNVIDIA/skillsSkill3.9kyesterdayApache-2.0A25Claude Code
contributingHugoRCD/evlogSkill1.9k12d agoMITA68Claude Code, Codex