repocache

Mirror external repositories locally via Git, jq, and base64 tooling.

Updated Feb 11, 2026
One-click install
npx skills add https://github.com/leto-labs/openclaw-bootstrap-config --skill repocache
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: repocache
Source: https://github.com/leto-labs/openclaw-bootstrap-config/tree/main/skills/repocache
Command: npx skills add https://github.com/leto-labs/openclaw-bootstrap-config --skill repocache

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires git, jq, base64, and includes scripts (resource) components.

What problem does it solve?

Repocache provides a local mirror of external repositories and a bootstrap workspace to explore third-party code, ensuring answers come from actual source rather than model memory.

Core Features & Use Cases

  • Local mirror of external repositories for source-of-truth exploration.
  • One-click bootstrap of a repocache workspace, including configuration and cloning.
  • Declarative resource management via repocache.json to track and clone paths.

Use cases include inspecting how a library works by reading source code, adding new repos to repocache, and setting up a fresh repocache in new projects.

Quick Start

Run the bootstrap_repocache.sh script to initialize a repocache workspace, then use clone.sh to populate repositories as needed.

Frequently Asked Questions about repocache

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a local mirror of external repositories to explore source code?

You can create a local mirror of external repositories by running a bootstrap script that initializes a workspace, then using a cloning script to populate third-party code for source-of-truth exploration.

What is the best way to bootstrap a reproducible workspace for third-party code?

The best way to bootstrap a reproducible workspace is using a declarative JSON configuration file to track and clone repository paths, ensuring consistent access to external code across different environments.

How do I ensure answers about a library come from actual source rather than model memory?

To ensure answers come from actual source rather than model memory, set up a local repo mirror that provides direct access to cloned external repository files for inspection.

Do I need git and jq installed to manage a local repository mirror?

Yes, you need git, jq, and base64 tooling installed in your environment, as the repository cloning, management, and querying processes rely on these specific dependencies to function.

How do I add new repositories to an existing repocache workspace?

You add new repositories to a repocache workspace by declaratively specifying their paths in a repocache.json configuration file and then executing the clone script to populate the new sources.

Can I use this local repo mirror approach for selective cloning in devtool workflows?

Yes, this local repo mirror approach supports selective cloning within devtool workflows, enabling quick bootstrap and resource configuration for developer environments needing reproducible external code access.