Skip to content
Back to skills

Agentuity Cli Git Link

ASecurity

Link a project to a GitHub repository. Requires authentication

  • 666 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 3, 2026
ai-agentsbashgit

Works with

  • cli

Security analysis

A100/100

Scanned June 3, 2026

npx -y skills add majiayu000/claude-skill-registry --skill agentuity-cli-git-link --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Agentuity Cli Git Link?

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

Security grade badge for Agentuity Cli Git Link
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-agentuity-cli-git-link/badge)](https://www.skillsdirectory.com/skills/majiayu000-agentuity-cli-git-link)

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: agentuity-cli-git-link
description: Link a project to a GitHub repository. Requires authentication
version: "0.1.2"
license: Apache-2.0
allowed-tools: "Bash(agentuity:*)"
metadata:
  command: "agentuity git link"
  tags: "mutating creates-resource"
---

# Git Link

Link a project to a GitHub repository

## Prerequisites

- Authenticated with `agentuity auth login`
- Project context required (run from project directory or use `--project-id`)

## Usage

```bash
agentuity git link [options]
```

## Options

| Option | Type | Required | Default | Description |
|--------|------|----------|---------|-------------|
| `--repo` | string | Yes | - | Repository full name (owner/repo) to link |
| `--deploy` | boolean | Yes | - | Enable automatic deployments on push (default: true) |
| `--preview` | boolean | Yes | - | Enable preview deployments on pull requests (default: true) |
| `--branch` | string | Yes | - | Branch to deploy from (default: repo default branch) |
| `--root` | string | Yes | - | Root directory containing agentuity.json (default: .) |
| `--confirm` | boolean | Yes | - | Skip confirmation prompts |

## Examples

Link current project to a GitHub repository:

```bash
bunx @agentuity/cli git link
```

Link to a specific repo non-interactively:

```bash
bunx @agentuity/cli git link --repo owner/repo --branch main --confirm
```

Link from the current directory:

```bash
bunx @agentuity/cli git link --root .
```

Link to a specific branch:

```bash
bunx @agentuity/cli git link --branch main
```

Enable preview deployments on PRs:

```bash
bunx @agentuity/cli git link --preview true
```

Disable automatic deployments on push:

```bash
bunx @agentuity/cli git link --deploy false
```

Link a subdirectory in a monorepo:

```bash
bunx @agentuity/cli git link --root packages/my-agent
```

Link and return JSON result:

```bash
bunx @agentuity/cli --json git link --repo owner/repo --branch main --confirm
```

## Output

Returns JSON object:

```json
{
  "linked": "boolean",
  "repoFullName": "string",
  "branch": "string"
}
```

| Field | Type | Description |
|-------|------|-------------|
| `linked` | boolean | Whether the project was linked |
| `repoFullName` | string | Repository that was linked |
| `branch` | string | Branch configured |

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.