Managed Skills
Use this page when the question is no longer “does Loong support skills?” and is now “how do I discover, install, expose, and troubleshoot them on purpose?”loong skills is the public operator surface for discovery, install, removal,
and persisted policy updates around managed external skills.
Start Here
| If you need to… | Start here |
|---|---|
| inspect the current persisted skills policy | loong skills policy get |
| see what is already resolved in the runtime | loong skills list |
| search or recommend by operator goal | loong skills search "browser preview" or loong skills recommend "summarize docs site" |
| inspect one installed or discoverable skill | loong skills info <skill_id> |
| install a local directory or archive | loong skills install ./path/to/skill |
| fetch and install a remote package | loong skills fetch https://example.com/skill.zip --approve-download --install |
| turn on the browser preview helper path | loong skills enable-browser-preview |
Default Public Posture
Managed external skills start from a fail-closed default:enabled = falsekeeps the managed runtime fail-closed rather than silently widening capability.require_download_approval = truemeans remote skill downloads require an explicit operator approval step.auto_expose_installed = falsemeans installation and runtime visibility are kept separate until you turn that gate on.install_rootis optional and is the right place to pin a stable managed skill location when the default runtime-owned path is not enough.
Operator Mental Model
Managed external skills have four separate states:- discovery:
loong skills list,search,recommend, andinfotell you what the runtime can resolve; they do not install anything - installation:
loong skills installorfetch --installcopies a skill into the managed install root - exposure:
external_skills.enabledandauto_expose_installeddecide whether installed skills become part of the usable runtime surface - runtime readiness: some skills, especially browser preview, still depend on
shell policy or an external runtime binary on
PATH
Core Operator Commands
Discovery and inspection:- use
skills searchorskills recommendwhen you do not already know the skill id. - use
skills infoafter install to inspect prerequisites and follow-up steps. skills fetchis the remote-download path; if approval is required, include--approve-download.skills policypersists runtime policy into config; it does not just change one in-memory session.skills policycan toggle enablement, download approval, domain allow/block rules, andauto_expose_installed, butinstall_rootstill belongs in config.skills install-bundled <skill_id>also exists for first-party packaged managed skills, but browser preview is usually easier throughenable-browser-preview.
Local Install vs Remote Fetch
Use local install when the package is already on disk:installis best for local archives, unpacked directories, or reviewed build artifacts you already trust.fetch --installis best when you want one operator command that both downloads and installs under the governed external-skills policy.- domain allow/block rules apply to
fetchand belong in persisted policy rather than being hidden in ad-hoc shell aliases.
Browser Preview Shortcut
loong skills enable-browser-preview is the shortest public route when the real
goal is “make the browser preview path usable” rather than “manually compose all
the config toggles myself.”
What it does:
- enables the managed external-skills runtime
- turns on
auto_expose_installed - ensures
agent-browseris allowed through shell policy unless you explicitly hard-deny it - fills
tools.file_rootif it was still empty - installs the bundled browser preview helper skill
- if
[tools].shell_denycontainsagent-browser, the enable command will fail until you remove that hard deny. - if the runtime binary is still missing on
PATH, the helper skill may be installed but preview will not be ready yet.
Persisted Policy Shape
When you want the config to be explicit instead of relying only on CLI mutations, this is the public shape to keep in mind:- one team wants a reviewed install root instead of a runtime-owned default location
- download sources should be pinned to an explicit domain set
- installed skills should become runtime-visible automatically across operator restarts
Common Failure Cases
| What happened | What it usually means | What to do next |
|---|---|---|
skills fetch is rejected before download starts | download approval or domain policy is blocking it | run loong skills policy get, then retry with --approve-download or update policy deliberately |
| a skill installed but does not show up as usable | install succeeded, but the runtime exposure gate is still closed | set auto_expose_installed = true through skills policy set or use enable-browser-preview for the preview path |
| you do not know where managed skills should live | the runtime default is acceptable until you need a reviewed location | set external_skills.install_root in config when you need a stable explicit path |
skills enable-browser-preview fails immediately | [tools].shell_deny hard-denies agent-browser | remove agent-browser from shell_deny, then rerun the enable command |
| browser preview still is not ready after enable | the helper skill is present, but the runtime binary is missing or not callable | install agent-browser, verify it with agent-browser open example.com, then rerun loong doctor |
Continue Reading
- Continue to Browser And Web Boundaries when the failure is really a private-host, allowed-domain, or browser runtime gate problem.
- Continue to Tool Surface when you want the broader truthful-tool contract around enablement surfaces.
- Continue to Doctor And Health when you want the health-first repair path after enabling skills or browser preview.
- Go back to Configuration Patterns when you want the wider operator config map.