Uploading a skill artifact

Upload a packaged skill bundle to the Cloudera Agent Studio skill catalog as a personal draft or a published catalog version instead of creating it in the editor.

Use this task when you already have a skill as a package, for example a skill that you authored outside Agent Studio or downloaded from another catalog. To create a skill in the editor instead, see Creating a skill.

The Upload skill dialog accepts a gzip-compressed tar archive (a .tar.gz bundle). Agent Studio names the skill after the file.

The Upload skill dialog has the following elements:

  • Check to publish the skill to the catalog.: A check box.
  • Drop a skill bundle here: The drop zone for the bundle.
  • Cancel and Upload skill buttons: The Upload skill button is unavailable until you add a file.
  • Ensure that your user has the Admin or Builder role. Agent Studio does not display the Upload Artifact button for other roles. See User roles and capabilities.
  • Ensure that you have the skill as a .tar.gz file. The file name, without the extension, is the name of the skill. Choose a name that is not in use by an existing skill.
  • Ensure that the size of the file is 64 MiB or smaller. If the file is larger, the upload fails.
  1. Launch the Cloudera Agent Studio console.
  2. In the left navigation pane, click Assets > Skill Catalog.
    The Skills page is displayed. The page lists your draft skills in the My Drafts section and the published skills in the Skills section.
  3. Click Upload Artifact.
    The Upload skill dialog is displayed.
  4. Optional: To publish the skill to the catalog, select Check to publish the skill to the catalog.
    If you do not select the check box, Agent Studio uploads the bundle as your personal draft. If you select the check box, Agent Studio publishes a catalog version that other users can discover and use.
  5. Add the bundle file in one of the following ways:
    • Drag the .tar.gz file to the drop zone.
    • Click Drop a skill bundle here, and then select the file in the file dialog of your browser. To close the file dialog without selecting a file, click Cancel.
  6. Click Upload skill.
    To close the Upload skill dialog without uploading the bundle, click Cancel.

A confirmation message is displayed, the dialog closes, and the Skills page is refreshed.