用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/agentuity/sdk-explorer --skill agentuity-cli-git-link命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
Display the API key for the currently authenticated user. Requires authentication. Use for managing authentication credentials
Login to the Agentuity Platform using a browser-based authentication flow. Use for managing authentication credentials
Logout of the Agentuity Cloud Platform. Use for managing authentication credentials
正在显示 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"} |
Link a project to a GitHub repository
agentuity auth login--project-id)agentuity git link [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 |
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
Returns JSON object:
{
"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 |