codebase

Manage repository registration, cloning, worktrees, and PR workflows in Harvis.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/popodidi/harvis --skill codebase
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codebase
Source: https://github.com/popodidi/harvis/tree/main/projects/self/skills/codebase
Command: npx skills add https://github.com/popodidi/harvis --skill codebase

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the management of code repositories within a Harvis workspace, coordinating registries, clones, and memory-specific worktrees to keep development organized and up-to-date.

Core Features & Use Cases

  • Central repository registry: add, remove, and list repos for a project.
  • Canonical and memory worktrees: clone repos, create memory-specific worktrees, and manage branches.
  • Analysis & PR workflow: analyze code and submit PRs across memories and projects.
  • Workflow automation: synchronize dependencies and run development commands within memory worktrees.

Quick Start

Within a memory, use commands like:

  • /codebase add frontend [email protected]:org/frontend.git
  • /codebase clone
  • /codebase worktree frontend

Frequently Asked Questions about codebase

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

FAQPage Schema
How do I manage multiple git repositories within a single workspace?

You can manage multiple git repositories by registering them in a central repo.yaml. This allows you to add, remove, and track project repositories from one location within your workspace.

How do I create a worktree for a specific memory in my project?

To create a memory worktree, use the /codebase worktree command within your memory folder. This generates a memory-specific worktree with isolated branches for organized development.

Can I automate pull request workflows across different project memories?

Yes, you can automate pull request workflows across memories and projects. The system analyzes code within memory worktrees and manages PR submissions to keep repositories synchronized.

What do I need to set up before cloning repositories and creating worktrees?

You need Git installed, a project-level repo.yaml file for repository registration, and designated memory folders. These components coordinate cloning and worktree creation within the workspace.

How does a memory worktree differ from a standard git clone?

A standard git clone creates a canonical repository copy, while a memory worktree generates an isolated working directory linked to that clone. This allows multiple memories to develop branches independently without interfering with the main repository.