Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
oscabriel avatar

Replicant

  • 15 installs
  • 63 repo stars
  • Updated July 18, 2026
  • oscabriel/skills

Configure a durable, agent-friendly clone root and policies so humans and coding agents reuse the same source trees instead of re-cloning into every project.

About

Replicant is an agent skill for managing a long-lived library of Git clones that both people and coding agents can find and reuse. It has no separate CLI; first-run behavior is driven from the skill’s REPLICANT_CONFIG block and a deliberate setup conversation where the agent presents recommended options and waits for explicit confirmation—or a single “accept recommendations”—before applying anything. Builders choose where clones live, how existing clones are updated, whether history is shallow or full, transport preference, and where inventory is recorded. That matters for solo and indie builders who juggle many repos across Cursor, Claude Code, or Codex sessions: you avoid duplicate shallow clones inside random project folders and get predictable pull behavior when trees are dirty. Use it when you want a human-findable clone depot (for example ~/clones) as the single source of truth for upstream repos your agents reference during build, ship, and operate work.

  • Intentional first-run setup with five explicit choices—no silent defaults
  • Configurable clone root, update policy (ask / auto-clean-only / never), depth (shallow vs full), and HTTPS vs SSH
  • Persists durable clones outside project repos for humans and agents
  • Inventory file anchored to the chosen clone root for discoverability

Replicant by the numbers

  • 15 all-time installs (skills.sh)
  • Ranked #403 of 733 Git & Pull Requests skills by installs in the Skillselion catalog
  • Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/oscabriel/skills --skill replicant

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs15
repo stars63
Last updatedJuly 18, 2026
Repositoryoscabriel/skills

What it does

Configure a durable, agent-friendly clone root and policies so humans and coding agents reuse the same source trees instead of re-cloning into every project.

Files

SKILL.mdMarkdownGitHub ↗

Replicant

Use durable, human-findable local clones of external repositories as source context. Prefer real source code over stale docs, generated summaries, or web snippets.

Replicant is a clone shelf, not a hidden cache, generated-docs system, or custom CLI.

<!-- REPLICANT_CONFIG configured: false clone_root: ~/clones default_update_policy: auto-clean-only default_clone_depth: full preferred_transport: ssh inventory_file: ~/clones/README.md last_setup_at: REPLICANT_CONFIG -->

Clone layout

<clone_root>/<host>/<owner>/<repo>

The clone_root in the config block above is authoritative.

Order of operations

1. Read config from the REPLICANT_CONFIG block above. 2. Extract repo clues: explicit URL, owner/repo, package name, keywords. 3. Normalize inputs — strip URL suffixes to host/owner/repo. 4. Search locally before any web search: check inventory file, then clone directories. Exact owner/repo beats substring. 5. If one confident local match, use it. If multiple, disambiguate locally; ask the user only if still ambiguous. 6. If no local match, resolve via web/code search, then map to clone_root/<host>/<owner>/<repo>. 7. Clone if missing (configured transport/depth). Ask before full-cloning obviously large repos. 8. If clone exists, update per configured policy. See setup for policy definitions. 9. Record git rev-parse HEAD and git status --porcelain before use. 10. Search and read source directly. 11. Answer with evidence: commit SHA, file paths, line ranges.

Research rules

  • Treat external clones as read-only by default.
  • Do not commit, push, branch, reset, git clean, or delete clone contents unless explicitly asked.
  • Preserve local modifications; do not auto-update dirty clones.
  • Do not install dependencies or run builds/tests unless necessary for the answer.
  • Prefer implementation evidence over README claims.
  • Cite commit SHA and file paths with line ranges when practical.

First-run setup

If configured: false in the config block above, run setup before first use.

First-run setup must be intentional, not silent. Walk the user through every configurable choice in the setup reference before writing config. You may recommend defaults and the user may accept all of them, but do not assume defaults without an explicit user choice or confirmation.

References

  • Workflow recipes — clone, update, search, resolution, and answer commands.
  • Setup reference — first-run prompts, policy definitions, config format, fallback paths.

Related skills

Git & Pull Requestsgitintegrations

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.