agentleFS
oscabrieloscabriel/skills/replicant/SKILL.md

replicant

Skill63 starsChanged 58 days agoMITView on GitHub

Source-first external repository research using durable, human-findable local clones. Use when the user asks about an open-source repo, GitHub/GitLab URL, library internals, framework behavior, architecture, implementation details, or examples grounded in source code.

The file

We split this skill into the rules it gives an agent

11 rules. About 0 are common, 8 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use durable, human-findable local clones of external repositories as source context.

    line 9
  2. Very specific:

    Read config from the REPLICANT_CONFIG block above.

    line 33
  3. Distinctive:

    If one confident local match, use it.

    line 37
  4. Very specific:

    If no local match, resolve via web/code search, then map to clone_root/<host>/<owner>/<repo>.

    line 38
  5. Distinctive:

    If clone exists, update per configured policy.

    line 40
  6. Distinctive:

    Search and read source directly.

    line 42
  7. Distinctive:

    Treat external clones as read-only by default.

    line 47
  8. Distinctive:

    Do not commit, push, branch, reset, git clean, or delete clone contents unless explicitly asked.

    line 48
  9. Distinctive:

    Do not install dependencies or run builds/tests unless necessary for the answer.

    line 50
  10. Distinctive:

    Prefer implementation evidence over README claims.

    line 51
  11. Very specific:

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

    line 56

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.