Agent skill

Extract Repo

by archibate in archibate/dotfiles-opencode

Download GitHub repos as clean source code (no .git history) to WORKDIR.

No licenceAuto-check passedDevelopment

Install Extract Repo

skills CLI
$ npx skills add archibate/dotfiles-opencode --skill extract-repo -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install archibate/dotfiles-opencode extract-repo --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/archibate/dotfiles-opencode.git skills-src && mkdir -p .claude/skills && cp -r skills-src/optional-skills/extract-repo .claude/skills/extract-repo && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
extract-repo
GitHub stars
108
Token cost
~370 tokens
SKILL.md length
81 words
Files
2 (incl. scripts)
Skills in repo
34
Repo updated
First seen
Licence
None found

At a glance

Download GitHub repos as clean source code (no .git history) to WORKDIR.

  • Cloning repos for analysis
  • SKILL.md covers Usage, Available Flags, Examples and Notes
  • Runs Python scripts from its folder; calls uv; reaches github.com
  • Tasks that involve Git workflow

What it does

Extract Repo is an agent skill from archibate/dotfiles-opencode. Download GitHub repos as clean source code (no .git history) to WORKDIR. Use when cloning repos for analysis or modification. Not for monorepos.

Its SKILL.md is about 370 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/extract_repo.py`).

It sits in Development, covering Git workflow and Monorepo tooling. It works with GitHub. The repository describes itself as: Archibate's personal configuration for OpenCode.

When your agent uses it

  • Cloning repos for analysis
  • Tasks that involve Git workflow
  • Tasks that involve Monorepo tooling

Example prompts

  • “/extract-repo”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit 46b6b23. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • uv

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Extract Repo loads about 370 tokens when it runs. Until then it costs about 39 tokens; SKILL.md has 81 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~39
When it runs · the whole SKILL.md, loaded when a task matches
~370

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 81 words (~370 tokens).

“Download GitHub repositories as clean source code without git history.”

— opening of SKILL.md by archibate
name
extract-repo

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file (scripts) in optional-skills/extract-repo of archibate/dotfiles-opencode.

  • SKILL.md
  • scripts/extract_repo.py

Open the folder on GitHubat commit 46b6b23

Compare with similar skills

Extract Repo next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Extract Repo compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Extract Repo this skillarchibate/dotfiles-opencode108—~370Automated safety check: PassNone
Gh Helpershepherdjerred/monorepo112—~4.4kAutomated safety check: PassGPL-3.0
Subtree Publishcat-xierluo/legal-skills720—~1.8kAutomated safety check: NotesMIT
Contributor-First PR MergeHKUDS/OpenHarness16k1 repos~847Automated safety check: PassMIT
Migrate Internal Package into GhostTryGhost/Ghost56k—~3.8kAutomated safety check: PassMIT
Create Pull Requestcline/cline70k1 repos~1.6kAutomated safety check: PassApache-2.0

Similar skills

  • Gh Helper

    shepherdjerred/monorepo

    Complete GitHub operations via gh CLI - repos, issues, PRs, code search, releases, file management When user mentions GitHub, repositories, issues, PRs, gh command, code search, commits, file contents

    112 GitHub stars~4.4k tokensUpdated today
    DevelopmentAuto-check passed
  • Subtree Publish

    cat-xierluo/legal-skills

    将 monorepo 中的子目录通过 git subtree 推送到独立 GitHub 仓库。支持注册清单、变更自动检测、增量推送。本技能应在用户提交涉及已注册子项目的变更后,或手动请求推送到独立仓库时使用。不要用于初次创建 monorepo 或管理 git submodule。

    720 GitHub stars~1.8k tokensUpdated today
    DevelopmentAuto-check: notes
  • Merges external GitHub pull requests while keeping the original author credited, and fixes conflicts after the merge instead of rewriting the contribution.

    16k GitHub starsUsed in 1 repo~847 tokens
    DevelopmentAuto-check passed
  • Moves a package from another TryGhost repository into Ghost as an internal workspace package while keeping its Git history, with checkpoints for the steps that need an administrator.

    56k GitHub stars~3.8k tokensUpdated today
    DevelopmentAuto-check passed
  • Opens a GitHub pull request from your current branch with the gh CLI, after reviewing the commits and diff and gathering the details the PR needs.

    70k GitHub starsUsed in 1 repo~1.6k tokens
    DevelopmentAuto-check passed
  • Cutting A Release

    TriliumNext/Trilium

    A skill your agent uses when cutting, preparing, or debugging a Trilium release — bumping the monorepo version, tagging, or diagnosing a failed "Release" workflow run.

    38k GitHub stars~3.2k tokensUpdated today
    DevelopmentAuto-check passed

More from archibate/dotfiles-opencode

All 34 skills in this repo
  • Glm Vision

    archibate/dotfiles-opencode

    This skill should be used when the user sends an image and asks to "analyze this image", "describe this picture", "what's in this image", or any request requiring visual understanding of images.

    108 GitHub stars~795 tokensUpdated 5 mo ago
    Auto-check passed
  • Pueue

    archibate/dotfiles-opencode

    This skill should be used before running non-interactive long-running tasks, computation intensive tasks, background tasks, or needs guidance on the pueue CLI tool usage.

    108 GitHub stars~637 tokensUpdated 5 mo ago
    Auto-check passed
  • Bilibili API

    archibate/dotfiles-opencode

    This skill should be used when the user asks to "use bilibili API", "download bilibili video", "get bilibili user info", "list bilibili favorites", "send bilibili danmaku", "upload video to…

    108 GitHub stars~2.1k tokensUpdated 5 mo ago
    Auto-check: warnings
  • Show Image

    archibate/dotfiles-opencode

    Show images in terminal using the Kitty image protocol. An agent skill from archibate/dotfiles-opencode.

    108 GitHub stars~596 tokensUpdated 5 mo ago
    Auto-check passed
  • Show Image

    archibate/dotfiles-opencode

    Show images in terminal using the Kitty image protocol. An agent skill from archibate/dotfiles-opencode.

    108 GitHub stars~622 tokensUpdated 5 mo ago
    Auto-check passed
  • Tmux

    archibate/dotfiles-opencode

    Remote control tmux sessions for interactive CLIs (python, gdb, etc.) by sending keystrokes and scraping pane output.

    108 GitHub stars~1.4k tokensUpdated 5 mo ago
    Auto-check passed

Works with

Categories

Questions about Extract Repo

What does Extract Repo do?

Download GitHub repos as clean source code (no .git history) to WORKDIR. Extract Repo is an agent skill from archibate/dotfiles-opencode.git history) to WORKDIR.

When should I use Extract Repo?

Extract Repo fits situations like: cloning repos for analysis; tasks that involve Git workflow; tasks that involve Monorepo tooling.

How do I install Extract Repo in Claude Code?

Run `npx skills add archibate/dotfiles-opencode --skill extract-repo -a claude-code`. Or copy the skill folder (optional-skills/extract-repo in archibate/dotfiles-opencode) into .claude/skills/extract-repo in your project. Claude Code loads it when a task matches its description.

How do I install Extract Repo in Codex?

Run `npx skills add archibate/dotfiles-opencode --skill extract-repo -a codex`. Or copy the skill folder (optional-skills/extract-repo in archibate/dotfiles-opencode) into .agents/skills/extract-repo in your project. Codex loads it when a task matches its description.

Can I use Extract Repo in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add archibate/dotfiles-opencode --skill extract-repo -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/extract-repo, .gemini/skills/extract-repo, .github/skills/extract-repo and .opencode/skills/extract-repo in your project.

What does Extract Repo need to run?

Going by SKILL.md and its folder, Extract Repo needs Python for the scripts in its folder and the command-line tools its instructions call (uv). Our summary lists: Python 3.

Does Extract Repo access the network?

SKILL.md names 1 domain. In commands or code: github.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Extract Repo safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Extract Repo use?

No licence was found for Extract Repo or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Extract Repo use?

About 370 tokens (SKILL.md is roughly 1.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Extract Repo?

Skills that share tags, products or a category with Extract Repo: Gh Helper (shepherdjerred/monorepo, 112 stars), Subtree Publish (cat-xierluo/legal-skills, 720 stars), Contributor-First PR Merge (HKUDS/OpenHarness, 16k stars) and Migrate Internal Package into Ghost (TryGhost/Ghost, 56k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Extract Repo?

archibate (a GitHub user) maintains it in archibate/dotfiles-opencode, which has 108 GitHub stars. The repository holds 34 skills in this directory. The repository was last updated on April 29, 2026.

Source: archibate/dotfiles-opencode on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.