Agent skill

Oma Scm

by first-fluke in first-fluke/oh-my-agent

SCM (software configuration management) and Git — branching, merges, conflicts, worktrees, baselines, audit readiness, plus Conventional Commits and safe staging.

MITAuto-check: notesDevelopment

Install Oma Scm

skills CLI
$ npx skills add first-fluke/oh-my-agent --skill oma-scm -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install first-fluke/oh-my-agent oma-scm --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/first-fluke/oh-my-agent.git skills-src && mkdir -p .claude/skills && cp -r skills-src/benchmarks/runs/oma/.agents/skills/oma-scm .claude/skills/oma-scm && rm -rf skills-src

Use ~/.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/

Facts

Skill name
oma-scm
GitHub stars
1.3k
Token cost
~3.3k tokens
SKILL.md length
1,480 words
Files
5
Skills in repo
57
Repo updated
First seen
Licence
MIT

At a glance

SCM (software configuration management) and Git — branching, merges, conflicts, worktrees, baselines, audit readiness, plus Conventional Commits and safe staging.

  • Works in 6 steps: Planning → Identification → Control → …
  • Tasks that involve Commit messages
  • SKILL.md covers Scheduling, Structural Flow and Logical Operations
  • Calls git

What it does

Oma Scm is an agent skill from first-fluke/oh-my-agent. SCM (software configuration management) and Git — branching, merges, conflicts, worktrees, baselines, audit readiness, plus Conventional Commits and safe staging.

Its SKILL.md is about 3.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files (for example `config/commit-config.yaml`, `resources/codeowners-playbook.md` and `resources/conventional-commits.md`).

It sits in Development, covering Commit messages, Git worktrees and Git workflow. It works with Git. The repository describes itself as: Mechanical verification for AI coding agents — skills pack or full harness (stop-hook gates, artifact checks, independent judges). The licence is MIT.

When your agent uses it

  • Tasks that involve Commit messages
  • Tasks that involve Git worktrees
  • Tasks that involve Git workflow

Example prompts

  • “/oma-scm”

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Planning
  2. Identification
  3. Control
  4. Status accounting
  5. Verification & audit
  6. Onboarding risk scan (optional, recommended)

What it can do on your machine

Read from SKILL.md and the folder at commit 268bb4a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    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.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Oma Scm loads about 3.3k tokens when it runs. Until then it costs about 43 tokens; SKILL.md has 1,480 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~43
When it runs · the whole SKILL.md, loaded when a task matches
~3.3k

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.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:208
    2. Never stage/commit secrets (`.env`, keys, raw tokens).

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.

SKILL.md

The full file from first-fluke/oh-my-agent at commit 268bb4a, republished under its MIT licence (© first-fluke). 1,480 words, ~3,282 tokens.

Download SKILL.mdSave it as .claude/skills/oma-scm/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
oma-scm
description
SCM (software configuration management) and Git — branching, merges, conflicts, worktrees, baselines, audit readiness, plus Conventional Commits and safe staging.

Software configuration management — SCM (oma-scm)

Scheduling

Goal

Manage Git and software configuration management safely: commits, branches, merges, worktrees, releases, baselines, audit posture, CODEOWNERS, and Conventional Commits.

Intent signature
  • User asks to commit, stage, branch, merge, rebase, cherry-pick, tag, release, resolve conflicts, manage worktrees, inspect SCM posture, or apply Conventional Commits.
  • User needs safe Git operations with explicit file staging, secret awareness, and CM governance.

This skill is the single place for configuration management (CM) on a software repo and for Conventional Commits / safe staging.

When to use
  • Commits: “commit this”, /scm, message type/scope, splitting staged changes into multiple commits.
  • CM / Git: branching (gitflow, GitHub Flow, GitLab Flow, trunk-based), protected branches, merge queue, merge conflicts, rebase, cherry-pick, worktrees, submodules/subtrees, tags and releases.
  • Governance: issue/ADR links, breaking-change footers, changelog or release-tool alignment.
  • Audit posture: signed commits, CI before merge, secret-sensitive paths.
When NOT to use
  • Implementing product or application code -> use the relevant domain skill
  • Debugging runtime failures without a Git or CM operation -> use oma-debug
  • Security, performance, or accessibility review -> use oma-qa
  • Planning feature requirements or decomposing work -> use oma-pm
Expected inputs
  • Git task, desired branch/commit/release operation, and affected files
  • Current worktree status, staged diff, branch tracking, config files, and governance constraints
  • Optional issue/ADR/PR/release context
Expected outputs
  • Safe commit, branch, merge/rebase guidance, conflict plan, status accounting, or CM audit findings
  • Conventional Commit message and explicit staged paths when committing
  • Risk notes for shared history, secrets, CODEOWNERS, CI, and release evidence
Dependencies
  • Git CLI and repository metadata
  • config/commit-config.yaml, config/cm-config.yaml, Conventional Commit references, onboarding-risk and CODEOWNERS playbooks
Control-flow features
  • Branches by quick commit path versus full CM/governance path
  • Reads Git state and diffs; may write commits, branches, tags, or conflict resolutions
  • Requires explicit approval for broad staging, shared-history rewrite, production-destructive operations, or secret-risk paths

Structural Flow

Entry
  1. Inspect Git status, branch, staged/unstaged changes, and user intent.
  2. Choose Quick Path for ordinary commits or Full CM Path for governance/risky history work.
  3. Read commit and CM config before enforcing project-specific rules.
Scenes
  1. PREPARE: Determine operation type, risk, and affected files.
  2. ACQUIRE: Read status, diff, logs, config, ownership, and release context.
  3. REASON: Split changes, choose message/scope, identify CM controls and risks.
  4. ACT: Stage explicit paths, commit, branch, resolve, or provide CM action plan.
  5. VERIFY: Check status, staged diff, CI expectations, signatures, secrets, and audit evidence.
  6. FINALIZE: Report operation result and remaining SCM tasks.
Transitions
  • If user intent is commit-only, follow Quick Path and stop after safe commit.
  • If branching/history/release/governance is involved, run Full CM Path.
  • If shared history rewrite is requested, require maintainer approval.
  • If changes span independent features, split commits unless user requests one commit.
Failure and recovery
  • If worktree is dirty in unrelated files, avoid touching unrelated changes.
  • If conflicts exist, resolve markers, test, and preserve target-branch context.
  • If secrets are detected or suspected, stop before staging/committing.
Exit
  • Success: requested SCM operation is complete or a safe, auditable plan is delivered.
  • Partial success: blockers such as conflicts, missing approval, CI, or secret risk are explicit.

Logical Operations

Actions
ActionSSL primitiveEvidence
Read Git stateREADgit status, diff, log, config
Select SCM pathSELECTQuick Path vs Full CM Path
Compare change scopesCOMPARESplit by type/scope/feature
Validate commit/governance rulesVALIDATEConfig and CM controls
Stage explicit filesCALL_TOOLgit add <specific-files>
Commit or manage refsCALL_TOOLGit commit/branch/merge/rebase/tag
Write audit notesWRITECommit message or CM report
Report resultNOTIFYFinal SCM summary
Tools and instruments
  • Git CLI and repository metadata
  • Commit/CM config, Conventional Commit guide, CODEOWNERS playbook, onboarding-risk signals
Canonical command path
bash
git status -sb
git diff --staged
git log --oneline -5

Stage and commit only explicit paths:

bash
git add <specific-files>
git commit -m "$(cat <<'EOF'
<type>(<scope>): <description>

[optional body]
EOF
)"
Resource scope
ScopeResource target
CODEBASETracked files, diffs, conflicts, CODEOWNERS
LOCAL_FSGit metadata, config files, commit message temp files
PROCESSGit commands and verification commands
CREDENTIALSSecret-sensitive files must not be staged or committed
Preconditions
  • Repository and Git intent are identifiable.
  • User has authorized the requested SCM operation.
Effects and side effects
  • May stage files, create commits, branches, tags, worktrees, or history operations.
  • Can affect shared repository history if unsafe commands are used, so approvals matter.
Guardrails
  1. Choose Quick Path for ordinary commits and Full CM Path for branching, history, release, or governance work.
  2. Read config/commit-config.yaml and config/cm-config.yaml before applying project-specific commit or CM rules.
  3. Stage only explicit files; never use broad staging unless the user explicitly approves it.
  4. Do not rewrite shared history without maintainer approval.
  5. Never stage or commit likely-secret material.
Configuration
FileRole
config/commit-config.yamlConventional Commit types, branch prefixes, message rules
config/cm-config.yamlCM pointers — documented process, branching model, baselines, changelog
Operating mode (choose first)
Quick Path (commit-focused, default)

Use this when the user intent is mainly "commit this safely."

  1. Follow Conventional Commits section only
  2. Stage explicit files only
  3. Validate message type/scope/length from commit-config.yaml
  4. Stop after safe commit unless user asks CM/governance operations
Full CM Path (repo governance / risky history operations)

Use this when the user asks about branching strategy, merges, rebase/cherry-pick, worktrees, release refs, CODEOWNERS, or audit posture.

  1. Run CM workflows in order (Planning -> Identification -> Control -> Status accounting -> Verification)
  2. Add onboarding risk scan when inheriting or auditing a repository
  3. Include commit governance from Conventional Commits when creating commits
  4. For large-scope merge operations, use risk scoring and Ask Gate criteria from ../../workflows/scm.md
Show full SKILL.md (606 more words)Show less
CM process map (software)
CM functionIntentTypical artefacts / actions
Management & planningAgreed rulesCONTRIBUTING.md, SECURITY.md, cm-config.yaml
Configuration identificationWhat is managed, namingBranch/tag rules, version files, .gitattributes, LFS
Configuration controlReviewed changePRs, checks, issue links, BREAKING CHANGE footers
Status accountingAs-built truthmain / release refs, CHANGELOG, tags, CI status
Verification & auditEvidenceCI logs, signed commits, lockfiles / SBOM policy
CM workflows (use before risky history operations)
1) Planning
  1. Read cm-config.yaml and files listed under documented_process.
  2. If missing, infer from CONTRIBUTING.md / README; state assumptions.
  3. Confirm branching model and whether force-push on shared branches is allowed (default: not without explicit approval).
2) Identification
  1. Canonical refs: default branch, release branches/tags, version sources (package.json, etc.).
  2. .gitattributes / LFS for binaries and generated assets.
  3. Branch names vs commit-config.yaml branch_prefixes when the project uses them.
3) Control
  1. Small, reviewable units; align commits with PR / issue intent.
  2. Conflicts: merge-base, git status, resolve markers, tests; suggest rerere when conflicts repeat.
  3. Worktrees: git worktree add; merge/rebase from the target branch’s checkout; all worktrees share one object database.
  4. Do not rewrite shared history without maintainer approval; prefer --force-with-lease if force-push is unavoidable.
4) Status accounting
  1. git status -sb: branch, remote tracking, ahead/behind, merge state.
  2. Relate last tag / release branch to CHANGELOG or tooling (semantic-release, release-please, changesets) if present.
5) Verification & audit
  1. Required CI and merge_group when merge queue applies.
  2. Never stage/commit secrets (.env, keys, raw tokens).
  3. Call out signed-commit expectations when the org cares about verification badges.
CODEOWNERS maintenance checklist
  1. Validate CODEOWNERS file exists (prefer .github/CODEOWNERS).
  2. Ensure critical paths are explicitly owned (not only fallback *).
  3. Ensure owners are active and mapped to current teams.
  4. Confirm branch protection requires CODEOWNERS review where needed.
  5. Flag overlapping/ambiguous rules that can hide intended owners.

Read change_governance.require_codeowners and ownership.* in cm-config.yaml when present.

Use this quick scan when joining or inheriting a repository to identify risky areas before major changes.

  1. High churn files in lookback window.
  2. Ownership concentration / bus-factor signals.
  3. Bug hotspot files from fix-related history.
  4. Velocity trend by month.
  5. Revert/hotfix/emergency frequency.

Read thresholds from cm-config.yaml onboarding_metrics when present and cite caveats:

  • squash merge teams can distort ownership metrics,
  • weak commit labeling reduces hotspot accuracy,
  • monorepo commit counts can bias subsystem interpretation.

Conventional Commits
Commit types
TypeDescriptionBranch Prefix
featNew featurefeature/
fixBug fixfix/
refactorCode improvementrefactor/
docsDocumentation changesdocs/
testTest additions/modificationstest/
choreBuild, configuration, etc.chore/
styleCode style changesstyle/
perfPerformance improvementsperf/
Commit format
<type>(<scope>): <description>

[optional body]

Co-Authored-By: First Fluke <our.first.fluke@gmail.com>
Commit workflow
Step 1: Analyze changes
bash
git status
git diff --staged
git log --oneline -5
Step 1.5: Split by feature (if needed)

If changes span multiple features/domains, split commits by feature.

Split when: different scopes, different types, logically independent work.

Do not split when: one feature, few files (≤5), or user asked for a single commit.

Step 2: Determine type
  • New capability → feat · Bug fix → fix · Structure-only → refactor · Docs only → docs · Tests → test · Build/config → chore
Step 3: Scope

Use module/component: feat(auth):, fix(api):, or omit: chore: update dependencies

Step 4: Description

≤72 chars (per commit-config.yaml), imperative mood, lowercase start, no trailing period.

Step 5: Execute commit

Show the message, then commit with explicit paths:

bash
git add <specific-files>
git commit -m "$(cat <<'EOF'
<type>(<scope>): <description>

[optional body]
EOF
)"

If HEREDOC is unstable in your shell (or body is long), use file-based commit input:

bash
git add <specific-files>
cat > /tmp/oma-commit-msg.txt <<'EOF'
<type>(<scope>): <description>

[optional body]
EOF
git commit -F /tmp/oma-commit-msg.txt

Use HEREDOC by default, and switch to -F for long or flaky terminal sessions.

References

  • config/commit-config.yaml
  • config/cm-config.yaml
  • resources/conventional-commits.md
  • resources/onboarding-risk-signals.md
  • resources/codeowners-playbook.md
Important notes
  • NEVER git add -A or git add . without explicit user permission.
  • NEVER commit likely-secret material.
  • ALWAYS stage by explicit paths; tie non-trivial CM work to the five CM rows above, even briefly.

© first-fluke, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files in benchmarks/runs/oma/.agents/skills/oma-scm of first-fluke/oh-my-agent.

  • SKILL.md
  • config/commit-config.yaml
  • resources/codeowners-playbook.md
  • resources/conventional-commits.md
  • resources/onboarding-risk-signals.md

Open the folder on GitHubat commit 268bb4a

Compare with similar skills

Oma Scm 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.

Oma Scm compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Oma Scm this skillfirst-fluke/oh-my-agent1.3k—~3.3kAutomated safety check: NotesMIT
Git Committisfeng/Easydict15k—~535Automated safety check: PassGPL-3.0
Worktree Rebase Mergetisfeng/Easydict15k—~408Automated safety check: PassGPL-3.0
Conventional Gitsamber/cc-skills227—~1.8kAutomated safety check: PassMIT
Git WorkflowEliasOulkadi/shokunin114—~2.4kAutomated safety check: NotesMIT
Git Workflowericrisco/rsc-harness180—~3.5kAutomated safety check: PassMIT

Similar skills

  • Git Commit

    tisfeng/Easydict

    起草、创建或汇报 Angular-style 本地 Git 提交。用于明确的提交交付;分支集成使用 worktree-rebase-merge,不 push。

    15k GitHub stars~535 tokensUpdated 3 days ago
    DevelopmentAuto-check passed
  • Worktree Rebase Merge

    tisfeng/Easydict

    将当前 worktree 的任务提交 rebase 到本地目标分支,并从目标 worktree 合并。用于明确要求本地集成;仅创建提交使用 git-commit。

    15k GitHub stars~408 tokensUpdated 3 days ago
    DevelopmentAuto-check passed
  • Conventional Git

    samber/cc-skills

    Conventional Commits v1.0.0 branch naming, worktree naming, and commit message standards for GitHub and GitLab projects.

    227 GitHub stars~1.8k tokensUpdated 9 days ago
    DevelopmentAuto-check passed
  • Git Workflow

    EliasOulkadi/shokunin

    Automate the complete Git development workflow — create feature branches with conventional naming, atomic commits with conventional commit messages, interactive rebase, squash merges, PR body…

    114 GitHub stars~2.4k tokensUpdated 5 days ago
    DevelopmentAuto-check: notes
  • Git Workflow

    ericrisco/rsc-harness

    A skill your agent uses when naming or scoping a branch, writing or fixing a commit message, picking the gitmoji for a commit, untangling history (rebase versus merge versus squash), or cutting a…

    180 GitHub stars~3.5k tokensUpdated today
    DevelopmentAuto-check passed
  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    297k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed

More from first-fluke/oh-my-agent

All 57 skills in this repo
  • OMA Multi-Agent Orchestration

    first-fluke/oh-my-agent

    Decomposes a complex feature into tasks, dispatches parallel specialist agents with durable state, and supervises verification, QA review and retries.

    1.3k GitHub stars~4.1k tokensUpdated today
    Auto-check passed
  • OMA Multi-Agent Orchestrator

    first-fluke/oh-my-agent

    Splits a complex feature into prioritized tasks, spawns specialist CLI subagents in parallel, tracks them through shared memory and verifies each result.

    1.3k GitHub stars~3.1k tokensUpdated today
    Auto-check passed
  • Architecture Decisions and ADRs

    first-fluke/oh-my-agent

    Evaluates system boundaries and tradeoffs and writes architecture recommendations, option comparisons or ADRs, with a Mermaid diagram when structure changes.

    1.3k GitHub stars~2.6k tokensUpdated today
    Auto-check passed
  • OMA Brainstorm

    first-fluke/oh-my-agent

    Explores goals, constraints and alternative designs one question at a time and saves an approved design document before any planning or coding starts.

    1.3k GitHub stars~2.8k tokensUpdated today
    Auto-check passed
  • Oma Coordination

    first-fluke/oh-my-agent

    Coordinate assigned specialist tasks and handoffs manually. An agent skill from first-fluke/oh-my-agent.

    1.3k GitHub stars~1.9k tokensUpdated today
    Auto-check passed
  • Oma Image

    first-fluke/oh-my-agent

    Generate raster images or reference-guided variations through the OMA image CLI.

    1.3k GitHub stars~2k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Oma Scm

What does Oma Scm do?

SCM (software configuration management) and Git — branching, merges, conflicts, worktrees, baselines, audit readiness, plus Conventional Commits and safe staging. Oma Scm is an agent skill from first-fluke/oh-my-agent. SCM (software configuration management) and Git — branching, merges, conflicts, worktrees, baselines, audit readiness, plus Conventional Commits and safe staging.

When should I use Oma Scm?

Oma Scm fits situations like: tasks that involve Commit messages; tasks that involve Git worktrees; tasks that involve Git workflow.

How do I install Oma Scm in Claude Code?

Run `npx skills add first-fluke/oh-my-agent --skill oma-scm -a claude-code`. Or copy the skill folder (benchmarks/runs/oma/.agents/skills/oma-scm in first-fluke/oh-my-agent) into .claude/skills/oma-scm in your project. Claude Code loads it when a task matches its description.

How do I install Oma Scm in Codex?

Run `npx skills add first-fluke/oh-my-agent --skill oma-scm -a codex`. Or copy the skill folder (benchmarks/runs/oma/.agents/skills/oma-scm in first-fluke/oh-my-agent) into .agents/skills/oma-scm in your project. Codex loads it when a task matches its description.

Can I use Oma Scm in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add first-fluke/oh-my-agent --skill oma-scm -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/oma-scm, .gemini/skills/oma-scm, .github/skills/oma-scm and .opencode/skills/oma-scm in your project.

What does Oma Scm need to run?

Going by SKILL.md and its folder, Oma Scm needs the command-line tools its instructions call (git).

Does Oma Scm access the network?

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.

Is Oma Scm safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Oma Scm use?

Oma Scm is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Oma Scm use?

About 3.3k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Oma Scm?

Skills that share tags, products or a category with Oma Scm: Git Commit (tisfeng/Easydict, 15k stars), Worktree Rebase Merge (tisfeng/Easydict, 15k stars), Conventional Git (samber/cc-skills, 227 stars) and Git Workflow (EliasOulkadi/shokunin, 114 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Oma Scm?

first-fluke (a GitHub organization) maintains it in first-fluke/oh-my-agent, which has 1,336 GitHub stars. The repository holds 57 skills in this directory. The repository was last updated on October 10, 2026.

Source: first-fluke/oh-my-agent on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.