Claude Code Skills Marketplace is a collection and marketplace of skills, plugins, agents, and instructions that extend Claude Code with specialized development workflows. It is for developers who want to install existing workflows or create, validate, and package their own Claude Code skills.
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.
npx skills add daymade/claude-code-skills --skill git-safety-netgit clone --depth 1 https://github.com/daymade/claude-code-skillsWrote 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.
[](https://agentmods.dev/skills/daymade/claude-code-skills/git-safety-net)<a href="https://agentmods.dev/skills/daymade/claude-code-skills/git-safety-net"><img src="https://agentmods.dev/badge/skills/daymade/claude-code-skills/git-safety-net/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.
<a href="https://agentmods.dev/skills/daymade/claude-code-skills/git-safety-net"><img src="https://agentmods.dev/badge/skills/daymade/claude-code-skills/git-safety-net.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00107 | $0.19051 |
| Opus 5.5 | $0.00043 | $0.07620 |
| Sonnet 5.5 | $0.00021 | $0.03810 |
| Haiku 4.5 | $0.00011 | $0.01905 |
Grade C, and why
git-safety-net scanned grade C with 1 finding 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 today.
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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
untracked files in a sibling clone one `rm -rf` from gone. How it starts
The opening of the file, as written. The whole thing — 1,005 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Git Safety Net
Prevent losing work in a tangle of branches/stashes/rebases, and recover it forensically when something already went sideways. The commands here are all non-destructive or additive until a step is explicitly labeled destructive — recovery must never make the loss worse.
Outcome contract — keep the safety net subordinate to the user's job
Before Mode B/E or any command that writes a ref or backup, state the following in the conversation (do not create another file):
- Outcome: the user-visible end state, in the user's words.
- Current phase: what is authorized now. "Later" work is not authorized in this phase.
- Authorized targets: named objects this phase may inspect, plus the subset it may change.
- Stop condition: observable facts that end the task.
Then enforce these boundaries:
- Evidence scope is not action scope. A read-only audit may discover another clone, ref, repository, or dangling object. That discovery may widen the report; it does not authorize preserving, uploading, merging, deleting, or otherwise changing the newly found object.
- Authorization is object-specific, not repository-wide by implication. "Take over", "continue", or "finish the cleanup" applies only to the checkout/ref/PR the user identified. A collaborator-owned worktree, branch, or PR discovered later stays report-only until the user names it as a change target. If the user says to leave it alone, record that exclusion and do not inspect its working-tree contents, back it up, merge it, unlock/remove it, or mutate its refs.
- Resolve authority from the current request and applicable standing user instructions. Authority for any action under this Skill is the current request read together with the standing user instructions that apply to this task (for example, a standing instruction that a task ends with checks, commit, publication, readback, and retiring that task's own temporary branches/worktrees). Later user restrictions still control. Splitting the work into phases alone does not revoke authority the task already carries: when the task already includes retiring its exact temporary resources, complete Mode E within that same task — a new task or fresh confirmation solely for entering retirement is a re-ask, not a gate. Mode E's evidence, preservation, and readback gates still apply in full. A merge alone still does not authorize extra targets, and targets the task's authority does not name stay report-only until separately authorized.
- Preserve the smallest set threatened by the next authorized destructive action. If the current phase is only commit/push/verify and no deletion, reset, gc, history rewrite, or worktree removal is authorized, do not create an all-refs bundle or pin every dangler.
- Classify an artifact before choosing its transport. Durable project source follows the repository's normal Git/LFS policy. A temporary recovery artifact (bundle, working-tree diff, snapshot, transport chunk) belongs in a repository-external backup directory. Do not stage, commit, push, or route it through Git LFS merely to make the backup remote; Git LFS is for durable versioned project binaries, not a fallback transport for temporary recovery material.
- Never use a single/blanket offline backup as a cleanup or closeout path. Never propose,
offer as a menu option, or execute packing multiple unreviewed branches, dirty worktrees,
diffs, and untracked files into one offline archive (
git bundle+.diff+ copied files) so you can delete the live Git branches/worktrees. That converts inspectable Git state into an unsearchable offline graveyard and shifts the triage mess onto the user instead of finishing the job. Audit every unresolved branch and dirty worktree item-by-item against the fresh base and resolve each into one of four real outcomes: land valuable work the base lacks, prove superseded and retire directly (no archive graveyard), explicitly discard verified dead scratch with user approval, or keep in place as a live branch/worktree when active or awaiting a user decision. Reserve external exports strictly for short-lived, single-target rollback safety around an active destructive operation (or an explicit user export request for a named item). No bundled script enforces this prohibition automatically; the executing agent and independent reviewer must verify it on every Mode B/E plan and closeout. - Keep preservation and retirement as separate phases. A verified recovery artifact proves recoverability; it does not prove the business code landed. Keep an already-existing or operation-scoped artifact through its destructive action and content-level postconditions. Retire an exact task-owned temporary artifact only when every payload is landed or proven superseded and the artifact itself has explicit cleanup authorization. Keep pre-existing backup-only, unresolved, and mixed artifacts intact until audited item-by-item — never create a new catch-all offline archive to close out unresolved work.
- Treat a new storage or execution surface as a scope change. A second repository, new remote, cloud upload, Git LFS, or full-history export requires re-planning and explicit authority when the stated outcome actually depends on it. Do not solve a transport problem the user did not ask to create.
- Prove completion in the user's world. A remote containing the intended commit, preserved WIP, and the requested branch/worktree state are outcomes. Bundle counts, checksums, upload receipts, and audit breadth are supporting evidence, never substitutes for that outcome. Stop when the contract is satisfied; record unrelated findings separately without acting on them.
What ships with it
34 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- agents/openai.yaml 259 B
- evals/evals.json 16 KB
- references/merge_verification.md 101 KB
- references/prevention_practices.md 68 KB
- references/recovery_playbook.md 30 KB
- references/worktree-retirement-helper.md 9.6 KB
- scripts/git_align_checkout.sh 13 KB runs code
- scripts/git_classify_refs.sh 19 KB runs code
- scripts/git_export_before_drop.sh 25 KB runs code
- scripts/git_find_all_checkouts.sh 15 KB runs code
- scripts/git_hosted_vs_cached.sh 6.6 KB runs code
- scripts/git_loss_audit.sh 16 KB runs code
- scripts/git_prepare_clone_retirement.sh 33 KB runs code
- scripts/git_prepare_sparse_worktree.py 9.0 KB runs code
- scripts/git_prepare_worktree_retirement.py 45 KB runs code
- scripts/git_preserve_danglers.sh 5.3 KB runs code
- scripts/git_preserve_shared_wip.py 22 KB runs code
- scripts/git_stash_tree_archive.py 11 KB runs code
- scripts/git_verify_branch_merged.sh 16 KB runs code
- scripts/git_verify_closeout.py 42 KB runs code
- tests/test_git_align_checkout.py 11 KB runs code
- tests/test_git_classify_refs.py 31 KB runs code
- tests/test_git_export_before_drop.py 55 KB runs code
- tests/test_git_find_all_checkouts.py 11 KB runs code
- tests/test_git_hosted_vs_cached.py 7.0 KB runs code
- tests/test_git_loss_audit.py 18 KB runs code
- tests/test_git_prepare_clone_retirement.py 36 KB runs code
- tests/test_git_prepare_sparse_worktree.py 9.9 KB runs code
- tests/test_git_prepare_worktree_retirement.py 53 KB runs code
- tests/test_git_preserve_danglers.py 7.0 KB runs code
- tests/test_git_preserve_shared_wip.py 10 KB runs code
- tests/test_git_verify_branch_merged_options.py 15 KB runs code
- tests/test_git_verify_branch_merged.py 16 KB runs code
- tests/test_git_verify_closeout.py 41 KB runs code
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.
- today Changed · -19 lines f6962ff14bde
- 2d ago Changed · +79 lines 1ad479612100
- 4d ago Changed · +22 lines 4f595904e44f
- 7d ago Changed · +11 lines e6470c53d59d
- 9d ago Changed · +25 lines 8e3337ffccec
- 11d ago Changed · +2 lines 70e35bdd4596
- 16d ago Changed · -31 lines 2ad5ee816e1d
- 17d ago Changed · +9 lines cf3e47c4d060
- 21d ago Changed · +6 lines 22416ea03ea8
- 25d ago First seen · 901 lines · 107 tokens per session scan C 0c338935ba17
git-safety-net is a skill published in the GitHub repository daymade/claude-code-skills (1,557 stars, last pushed today), licensed MIT. It adds 107 tokens to every session and 19,051 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
git-safety-net compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| git-safety-netdaymade/claude-code-skills | Skill | 1.6k | today | MIT | C | 107 | Codex |
| imagegenopenai/codex | Skill | 137k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 102k | today | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 396k | today | MIT | A | 36 | Claude Code |
| free-llm-apismnfst/awesome-free-llm-apis | Skill | 15k | yesterday | CC0-1.0 | A | 113 | Claude Code, Codex |
| systematic-debuggingobra/superpowers | Skill | 331k | 4d ago | MIT | A | 21 | Claude Code |
| next-cache-components-adoptionvercel/next.js | Skill | 144k | today | MIT | A | 95 | Claude Code |