create
inctl skill create
Create a new skill.
Synopsis
Create the sources and build rules for a new skill.
inctl skill create skill_id [flags]
Examples
Create a skill with name "my_move" and package "com.my_org" in the current working directory:
$ inctl skill create com.my_org.my_move --proto_package my_org
Create a skill in the subfolder "my_move" of your workspace folder "/src/skill_workspace":
$ inctl skill create com.my_org.my_move --workspace_root /src/skill_workspace --bazel_package my_move
If you leave out --proto_package, the skill's package name will be used as the skill's proto package. Thus the following two calls are equivalent:
$ inctl skill create com.my_org.my_move
$ inctl skill create com.my_org.my_move --proto_package com.my_org
Options
--bazel_package string (optional) Bazel package in which to create the skill files (e.g. 'ball_skills/throw_ball'). Defaults to '' (the workspace root). If no BUILD file or folder is present for the given package, they will be created.
--dry_run (optional) If set, no files will be created or modified.
-h, --help help for create
--language string (optional) Implementation language to generate (cpp, python, default python). (default "python")
--proto_package string (optional) Proto package for the skills parameter proto. It is recommended to set this explicitly, otherwise defaults to the skills package (=the package portion of the given skill ID).
--sdk_repository string (optional) Git repository from which to fetch the Intrinsic SDK, e.g., "https://github.com/intrinsic-ai/sdk.git". Only required if workspace_root is not yet a Bazel workspace.
--sdk_version string (optional) Version of the Intrinsic SDK to fetch. Only required if workspace_root is not yet a Bazel workspace.
--workspace_root string (optional) Path to the root of the workspace in which to create the skill files. Defaults to the current working directory.Can either be a relative path (to the current working directory) or an absolute filesystem path. A new workspace will be automatically created given that --sdk_repository is also provided.
Options inherited from parent commands
-o, --output string (optional) Output format. One of: (json, ndjson)
--print-trace Print the trace identifier when exiting.
SEE ALSO
- inctl skill - Manage Skill assets.