repo

Manage AI agent repository placement with standardized layout and discoverability.

4.6k|161|Updated Oct 1, 2022
One-click install
npx skills add https://github.com/x-cmd/x-cmd --skill repo-x-cmd
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: repo
Source: https://github.com/x-cmd/x-cmd/tree/main/mod/skill0/lib/skill0/skills/repo
Command: npx skills add https://github.com/x-cmd/x-cmd --skill repo-x-cmd

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires git, x-repo, and includes scripts (resource) components.

What problem does it solve?

This Skill provides a standardized convention and tooling for managing where agent-cloned repositories live, ensuring consistency and efficiency across all AI agents.

Core Features & Use Cases

  • Standardized Repository Layout: Defines a convention for repository placement, making it easier to locate and manage cloned repositories.
  • Default Clone Location: Determines the default clone location for AI agents, which can be overridden by the user as needed.
  • Discoverable Repository List: Allows users to easily discover what repositories have been cloned using the x repo ls command.
  • Reusable Clones: Encourages reusing existing clones instead of cloning multiple copies, optimizing storage and reducing redundancy.
  • Ready for Sync/Shared Cache: Prepares the repository structure for upcoming features like synchronization, sharing, and caching.

Quick Start

Clone a repository to the standard location with x repo clone <url>.

Frequently Asked Questions about repo

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

FAQPage Schema
How do I standardize git repository placement for AI agents?▼

Standardizing git repository placement for AI agents involves applying a consistent layout convention so all cloned repositories live in predictable locations. This Skill enforces that standard using x-repo tooling.

What is the default clone location when an AI agent clones a git repository?▼

The default clone location is a standardized directory determined by this Skill, ensuring AI agents consistently place cloned git repositories in a discoverable path. Users can override this default location as needed.

How do I list all git repositories cloned by AI agents?▼

To list all git repositories cloned by AI agents, run the `x repo ls` command. This discovers all existing clones managed under the standardized repository layout provided by this Skill.

Does this repository management approach work without x-repo installed?▼

No, this repository management approach requires both git and x-repo installed. The x-repo dependency handles managing and synchronizing the standardized repository locations defined by this Skill.

Can I reuse existing git clones instead of downloading multiple copies?▼

Yes, you can reuse existing git clones instead of downloading multiple copies. This Skill encourages reusing existing clones to optimize storage and reduce redundancy across multiple AI agents.

How do I clone a repository to the standard AI agent location?▼

To clone a repository to the standard AI agent location, run `x repo clone <url>`. This command places the cloned repository into the standardized, discoverable directory defined by the Skill.