Skip to content

Import skills, agents & MCP servers

Project import encrypts and preserves agent instructions, skill content, and MCP configuration, but quarantines them. Activation is a separate command because these files can change model behavior, run tools, reach remote services, or execute local programs in the Coding Workspace.

  • Run from a folder already bound by hlix import
  • Review the complete file you are importing
  • Confirm that referenced secret keys belong to this project and workspace
  • For MCP, understand whether the server is remote or starts a process

Each resource type has its own command and its own approval. Pick the one you are importing.

A skill is a reviewed SKILL.md that gives agents a named capability.

Pass a SKILL.md file or a folder containing one:

Terminal window
hlix skill import .agents/skills/release/SKILL.md

Override the derived slug when needed:

Terminal window
hlix skill import .agents/skills/release --name release-checks

Expected result: the CLI prints the imported skill identity. The skill becomes an explicit project resource rather than being activated merely because the scanner found it.

Verification:

Terminal window
hlix skill import .agents/skills/release --name release-checks --json

The JSON response contains metadata, not secret values.

For each imported resource:

  1. Re-open the source and confirm its hash/content did not change during review.
  2. Use --json and capture the complete result in your change or approval record. Agent import returns an agent ID; skill and MCP import return the selected resource metadata instead.
  3. Confirm the project ID in .hlix/config.json is the intended project.
  4. For MCP, confirm the selected server name, transport, remote hostname or executable, arguments, and environment key names.
  5. Start with the least-privileged credentials the server can use.
  • not_initialized: import the project first and run from its root.
  • Skill folder has no SKILL.md: point at the file or the correct directory.
  • Agent file is not Markdown: convert the reviewed instructions to a Markdown file.
  • MCP file contains multiple servers: add --server <name>.
  • Remote MCP URL is not HTTPS: use the service’s TLS endpoint.
  • Stdio MCP is refused: review it, then pass --allow-stdio; if it still fails, replace shell syntax with a direct executable and explicit arguments.
  • Required environment key is missing: add the value through the project’s protected secret path, then push a new revision.

Re-importing a skill or MCP server with the same project-scoped name updates that resource. Agent import creates a new agent each time so an existing agent identity is never replaced implicitly.