Setup
Prorise-cool/Claude-Code-Multi-Agent
Complete guide to installing Git and performing basic configuration across all platforms (Windows, macOS, Linux, WSL).
Safely rebases the current feature branch onto a target branch (default: main) with automatic stash handling and conflict detection.
$ npx skills add Cybereason-Public/owLSM --skill rebase-branch-on-master -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Cybereason-Public/owLSM rebase-branch-on-master --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/Cybereason-Public/owLSM.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.cursor/skills/rebase-branch-on-master .claude/skills/rebase-branch-on-master && 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 "rebase-branch-on-master" agent skill from https://github.com/Cybereason-Public/owLSM/tree/main/.cursor/skills/rebase-branch-on-master into .claude/skills/rebase-branch-on-master/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rebase-branch-on-master", 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/Cybereason-Public/owLSM/tree/main/.cursor/skills/rebase-branch-on-masterType 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 Cybereason-Public/owLSM --skill rebase-branch-on-master -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Cybereason-Public/owLSM rebase-branch-on-master --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Cybereason-Public/owLSM.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.cursor/skills/rebase-branch-on-master .agents/skills/rebase-branch-on-master && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "rebase-branch-on-master" agent skill from https://github.com/Cybereason-Public/owLSM/tree/main/.cursor/skills/rebase-branch-on-master into .agents/skills/rebase-branch-on-master/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rebase-branch-on-master", 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 Cybereason-Public/owLSM --skill rebase-branch-on-master -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Cybereason-Public/owLSM rebase-branch-on-master --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Cybereason-Public/owLSM.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.cursor/skills/rebase-branch-on-master .cursor/skills/rebase-branch-on-master && 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 "rebase-branch-on-master" agent skill from https://github.com/Cybereason-Public/owLSM/tree/main/.cursor/skills/rebase-branch-on-master into .cursor/skills/rebase-branch-on-master/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rebase-branch-on-master", 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/Cybereason-Public/owLSM.git --path .cursor/skills/rebase-branch-on-master--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 Cybereason-Public/owLSM --skill rebase-branch-on-master -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Cybereason-Public/owLSM rebase-branch-on-master --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Cybereason-Public/owLSM.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.cursor/skills/rebase-branch-on-master .gemini/skills/rebase-branch-on-master && 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 "rebase-branch-on-master" agent skill from https://github.com/Cybereason-Public/owLSM/tree/main/.cursor/skills/rebase-branch-on-master into .gemini/skills/rebase-branch-on-master/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rebase-branch-on-master", 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 Cybereason-Public/owLSM rebase-branch-on-masterInstalls 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 Cybereason-Public/owLSM --skill rebase-branch-on-master -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Cybereason-Public/owLSM.git skills-src && mkdir -p .github/skills && cp -r skills-src/.cursor/skills/rebase-branch-on-master .github/skills/rebase-branch-on-master && 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 "rebase-branch-on-master" agent skill from https://github.com/Cybereason-Public/owLSM/tree/main/.cursor/skills/rebase-branch-on-master into .github/skills/rebase-branch-on-master/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rebase-branch-on-master", 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 Cybereason-Public/owLSM --skill rebase-branch-on-master -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Cybereason-Public/owLSM rebase-branch-on-master --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Cybereason-Public/owLSM.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.cursor/skills/rebase-branch-on-master .opencode/skills/rebase-branch-on-master && 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 "rebase-branch-on-master" agent skill from https://github.com/Cybereason-Public/owLSM/tree/main/.cursor/skills/rebase-branch-on-master into .opencode/skills/rebase-branch-on-master/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rebase-branch-on-master", 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.
rebase-branch-on-masterSafely rebases the current feature branch onto a target branch (default: main) with automatic stash handling and conflict detection.
Rebase Branch On Master is an agent skill from Cybereason-Public/owLSM. Safely rebases the current feature branch onto a target branch (default: main) with automatic stash handling and conflict detection.
Its SKILL.md is about 1.9k 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 Development, covering Git workflow. It works with Linux and Git. The repository describes itself as: Sigma Rules Engine inside the Linux Kernel using eBPF. Focusing on prevention capabilities. The licence is GPL-2.0.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 8e541af. 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.
Rebase Branch On Master loads about 1.9k tokens when it runs. Until then it costs about 39 tokens; SKILL.md has 473 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 Cybereason-Public/owLSM at commit 8e541af, republished under its GPL-2.0 licence (© Cybereason-Public). 473 words, ~1,891 tokens.
.claude/skills/rebase-branch-on-master/SKILL.md (or your agent's skills folder).You are a Git workflow assistant that safely rebases the current branch onto a target branch.
| Parameter | Required | Default | Description |
|---|---|---|---|
target_branch | No | main | The branch to rebase onto. User can specify any branch name. |
Example invocations:
maindevelopfeature/baseBefore doing anything, verify ALL of the following. If ANY check fails, STOP and report the issue (and restore stash if already created):
origin remote must be configuredgit ls-remote).git/rebase-merge, .git/MERGE_HEAD, .git/CHERRY_PICK_HEADIf a stash was created, it MUST be restored before reporting any error.
This is non-negotiable. Use try-finally logic:
# Save current branch name
CURRENT_BRANCH=$(git branch --show-current)
# Target branch: use user-specified or default to "main"
TARGET_BRANCH="${USER_SPECIFIED_TARGET:-main}"
# Verify target branch exists (locally or on remote)
if ! git show-ref --verify --quiet "refs/heads/$TARGET_BRANCH" && \
! git show-ref --verify --quiet "refs/remotes/origin/$TARGET_BRANCH"; then
echo "ERROR: Target branch '$TARGET_BRANCH' does not exist locally or on remote"
exit 1
fi
# Verify we're not already on the target branch
if [ "$CURRENT_BRANCH" = "$TARGET_BRANCH" ]; then
echo "ERROR: Already on target branch '$TARGET_BRANCH'. Cannot rebase onto itself."
exit 1
fiCheck for uncommitted changes and stash them:
# Check for any changes
HAS_CHANGES=false
if ! git diff --cached --quiet || ! git diff --quiet || [ -n "$(git ls-files --others --exclude-standard)" ]; then
HAS_CHANGES=true
fi
STASH_CREATED=false
STASH_MSG=""
if [ "$HAS_CHANGES" = true ]; then
# Stash everything including untracked files, with a unique marker
STASH_MSG="rebase-skill-auto-stash-$(date +%s)-$$"
git stash push -u -m "$STASH_MSG"
STASH_CREATED=true
echo "Stash created: $STASH_MSG"
fiFrom this point on, ANY error must restore the stash first!
# Fetch latest from remote
git fetch origin
# If target branch exists locally, update it
if git show-ref --verify --quiet "refs/heads/$TARGET_BRANCH"; then
git checkout "$TARGET_BRANCH"
if ! git pull origin "$TARGET_BRANCH" --ff-only; then
echo "ERROR: Cannot fast-forward $TARGET_BRANCH. Local branch has diverged."
# RESTORE STASH BEFORE EXITING
restore_stash_if_needed
exit 1
fi
fi# Return to the original branch
git checkout "$CURRENT_BRANCH"
# Attempt rebase onto target (use origin/target if local doesn't exist)
if git show-ref --verify --quiet "refs/heads/$TARGET_BRANCH"; then
REBASE_TARGET="$TARGET_BRANCH"
else
REBASE_TARGET="origin/$TARGET_BRANCH"
fi
if ! git rebase "$REBASE_TARGET"; then
# Rebase failed - ABORT to preserve original state
git rebase --abort
echo "ERROR: Rebase failed due to conflicts. Aborted to preserve original state."
# RESTORE STASH BEFORE EXITING
restore_stash_if_needed
exit 1
fi
echo "Rebase successful!"Only if rebase succeeded:
# Use --force-with-lease for safety (fails if remote has new commits we don't know about)
if ! git push --force-with-lease origin "$CURRENT_BRANCH"; then
echo "WARNING: Push failed. Someone else may have pushed to this branch."
echo "Local rebase is intact. You can retry push manually or investigate."
# Still restore stash - this is a warning, not a fatal error
fiThis step MUST run regardless of success/failure (if stash was created):
restore_stash_if_needed() {
if [ "$STASH_CREATED" = true ] && [ -n "$STASH_MSG" ]; then
# Find our stash by its unique message
STASH_REF=$(git stash list | grep "$STASH_MSG" | head -1 | cut -d: -f1)
if [ -n "$STASH_REF" ]; then
# Use --index to PRESERVE the staged/unstaged structure
if git stash pop --index "$STASH_REF"; then
echo "Stash restored successfully (staged/unstaged structure preserved)"
else
# If --index fails (can happen with conflicts), try without it
echo "WARNING: Could not restore with staged/unstaged structure."
echo "Attempting plain restore..."
git stash pop "$STASH_REF" || {
echo "ERROR: Stash restore failed. Your changes are still in stash: $STASH_REF"
echo "Run 'git stash list' to see it and 'git stash pop' to restore manually."
}
fi
else
echo "WARNING: Could not find stash with message: $STASH_MSG"
fi
fi
}
# Always call this at the end
restore_stash_if_needed| Scenario | Action |
|---|---|
| Target branch doesn't exist | STOP immediately (before stash) |
| Already on target branch | STOP immediately (before stash) |
| Detached HEAD | STOP immediately (before stash) |
| Ongoing rebase/merge | STOP immediately (before stash) |
| Network unreachable | Restore stash, then STOP |
| Target branch diverged | Restore stash, then STOP |
| Rebase conflicts | Abort rebase, restore stash, then STOP |
| Push rejected | Restore stash, report warning (keep local rebase) |
| Stash pop conflicts | Report — changes remain in stash for manual recovery |
Report the following at each stage:
{branch_name}{target_branch} (user-specified or default){yes|no}{success|failure}{success|aborted due to conflicts}{success|failed|skipped}{yes (with index)|yes (without index)|failed|N/A}git stash pop --index to maintain staging structure--force-with-lease which fails if remote has unexpected commits© Cybereason-Public, GPL-2.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 .cursor/skills/rebase-branch-on-master of Cybereason-Public/owLSM.
Open the folder on GitHubat commit 8e541af
Rebase Branch On Master 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 |
|---|---|---|---|---|---|---|
| Rebase Branch On Master this skillCybereason-Public/owLSM | 280 | — | ~1.9k | Automated safety check: Pass | GPL-2.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)。
TheDecipherist/claude-code-mastery-project-starter-kit
Common pitfalls that are slow to troubleshoot and that tend to get "fixed" by going in circles, because the error message points nowhere near the actual cause.
Cybereason-Public/owLSM
Comprehensive guide for implementing NetworkPolicy, PodSecurityPolicy, RBAC, and Pod Security Standards in Kubernetes.
Cybereason-Public/owLSM
Comprehensive guidance for creating, organizing, and managing Helm charts for packaging and deploying Kubernetes applications.
Cybereason-Public/owLSM
Expert Kubernetes architect specializing in cloud-native infrastructure, advanced GitOps workflows (ArgoCD/Flux), and enterprise container orchestration.
Cybereason-Public/owLSM
Step-by-step guidance for creating production-ready Kubernetes manifests including Deployments, Services, ConfigMaps, Secrets, and PersistentVolumeClaims.
Cybereason-Public/owLSM
Adds a GitMCP URL for a GitHub repository to the project's MCP configuration (.cursor/mcp.json).
Cybereason-Public/owLSM
Manage GitHub issues - create, edit, close, comment, assign, and delegate to Copilot.
Categories
Safely rebases the current feature branch onto a target branch (default: main) with automatic stash handling and conflict detection. Rebase Branch On Master is an agent skill from Cybereason-Public/owLSM. Safely rebases the current feature branch onto a target branch (default: main) with automatic stash handling and conflict detection.
Rebase Branch On Master fits situations like: tasks that involve Git workflow.
Run `npx skills add Cybereason-Public/owLSM --skill rebase-branch-on-master -a claude-code`. Or copy the skill folder (.cursor/skills/rebase-branch-on-master in Cybereason-Public/owLSM) into .claude/skills/rebase-branch-on-master in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Cybereason-Public/owLSM --skill rebase-branch-on-master -a codex`. Or copy the skill folder (.cursor/skills/rebase-branch-on-master in Cybereason-Public/owLSM) into .agents/skills/rebase-branch-on-master 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 Cybereason-Public/owLSM --skill rebase-branch-on-master -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/rebase-branch-on-master, .gemini/skills/rebase-branch-on-master, .github/skills/rebase-branch-on-master and .opencode/skills/rebase-branch-on-master in your project.
Going by SKILL.md and its folder, Rebase Branch On Master 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.
Rebase Branch On Master is published under the GPL-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.9k tokens (SKILL.md is roughly 7.6k 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 Rebase Branch On Master: 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.
Cybereason-Public (a GitHub organization) maintains it in Cybereason-Public/owLSM, which has 280 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on October 8, 2026.
Source: Cybereason-Public/owLSM on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.