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 wardawgmalvicious/agent-config --skill recreate-repogit clone --depth 1 https://github.com/wardawgmalvicious/agent-configWrote 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/wardawgmalvicious/agent-config/recreate-repo)<a href="https://agentmods.dev/skills/wardawgmalvicious/agent-config/recreate-repo"><img src="https://agentmods.dev/badge/skills/wardawgmalvicious/agent-config/recreate-repo/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/wardawgmalvicious/agent-config/recreate-repo"><img src="https://agentmods.dev/badge/skills/wardawgmalvicious/agent-config/recreate-repo.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00228 | $0.03549 |
| Opus 5.5 | $0.00091 | $0.01420 |
| Sonnet 5.5 | $0.00046 | $0.00710 |
| Haiku 4.5 | $0.00023 | $0.00355 |
Grade A, and why
recreate-repo 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 1mo 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.
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.
How it starts
The opening of the file, as written. The whole thing — 247 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Recreating a repository after a pushed leak
A name or a credential has reached GitHub: in a file, a commit message,
a pull request, a branch name. A rewrite in place is not the remedy.
refs/pull/N/head pin every commit a pull request touched, and GitHub
serves unreachable objects by SHA until a collection on no schedule you
control. GitHub's own page says the same of clones, forks and "cached
views", and of the pull requests themselves
(references/pushed-leaks.md). Deleting the
repository and creating it again is the immediate remedy, and the one in
the owner's hands: the pull request refs go with the repository. The
settings go with it too, which is why this is an order and not one
command; it was learned twice, on 2026-09-10 when nothing recorded the
old values, and on 2026-09-23 in a repo where nothing named the script.
Two things the recreate does not undo, and step 1 names both: a credential's exposure, and the copies in forks and clones.
1. Before anything: whose repo, where you are, what survives
gh api user -q .login # who gh acts as, here
gh repo view <owner>/<name> --json visibility,forkCount,isFork,parent
git rev-parse --show-toplevel # which repo this session is in
- A credential is revoked or rotated first. The recreate removes the record, not the exposure, and GitHub's page puts the rotation "as a first step". Its Support can purge cached views and pull request refs after a rewrite, but only for data it judges sensitive and only where rotating cannot mitigate the risk; that route was never tried here, and the recreate needs no one's judgment.
- The login must equal
<owner>.ghis folder-scoped on this machine: the repo's account inside an identity root, the keyring's active one outside every root (~/.claude/CLAUDE.md§ "Git identity is folder-scoped"). The script refuses-Exportand-Applyunder any other login;gh repo deleteandgh repo createmake no such check and act as whateverghresolves to, so the probe is yours. A mismatch is a stop: report it. - An organization's repo is a stop. It is its owners' to recreate, and the script's owner check refuses it.
- A public repo's
forkCountabove 0 means the leak outlives it. "Deleting a public repository will not delete any forks of the repository" — a private repo's forks go with it — and the fork owners have to be asked: GitHub "cannot provide contact information for these owners". Say so; the recreate still clears this repo. isForktrue, with a pull request into itsparent: that pull request lives in the parent, where this delete does not reach, and pins the commits there. Reasoned from GitHub's "any pull requests that reference them", not tried (2026-10-01).- Record
visibility. The snapshot leaves it out on purpose, so once the repo is gone nothing else says whether it was public or private, and step 5 needs it. - Add a leaked name to
~/.config/identity-denylist.txtif it is not there; a credential never goes in it.identity-guardknows only what is listed, and step 6's push is where it catches whatever the rewrite missed.
What ships with it
2 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.
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.
- 1mo ago Changed · +3 lines · +3 tokens per session 6010b50bcb76
- 1mo ago Changed a4ea961e491b
- 1mo ago Changed 8553ad886f7e
- 1mo ago Changed b121d604d5c1
- 1mo ago First seen · 244 lines · 225 tokens per session scan A 27e5ff24b0df
recreate-repo is a skill published in the GitHub repository wardawgmalvicious/agent-config (1 stars, last pushed 1mo ago), licensed MIT. It adds 228 tokens to every session and 3,549 once invoked, about $0.0009 per session on Opus 5.5. 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-10-02.
recreate-repo compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| recreate-repowardawgmalvicious/agent-config | Skill | 1 | 1mo ago | MIT | A | 228 | Claude Code |
| update-changelogAzure/azure-sdk-for-net | Skill | 6.1k | yesterday | MIT | A | 25 | Claude Code, Codex |
| release-notesAzure/azure-sdk-for-java | Skill | 2.6k | 2d ago | MIT | A | 50 | Claude Code, Codex |
| codegenAzure/azure-sdk-for-java | Skill | 2.6k | 2d ago | MIT | A | 37 | Claude Code, Codex |
| cosmos-pre-commit-validationAzure/azure-sdk-for-rust | Skill | 890 | 3d ago | MIT | A | 35 | Claude Code |
| bitbucketArvo-AI/aurora | Skill | 470 | today | Apache-2.0 | A | 23 | Claude Code |
| multi-repo-releaseAzure/GPT-RAG | Skill | 1.2k | 2mo ago | MIT | A | 56 | Claude Code, Codex |