Skip to content
Back to skills

Add Repo

ASecurity

Register a new sub-repo in the knowledge base.

  • 2 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 9, 2026
businessbashgit

Security analysis

A100/100

Scanned September 9, 2026

npx -y skills add jupes/agent-forge-harness --skill add-repo --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Add Repo?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Add Repo
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jupes-add-repo/badge)](https://www.skillsdirectory.com/skills/jupes-add-repo)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: add-repo
description: Register a new sub-repo in the knowledge base.
---

# add-repo

Adds a new sub-repo to the harness: updates **local** `repos/repos.json` (gitignored), clones, generates knowledge YAML.

If `repos/repos.json` is missing, copy `repos/repos.json.example` to `repos/repos.json` and edit entries there. Do not commit `repos/repos.json`.

## When to Use

- Bringing a new repository under Agent Forge management

## Steps

### 1. Resolve location

Accept HTTPS, SSH URL, or local path. Extract repo name from URL (last segment without .git).

### 2. Check for duplicates

```bash
cat repos/repos.json | jq '.repos[] | select(.name == "<repo-name>")'
```

If already exists: report and stop.

### 3. Update repos.json

Add: `{"name":"<name>","url":"<url>","defaultBranch":"main"}`

### 4. Clone

```bash
bun run repo init --repo <repo-name> --human
```

### 5. Generate knowledge

```bash
/sync-knowledge <repo-name>
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.