github-fork-cleanup

github-fork-cleanup is a skill for Claude Code, Codex from techysy/yangyu-hermes-skills. It costs 18 tokens per session (1,608 once invoked), scanned C, original, no licence file.

A guide for turning a forked Git repository into a standalone repository by cleaning its history, preserving attribution, and renaming it.

In plain words
What is it for?
Use it when preparing a fork to become an independently named and maintained repository.
Why use it?
It helps separate copied project work from the original repository while keeping credit for earlier contributors.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it when preparing a fork to become an independently named and maintained repository.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/techysy/yangyu-hermes-skills/github-fork-cleanup
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.

Any agent
npx skills add techysy/yangyu-hermes-skills --skill github-fork-cleanup
Clone the repo
git clone --depth 1 https://github.com/techysy/yangyu-hermes-skills

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for github-fork-cleanup

README.md
[![agentmods](https://agentmods.dev/badge/skills/techysy/yangyu-hermes-skills/github-fork-cleanup.svg)](https://agentmods.dev/skills/techysy/yangyu-hermes-skills/github-fork-cleanup)
Your own site
<a href="https://agentmods.dev/skills/techysy/yangyu-hermes-skills/github-fork-cleanup"><img src="https://agentmods.dev/badge/skills/techysy/yangyu-hermes-skills/github-fork-cleanup.svg" alt="Measured on agentmods" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,608 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.1 $0.00018 $0.01608
Opus 5 $0.00009 $0.00804
Sonnet 5 $0.00004 $0.00322
Haiku 4.5 $0.00002 $0.00161

Measured 7d ago against content hash b68f0406d26b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade C, and why

github-fork-cleanup scanned grade C with 2 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 7d ago.

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.

rm -rf .git

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -sL "https://raw.githubusercontent.com/owner/repo/main/assets/image.jpg" -o assets/image.jpg
skills/github/github-fork-cleanup/SKILL.md · 166 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

4 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.

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. 7d ago First seen · 166 lines · 18 tokens per session scan C b68f0406d26b

Subscribe to this mod's changes

github-fork-cleanup is a skill published in the GitHub repository techysy/yangyu-hermes-skills (5 stars, last pushed 13d ago), with no licence file. It adds 18 tokens to every session and 1,608 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 2 findings (recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

dependency-update-bot

Scans your project for outdated npm, pip, Cargo, Go, or Ruby packages. Runs a CVE security audit. Fetches changelogs, summarizes breaking changes with Gemini, and opens one PR per risk group (patch, minor, major). Includes Diagnosis Mode for install conflicts. Use when asked to update dependencies, check for outdated…

Varnan-Tech/opendirectory · 134 tokens

explain-this-pr

Takes a GitHub PR URL or the current branch and writes a plain-English explanation of what it does and why, then posts it as a PR comment. Use when asked to explain a PR, summarize a pull request, write a plain-English description of a PR, add a summary comment to a PR, or understand what a PR changes. Trigger when a…

Varnan-Tech/opendirectory · 121 tokens

pr-description-writer

Use when the user asks to write, draft, generate, or update a GitHub pull request description for the current branch. Reads the branch diff and commit messages, writes a structured PR body (summary, changes, testing), and optionally creates or updates the PR via the gh CLI.

Varnan-Tech/opendirectory · 62 tokens

github-pre-push-gates

Before pushing a branch to a shared remote, run through these gates. They prevent pushing credentials, PII, private history, or a broken tree. The skill covers the pre-PR quality phase — use github-pr-workflow for the PR lifecycle itself.

AtlasOmnia/donna-starter · 39 tokens

coding-worktree-recovery

Use this skill when coding-agent work is interrupted, an agent exits without a clean commit, multiple controllers target the same checkout, or the checkout produces inconsistent file/Git behavior.

AtlasOmnia/donna-starter · 56 tokens

local-app-github-publishing

Use this when the user asks to push a local app/prototype/project to GitHub for the first time, especially Electron, iOS/Xcode, mobile, desktop, or AI/API-integrated apps.

AtlasOmnia/donna-starter · 34 tokens