Agent Skillsopskat/opskat › local

local

GitHub

定义本地终端资产规范,用于在用户本机打开交互式Shell。说明配置字段(shell、args、cwd)及put_asset创建方式,明确不支持exec命令,区别于其他本地工具家族。

internal/ai/skills/local/SKILL.md opskat/opskat

Trigger Scenarios

需要在本机执行Shell操作 配置本地终端资产参数

Install

npx skills add opskat/opskat --skill local -g -y
More Options

Non-standard path

npx skills add https://github.com/opskat/opskat/tree/main/internal/ai/skills/local -g -y

Use without installing

npx skills use opskat/opskat@local

指定 Agent (Claude Code)

npx skills add opskat/opskat --skill local -a claude-code -g -y

安装 repo 全部 skill

npx skills add opskat/opskat --all -g -y

预览 repo 内 skill

npx skills add opskat/opskat --list

SKILL.md

Frontmatter
{
    "name": "local",
    "description": "Local terminal assets — a shortcut that opens a shell on the user's own machine. Config fields for put_asset; no command surface — exec is not supported for this type."
}

Local terminal assets

A local asset is a shortcut that opens an interactive shell on the user's own machine, not a remote server — it has no host/port/credentials to configure. There is no command surface: exec is not supported for this type (unlike the local_bash / local_write / … tool family, which is unrelated and always available regardless of asset type).

It still needs a help doc like every other asset type: put_asset must be able to create it, and nothing else tells the model what a local asset's config object looks like.

Asset config (for put_asset)

There are no required fields — an empty config object is valid.

field type required notes
shell string no Shell executable path/name; empty uses the OS default
args string no Comma/semicolon/newline separated extra shell arguments
cwd string no Initial working directory; empty uses the OS default

Example:

put_asset(name="my-shell", type="local", config={"shell":"/bin/zsh","cwd":"/Users/me/project"})

Version History

  • aeb4bc3 Current 2026-07-24 16:28

Same Skill Collection

internal/ai/skills/database/SKILL.md
internal/ai/skills/etcd/SKILL.md
internal/ai/skills/k8s/SKILL.md
internal/ai/skills/kafka/SKILL.md
internal/ai/skills/mongodb/SKILL.md
internal/ai/skills/oss/SKILL.md
internal/ai/skills/rdp/SKILL.md
internal/ai/skills/redis/SKILL.md
internal/ai/skills/serial/SKILL.md
internal/ai/skills/ssh/SKILL.md
internal/ai/skills/vnc/SKILL.md
plugin/opsctl/skills/opsctl/SKILL.md

Metadata

Files
0
Version
d6c7a6e
Hash
023135bf
Indexed
2026-07-24 16:28

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-18 05:03
浙ICP备14020137号-1 $mapa de visitantes$