Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DeleteCmd = &cobra.Command{ Use: "delete <skill-name>", Short: "Delete a skill from the registry", Long: `Delete a skill from the registry. Examples: arctl skill delete my-skill --version 1.0.0`, Args: cobra.ExactArgs(1), RunE: runDelete, }
View Source
var InitCmd = &cobra.Command{
Use: "init [skill-name]",
Short: "Initialize a new agentic skill project",
Long: `Initialize a new agentic skill project.`,
RunE: runInit,
}
View Source
var ListCmd = &cobra.Command{
Use: "list",
Short: "List skills",
Long: `List skills from connected registries.`,
RunE: runList,
}
View Source
var PublishCmd = &cobra.Command{ Use: "publish <skill-name|skill-folder-path>", Short: "Publish a skill to the registry", Long: `Publish a skill to the agent registry. This command supports two modes: 1. From a local skill folder (with SKILL.md): arctl skill publish ./my-skill --docker-url docker.io/myorg arctl skill publish ./my-skill --github https://github.com/org/repo --version 1.0.0 2. Direct registration (without a local SKILL.md, GitHub only): arctl skill publish my-skill \ --github https://github.com/org/repo/tree/main/skills/my-skill \ --version 1.0.0 \ --description "My remote skill" In both modes, SKILL.md must exist at the specified GitHub path. In folder mode, the local skill folder must also contain a SKILL.md file with proper YAML frontmatter. If the path contains multiple subdirectories with SKILL.md files, all will be published.`, Args: cobra.ExactArgs(1), RunE: runPublish, }
View Source
var PullCmd = &cobra.Command{ Use: "pull <skill-name> [output-directory]", Short: "Pull a skill from the registry and extract it locally", Long: `Pull a skill from the registry and extract its contents to a local directory. Supports skills packaged as Docker images or hosted in GitHub repositories. If output-directory is not specified, it will be extracted to ./skills/<skill-name>`, Args: cobra.RangeArgs(1, 2), RunE: runPull, }
View Source
var ShowCmd = &cobra.Command{ Use: "show <skill-name>", Short: "Show details of a skill", Long: `Shows detailed information about a skill from the registry.`, Args: cobra.ExactArgs(1), RunE: runShow, }
View Source
var SkillCmd = &cobra.Command{ Use: "skill", Short: "Commands for managing skills", Long: `Commands for managing skills.`, Args: cobra.ArbitraryArgs, Example: `arctl skill list arctl skill show my-skill arctl skill publish ./my-skill arctl skill delete my-skill --version 1.0.0`, }
Functions ¶
func SetAPIClient ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.