Claude-skill-registry agentuity-cli-git-link

Link a project to a GitHub repository. Requires authentication

install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/agentuity-cli-git-link" ~/.claude/skills/majiayu000-claude-skill-registry-agentuity-cli-git-link && rm -rf "$T"
manifest: skills/data/agentuity-cli-git-link/SKILL.md
source content

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

agentuity git link [options]

Options

OptionTypeRequiredDefaultDescription
--repo
stringYes-Repository full name (owner/repo) to link
--deploy
booleanYes-Enable automatic deployments on push (default: true)
--preview
booleanYes-Enable preview deployments on pull requests (default: true)
--branch
stringYes-Branch to deploy from (default: repo default branch)
--root
stringYes-Root directory containing agentuity.json (default: .)
--confirm
booleanYes-Skip confirmation prompts

Examples

Link current project to a GitHub repository:

bunx @agentuity/cli git link

Link to a specific repo non-interactively:

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

Link from the current directory:

bunx @agentuity/cli git link --root .

Link to a specific branch:

bunx @agentuity/cli git link --branch main

Enable preview deployments on PRs:

bunx @agentuity/cli git link --preview true

Disable automatic deployments on push:

bunx @agentuity/cli git link --deploy false

Link a subdirectory in a monorepo:

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

Link and return JSON result:

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

Output

Returns JSON object:

{
  "linked": "boolean",
  "repoFullName": "string",
  "branch": "string"
}
FieldTypeDescription
linked
booleanWhether the project was linked
repoFullName
stringRepository that was linked
branch
stringBranch configured