add-repo

Clone and index Git repositories for AI agent access with optional branch selection.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/blueraai/bluera-knowledge --skill add-repo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-repo
Source: https://github.com/blueraai/bluera-knowledge/tree/main/skills/add-repo
Command: npx skills add https://github.com/blueraai/bluera-knowledge --skill add-repo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the process of cloning and indexing external code repositories, making their source code searchable and accessible for AI agents.

Core Features & Use Cases

  • Repository Cloning: Clones specified Git repositories.
  • Source Code Indexing: Indexes the cloned source code for semantic search.
  • Branch Support: Allows specifying a particular branch to index.
  • Use Case: An AI agent needs to understand the implementation details of a specific library it depends on. This Skill clones the library's repository and indexes it, allowing the AI to query its codebase directly.

Quick Start

Clone and index the repository at https://github.com/facebook/react using the default branch.

Frequently Asked Questions about add-repo

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

FAQPage Schema
How do I index a git repository for AI source code search?

You can index a git repository for AI source code search by cloning it into a local knowledge store. This enables efficient retrieval of source code context for AI-driven development tasks.

How does code indexing make a repository accessible to an AI agent?

Code indexing works by cloning the source code and organizing it into a local knowledge store. This setup allows an AI agent to directly query the codebase and retrieve specific implementation details.

Can I index a specific branch of a repository for code analysis?

Yes, you can index a specific branch of a repository for code analysis. The repository cloning and indexing process supports branch selection, allowing you to target a specific branch instead of the default.

Do I need to manually clone a repository before indexing it for an AI knowledge base?

No, you do not need to manually clone a repository before indexing it for an AI knowledge base. The indexing process automates repository cloning, directly pulling the specified Git repository into the local store.

What is the best way to provide an AI agent with external library implementation context?

The best way to provide an AI agent with external library implementation context is to clone and index the library's repository into a local knowledge store. This enables the AI to query the source code directly during development tasks.

Are there limitations when indexing large repositories into a local knowledge store?

The metadata does not specify explicit limitations when indexing large repositories into a local knowledge store. However, the process focuses on cloning and indexing source code to enable efficient retrieval for AI-driven development tasks.