commit

A command that saves changes to a local Git repository as a commit. Git is a tool that records versions of code; this command does not send the commit to an online repository.

In plain words
What is it for?
Use it to stage all skill-source changes, create a commit with a default or custom message, or preview what would happen with a dry run.
Why use it?
It creates a local checkpoint for work in progress or completed changes without needing a remote repository or sharing anything.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/runkids/skillshare/commit
Clone the repo
git clone --depth 1 https://github.com/runkids/skillshare
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 627 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00627
Opus 5 $0.00000 $0.00313
Sonnet 5 $0.00000 $0.00125
Haiku 4.5 $0.00000 $0.00063

Measured yesterday against content hash c06cfd467a3d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

commit 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 yesterday.

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.

website/docs/reference/commands/commit.md · 84 lines

How it starts

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

commit

Create a local git commit for source skills without pushing.

skillshare commit                         # Commit with default message
skillshare commit -m "Update skill"       # Custom message
skillshare commit --dry-run               # Preview

When to Use

  • Save a local checkpoint before experimenting with skill edits
  • Commit changes on a machine or source repo that does not have a remote configured
  • Keep local history separate from sharing changes across machines

Use push when you want to commit and push to a git remote.

What Happens

flowchart TD
    CMD["skillshare commit"]
    CHECK["1. Check repository status"]
    STAGE["2. Stage all changes"]
    COMMIT["3. Commit"]
    CMD --> CHECK --> STAGE --> COMMIT

commit stages all changes in the skills source directory and creates a git commit. It does not require a remote and never runs git push.

Options

Flag Description
-m, --message <msg> Commit message (default: "Update skills")
--dry-run, -n Preview without making changes

Git Root Scope

commit operates on the directory selected by the git_root config field (default: skills source). Use skillshare init --git-root <scope> to change which directory is versioned. Valid scopes:

Scope Directory
skills (default) Skills source (~/.config/skillshare/skills/)
agents Agents source (~/.config/skillshare/agents/)
extras Extras source (~/.config/skillshare/extras/)
root Config root (~/.config/skillshare/) — versions skills + agents + extras in one repo

If git_root was changed but the git repo still lives in another scope's directory, commit prints a "Git root mismatch" error with the exact git init / mv commands to fix it. See Changing the scope after init.

Prerequisites

Your skills source directory must be a git repository:

Read the full file on GitHub · 84 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. yesterday First seen · 84 lines · 0 tokens per session scan A c06cfd467a3d

Subscribe to this mod's changes

commit is a command published in the GitHub repository runkids/skillshare (2,597 stars, last pushed 5d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 627 tokens. 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.