AgentSkillsCN

agentuity-cli-project-import

将本地项目导入或注册至 Agentuity Cloud。需进行身份验证。适用于项目管理相关操作。

SKILL.md
--- frontmatter
name: agentuity-cli-project-import
description: Import or register a local project with Agentuity Cloud. Requires authentication. Use for project management operations
version: "0.1.24"
license: Apache-2.0
allowed-tools: "Bash(agentuity:*)"
metadata:
  command: "agentuity project import"
  tags: "mutating creates-resource requires-auth"

Project Import

Import or register a local project with Agentuity Cloud

Prerequisites

  • Authenticated with agentuity auth login

Usage

bash
agentuity project import [options]

Options

OptionTypeRequiredDefaultDescription
--dirstringYes-Directory containing the project (default: current directory)
--validateOnlybooleanYes-Only validate the project structure without prompting

Examples

Import project in current directory:

bash
bunx @agentuity/cli project import

Import project from specified directory:

bash
bunx @agentuity/cli project import --dir ./my-agent

Output

Returns JSON object:

json
{
  "success": "boolean",
  "projectId": "string",
  "orgId": "string",
  "region": "string",
  "status": "string",
  "message": "string"
}
FieldTypeDescription
successbooleanWhether the import succeeded
projectIdstringProject ID if imported
orgIdstringOrganization ID
regionstringRegion
statusstringThe result status of the import
messagestringStatus message