Files
docker-docs/data/sbx_cli/sbx_skills_import.yaml
T
David Karlsson c64e3927ef docs: update Sandboxes for the v0.48.0 CLI refactor (#26314)
## Summary

Update the Sandbox documentation for the v0.48.0 CLI refactor: renamed
flags, settings commands, terminal output, structured output, and
non-interactive confirmations. Add a migration reference for scripts and
CI workflows, with a [**Copy as prompt**
button](https://deploy-preview-26314--docsdocker.netlify.app/ai/sandboxes/workflows/automation/#update-scripts-for-v0480)
that copies agent instructions and the section Markdown.

This PR targets `main` independently of the other PRs in the sbx/v0.48.0
milestone. It keeps the generated reference import separate from
documentation edits:

- Vendor the 120 generated CLI YAML files
- Update command examples and guidance. Historical release notes retain
their original command spellings.

The other milestone PRs cover separate release features; this PR covers
the CLI migration.

@netlify /ai/sandboxes/workflows/automation/

Generated by Codex
2026-10-13 17:18:50 +02:00

58 lines
1.9 KiB
YAML

name: sbx skills import
synopsis: Import skills from supported agent directories
experimental: true
description: |-
Import skills already installed for supported coding agents on this
machine.
The following directories are checked in order:
~/.agents/skills
~/.claude/skills
~/.config/opencode/skills
~/.copilot/skills
~/.cursor/skills
~/.factory/skills
When the same skill appears in more than one directory, the first copy is used
and the others are skipped with a warning.
Importing a skill that is already installed replaces it completely, including
removing files that are no longer present. You will be prompted before a skill
is replaced; use --force to skip all prompts.
Symlinks at the top level are followed if they point to a directory. Symlinks
within skill folders and loose files at the top level are skipped.
Imported skills are available to Claude, Codex, Copilot, Cursor, Droid, and
OpenCode.
usage: sbx skills import [flags]
options:
- name: dry-run
default_value: "false"
usage: |
Preview which skills would be imported without copying anything
- name: force
shorthand: f
default_value: "false"
usage: Overwrite existing skills without prompting
- name: help
shorthand: h
default_value: "false"
usage: help for import
inherited_options:
- name: cloud
default_value: "false"
usage: |
Dispatch to Docker Cloud Sandboxes API instead of local sandboxd (supported by a growing set of verbs — run 'sbx --cloud --help' for the current list)
- name: debug
shorthand: D
default_value: "false"
usage: Enable debug logging
example: |4-
sbx skills import
# Preview without changing anything
sbx skills import --dry-run
see_also:
- sbx skills - (Experimental) Manage skills available in sandboxes