Setup
Prorise-cool/Claude-Code-Multi-Agent
Complete guide to installing Git and performing basic configuration across all platforms (Windows, macOS, Linux, WSL).
Analyze all changes in the current git branch and update CLAUDE.md if architectural or important changes warrant it.
$ npx skills add MikalaiBarysevich/CleverSwitch --skill update-claude-md -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install MikalaiBarysevich/CleverSwitch update-claude-md --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/MikalaiBarysevich/CleverSwitch.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/update-claude-md .claude/skills/update-claude-md && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "update-claude-md" agent skill from https://github.com/MikalaiBarysevich/CleverSwitch/tree/main/.claude/skills/update-claude-md into .claude/skills/update-claude-md/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "update-claude-md", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/MikalaiBarysevich/CleverSwitch/tree/main/.claude/skills/update-claude-mdType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add MikalaiBarysevich/CleverSwitch --skill update-claude-md -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install MikalaiBarysevich/CleverSwitch update-claude-md --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/MikalaiBarysevich/CleverSwitch.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/update-claude-md .agents/skills/update-claude-md && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "update-claude-md" agent skill from https://github.com/MikalaiBarysevich/CleverSwitch/tree/main/.claude/skills/update-claude-md into .agents/skills/update-claude-md/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "update-claude-md", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add MikalaiBarysevich/CleverSwitch --skill update-claude-md -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install MikalaiBarysevich/CleverSwitch update-claude-md --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/MikalaiBarysevich/CleverSwitch.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/update-claude-md .cursor/skills/update-claude-md && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "update-claude-md" agent skill from https://github.com/MikalaiBarysevich/CleverSwitch/tree/main/.claude/skills/update-claude-md into .cursor/skills/update-claude-md/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "update-claude-md", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/MikalaiBarysevich/CleverSwitch.git --path .claude/skills/update-claude-md--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add MikalaiBarysevich/CleverSwitch --skill update-claude-md -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install MikalaiBarysevich/CleverSwitch update-claude-md --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/MikalaiBarysevich/CleverSwitch.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/update-claude-md .gemini/skills/update-claude-md && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "update-claude-md" agent skill from https://github.com/MikalaiBarysevich/CleverSwitch/tree/main/.claude/skills/update-claude-md into .gemini/skills/update-claude-md/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "update-claude-md", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install MikalaiBarysevich/CleverSwitch update-claude-mdInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add MikalaiBarysevich/CleverSwitch --skill update-claude-md -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/MikalaiBarysevich/CleverSwitch.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/update-claude-md .github/skills/update-claude-md && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "update-claude-md" agent skill from https://github.com/MikalaiBarysevich/CleverSwitch/tree/main/.claude/skills/update-claude-md into .github/skills/update-claude-md/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "update-claude-md", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add MikalaiBarysevich/CleverSwitch --skill update-claude-md -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install MikalaiBarysevich/CleverSwitch update-claude-md --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/MikalaiBarysevich/CleverSwitch.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/update-claude-md .opencode/skills/update-claude-md && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "update-claude-md" agent skill from https://github.com/MikalaiBarysevich/CleverSwitch/tree/main/.claude/skills/update-claude-md into .opencode/skills/update-claude-md/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "update-claude-md", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
update-claude-mdAnalyze all changes in the current git branch and update CLAUDE.md if architectural or important changes warrant it.
Update Claude Md is an agent skill from MikalaiBarysevich/CleverSwitch. Analyze all changes in the current git branch and update CLAUDE.md if architectural or important changes warrant it. Use this skill when the user asks to update CLAUDE.md, sync docs with branch changes, review what changed architecturally, or before creating a PR to ensure documentation is current. Also trigger when the user says things like "update docs for this branch", "does CLAUDE.md need updating", or "what architectural changes did we make".
Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Agent Workflows, covering Agent instruction files and Git workflow. It works with Linux and macOS. The repository describes itself as: A CLI tool to synchronize host switching across multiple Logitech devices. The licence is GPL-3.0.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit de0a4f4. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gitFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Update Claude Md loads about 1.2k tokens when it runs. Until then it costs about 117 tokens; SKILL.md has 539 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from MikalaiBarysevich/CleverSwitch at commit de0a4f4, republished under its GPL-3.0 licence (© MikalaiBarysevich). 539 words, ~1,243 tokens.
.claude/skills/update-claude-md/SKILL.md (or your agent's skills folder).Analyze changes in the current branch and update CLAUDE.md to reflect any architectural or important changes that Claude needs to know about in future sessions.
CLAUDE.md is loaded into every conversation. It's the primary way Claude understands project architecture, conventions, and gotchas. When it's stale, Claude makes wrong assumptions. When it's bloated, Claude ignores important rules. The goal is to keep it accurate, concise, and useful.
Find the parent branch — the branch the current one was forked from. Walk the first-parent history looking for the first commit that belongs to another local branch:
current=$(git rev-parse --abbrev-ref HEAD)
# Walk first-parent commits, find the first one tagged with another branch name
parent=""
for sha in $(git rev-list --first-parent HEAD); do
branches=$(git branch --contains "$sha" --format='%(refname:short)' | grep -v "^${current}$" | head -1)
if [ -n "$branches" ]; then
parent="$branches"
break
fi
done
# Fallback: if nothing found, use main
parent="${parent:-main}"
echo "Parent branch: $parent"Then gather the full scope of changes:
git diff $parent...HEAD --name-status
git diff $parent...HEAD --stat
git log $parent..HEAD --oneline
git diff $parent...HEADRead the current CLAUDE.md to understand what's already documented.
Go through each changed file and classify it. Only the first category needs CLAUDE.md updates:
Warrants update — things Claude can't figure out by reading current code:
Does NOT warrant update — Claude can infer these from code:
When updating CLAUDE.md, follow these principles:
Edit existing sections, don't append. If the subscriber list changed, update it in place. If a config section was removed, delete its mention. Never create a "Recent changes" or changelog section — CLAUDE.md describes current state, not history.
Remove stale content. Outdated information actively misleads Claude — it's worse than a gap. If something was removed or changed, delete or rewrite the old description.
Keep it scannable. Each line should pass the test: "Would removing this cause Claude to make mistakes?" If not, don't add it. A bloated CLAUDE.md causes Claude to ignore important rules.
What belongs vs what doesn't:
| Include | Exclude |
|---|---|
| Bash commands Claude can't guess | Anything derivable from reading code |
| Code style rules differing from defaults | Standard language conventions |
| Testing instructions and preferred runners | Detailed API documentation |
| Architectural decisions specific to project | File-by-file codebase descriptions |
| Developer environment quirks | Frequently changing information |
| Common gotchas or non-obvious behaviors | Self-evident practices |
Match existing tone and structure. Write in the same style as the current CLAUDE.md — same heading levels, detail level, and formatting.
Present a summary to the user before editing:
Wait for user approval before making edits.
After editing, re-read the full CLAUDE.md and verify:
© MikalaiBarysevich, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/update-claude-md of MikalaiBarysevich/CleverSwitch.
Open the folder on GitHubat commit de0a4f4
Update Claude Md next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Update Claude Md this skillMikalaiBarysevich/CleverSwitch | 117 | — | ~1.2k | Automated safety check: Pass | GPL-3.0 | |
| SetupProrise-cool/Claude-Code-Multi-Agent | 306 | — | ~3k | Automated safety check: Notes | None | |
| Git ConfigProrise-cool/Claude-Code-Multi-Agent | 306 | — | ~4.4k | Automated safety check: Notes | None | |
| Gui ToolsProrise-cool/Claude-Code-Multi-Agent | 306 | — | ~2.4k | Automated safety check: Notes | None | |
| Line EndingsProrise-cool/Claude-Code-Multi-Agent | 306 | — | ~3.1k | Automated safety check: Notes | None | |
| Tapd Iteration InitTencentBlueKing/bk-bcs | 840 | — | ~1.3k | Automated safety check: Pass | Custom licence |
Prorise-cool/Claude-Code-Multi-Agent
Complete guide to installing Git and performing basic configuration across all platforms (Windows, macOS, Linux, WSL).
Prorise-cool/Claude-Code-Multi-Agent
Comprehensive Git configuration guide covering global settings, aliases, performance tuning, credential management, maintenance, .gitattributes, clone shortcuts, and troubleshooting.
Prorise-cool/Claude-Code-Multi-Agent
Provides guidance for installing, configuring, and choosing Git graphical interface clients (GitKraken, Sourcetree, GitHub Desktop) across platforms.
Prorise-cool/Claude-Code-Multi-Agent
Comprehensive guide to Git line ending configuration for cross-platform development teams.
TencentBlueKing/bk-bcs
迭代执行流水线启动器。分三个阶段执行:信息检查(验证 git 环境、获取迭代信息、 解析迭代分支)→ 恢复检测(已有状态文件时判定恢复策略)→ 新流程初始化(创建分支、 迭代目录和 iteration-state.json)。
sopaco/cortex-mem
Persistent memory enhancement for AI agents. An agent skill from sopaco/cortex-mem.
MikalaiBarysevich/CleverSwitch
Generate GitHub release notes for unreleased CleverSwitch tags in the established repo format.
Categories
Analyze all changes in the current git branch and update CLAUDE.md if architectural or important changes warrant it. Update Claude Md is an agent skill from MikalaiBarysevich/CleverSwitch.md if architectural or important changes warrant it.
Update Claude Md fits situations like: the user asks to update CLAUDE.md; sync docs with branch changes; review what changed architecturally; before creating a PR to ensure documentation is current.
Run `npx skills add MikalaiBarysevich/CleverSwitch --skill update-claude-md -a claude-code`. Or copy the skill folder (.claude/skills/update-claude-md in MikalaiBarysevich/CleverSwitch) into .claude/skills/update-claude-md in your project. Claude Code loads it when a task matches its description.
Run `npx skills add MikalaiBarysevich/CleverSwitch --skill update-claude-md -a codex`. Or copy the skill folder (.claude/skills/update-claude-md in MikalaiBarysevich/CleverSwitch) into .agents/skills/update-claude-md in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add MikalaiBarysevich/CleverSwitch --skill update-claude-md -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/update-claude-md, .gemini/skills/update-claude-md, .github/skills/update-claude-md and .opencode/skills/update-claude-md in your project.
Going by SKILL.md and its folder, Update Claude Md needs the command-line tools its instructions call (git).
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Update Claude Md is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.2k tokens (SKILL.md is roughly 5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Update Claude Md: Setup (Prorise-cool/Claude-Code-Multi-Agent, 306 stars), Git Config (Prorise-cool/Claude-Code-Multi-Agent, 306 stars), Gui Tools (Prorise-cool/Claude-Code-Multi-Agent, 306 stars) and Line Endings (Prorise-cool/Claude-Code-Multi-Agent, 306 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
MikalaiBarysevich (a GitHub user) maintains it in MikalaiBarysevich/CleverSwitch, which has 117 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on October 5, 2026.
Source: MikalaiBarysevich/CleverSwitch on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.