code-brain: Skill for Claude Code

.agents/skills/source-command-cb-upgrade/SKILL.md

source-command-cb-upgrade is a skill for Claude Code, Codex from ezBuilder/code-brain. It costs 24 tokens per session (185 once invoked), scanned A, original, Apache-2.0.

A command that applies the latest version of a migrated source repository to CodeBrain, a coding-agent setup.

In plain words
What is it for?
Use it when asked to run the CodeBrain upgrade command and apply the newest public repository reference.
Why use it?
It provides a defined way to update the local source and tells you when a new agent session is needed for the changes to take effect.

Skill for Claude CodeCodex

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

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

Reuse

Borrowing it

Nothing to install: this file belongs to ezBuilder/code-brain. 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/ezBuilder/code-brain/main/.agents/skills/source-command-cb-upgrade/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ezBuilder/code-brain

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 source-command-cb-upgrade

README.md
[![agentmods](https://agentmods.dev/badge/skills/ezbuilder/code-brain/source-command-cb-upgrade/github.svg)](https://agentmods.dev/skills/ezbuilder/code-brain/source-command-cb-upgrade)
Your own site
<a href="https://agentmods.dev/skills/ezbuilder/code-brain/source-command-cb-upgrade"><img src="https://agentmods.dev/badge/skills/ezbuilder/code-brain/source-command-cb-upgrade/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 source-command-cb-upgrade

Your own site · 80×15
<a href="https://agentmods.dev/skills/ezbuilder/code-brain/source-command-cb-upgrade"><img src="https://agentmods.dev/badge/skills/ezbuilder/code-brain/source-command-cb-upgrade.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 185 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.00024 $0.00185
Opus 5.5 $0.00010 $0.00074
Sonnet 5.5 $0.00005 $0.00037
Haiku 4.5 $0.00002 $0.00018

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

Security

Grade A, and why

source-command-cb-upgrade 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 2mo 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/source-command-cb-upgrade/SKILL.md · 18 lines

What it actually says

source-command-cb-upgrade

Use this skill when the user asks to run the migrated source command cb-upgrade.

Command Template

.ai/bin/ai upgrade latest --json 실행. 네트워크와 파일 갱신을 수행하는 명시적 명령이다. 성공 후 새 Claude/Codex/Antigravity 세션을 열어야 새 규칙이 적용된다.

출력 규칙:

  • ok=true: 코드브레인 업그레이드 완료 — 새 세션 필요
  • ok=false: 코드브레인 업그레이드 실패 — {error}
  • 표·박스·이모지·코드블록·추가 해설 금지.
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. 2mo ago First seen · 18 lines · 24 tokens per session scan A 6607646dca6e

Subscribe to this mod's changes

source-command-cb-upgrade is a skill published in the GitHub repository ezBuilder/code-brain (11 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 24 tokens to every session and 185 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

Other skills, from other repositories

release-checker

Use before claiming tests pass, a build succeeds, a bug is fixed, requirements are met, or a release/PR is ready to ship. Demands fresh verification evidence instead of assumptions, confidence, or previous runs.

beingmartinbmc/jambavan · 48 tokens

conventional-git

Conventional Commits v1.0.0 branch naming and commit message standards for GitHub and GitLab projects. Use when creating branches, writing commits, generating commit messages, reviewing branch conventions, or setting up changelog automation. Apply when your project needs consistent git history, SemVer-driven releases…

hssh8917/cc-skills · 77 tokens

github

GitHub operations via gh CLI: issues, PRs, CI runs, code review, API queries.

AIOSAI/AIPass · 23 tokens

branch_health

Quick health check -- test counts and file stats for AIPass branches.

AIOSAI/AIPass · 17 tokens

version-control-strategy

Define version control for design files, components, and libraries — branching, naming, and release. Use when file history is chaotic. For design system contribution rules, use design-system-governance (design-systems).

Owl-Listener/designer-skills · 50 tokens

github-ops

GitHub remote operations and README authoring: repo creation, metadata, releases, issue/PR management with preview-before-send, README as a landing page (badge row, features-as-benefits, screenshots, Recent Updates), and read-only security auditing. Triggers on: write a README, improve the README, README badges…

0xDarkMatter/claude-mods · 105 tokens