gitreverse

gitreverse is a skill for Claude Code from dmae97/omk. It costs 84 tokens per session (686 once invoked), scanned A, original, MIT.

A tool for turning a public GitHub repository—a code project hosted online—into one user prompt for rebuilding the project from scratch with a coding assistant.

In plain words
What is it for?
Use it when you have a GitHub repository link or owner-and-repository name and want to reconstruct it through prompt-based coding.
Why use it?
It gives a coding assistant a single description of an existing project instead of requiring the project to be explained piece by piece.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions Claude Code; mentions Codex.

Good fit Use it when you have a GitHub repository link or owner-and-repository name and want to reconstruct it through prompt-based coding.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dmae97/omk/gitreverse
View source ↗ dmae97/omk
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 dmae97/omk --skill gitreverse
Clone the repo
git clone --depth 1 https://github.com/dmae97/omk

Made for: Claude Code.

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 gitreverse

README.md
[![agentmods](https://agentmods.dev/badge/skills/dmae97/omk/gitreverse/github.svg)](https://agentmods.dev/skills/dmae97/omk/gitreverse)
Your own site
<a href="https://agentmods.dev/skills/dmae97/omk/gitreverse"><img src="https://agentmods.dev/badge/skills/dmae97/omk/gitreverse/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.

agentmods 80×15 button for gitreverse

Your own site · 80×15
<a href="https://agentmods.dev/skills/dmae97/omk/gitreverse"><img src="https://agentmods.dev/badge/skills/dmae97/omk/gitreverse.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 686 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00084 $0.00686
Opus 5.5 $0.00034 $0.00274
Sonnet 5.5 $0.00017 $0.00137
Haiku 4.5 $0.00008 $0.00069

Measured 3mo ago against content hash aee7935addea, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

gitreverse 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 3mo 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.

.omk/skills/gitreverse/SKILL.md · 59 lines

How it starts

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

GitReverse — repository to prompt

Reverse a public GitHub repository into one short, conversational user prompt grounded in real repo context. This ports the GitReverse flow (https://github.com/filiksyos/gitreverse) into an OMK skill: pull repo metadata, a depth-1 root file tree, and the README, then synthesize the single prompt a person could paste into an AI coding agent to rebuild the project from scratch.

Core workflow

  1. Parse the target: accept a full GitHub URL (https://github.com/owner/repo, including /tree/... paths — use the whole repo for now) or an owner/repo slug. GitHub-style tree subpaths are NOT scoped yet; the reverse flow uses the whole repo.
  2. Verify visibility: only public repositories. If the repo 404s, is private, or requires auth to read, stop and report it as a blocker.
  3. Fetch exactly three evidence surfaces:
    • repo metadata (owner, name, description, primary language, topics)
    • root file tree at depth 1 (top-level files and directories)
    • README (rendered to text)
  4. Synthesize one short, conversational prompt grounded in that context. It describes what to build, not how to copy it — no file dumps, no verbatim README paste, no system prompts.
  5. Cite evidence: name which facts came from metadata vs. file tree vs. README, and keep observed facts clearly separated from synthesized text.

Tool selection

  • Tools: gh or git for local checks; plain HTTPS fetch against api.github.com is enough (metadata, git/trees, readmes endpoints)
  • MCP: github, filesystem
  • Hooks: protect-secrets, stop-verify

Safety constraints

  • Public repositories only. Never fetch, mirror, or echo private repo contents even if a token is available.
  • If a README or file listing exposes secrets (tokens, keys, credentials), do not copy them into the prompt; redact and note the finding.
  • The output is a user prompt, not documentation or a system prompt.
  • Rate limits: prefer unauthenticated GitHub API and few requests; set a token only if the user provides one for higher limits.

Read the full file on GitHub · 59 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. 3mo ago First seen · 59 lines · 84 tokens per session scan A aee7935addea

Subscribe to this mod's changes

gitreverse is a skill published in the GitHub repository dmae97/omk (155 stars, last pushed today), licensed MIT. It adds 84 tokens to every session and 686 once invoked, about $0.0003 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-08-30.

Related

gitreverse compared with skills from other repositories

gitreverse next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gitreversedmae97/omkSkill155todayMITA84Claude Code
buncode-yeongyu/senpiSkill530todayMITA237Claude Code, Codex
my-pi-nopeekspences10/my-piSkill144todayMITA26Claude Code, Codex
create-repeatable-taskspences10/my-piSkill144todayMITA50Claude Code, Codex
review-session-tracespences10/my-piSkill144todayMITA42Claude Code, Codex
execute-harnessspences10/my-piSkill144todayMITA34Claude Code, Codex
my-pi-sqlitespences10/my-piSkill144todayMITA24Claude Code, Codex