Agent Skillsopskat/opskat › local

local

GitHub

定义本地终端资产规范,支持通过put_asset创建用户本机交互式Shell快捷方式,配置包含shell、参数及工作目录,无远程连接及命令执行能力。

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

Trigger Scenarios

需要创建或配置本地Shell环境 使用put_asset初始化本机终端资产

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
password string no Reserved compatibility key; any non-empty value is rejected as inapplicable
credential_id number no Reserved compatibility key; any non-zero value is rejected as inapplicable

Local automation never creates or references managed credentials.

Example:

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

Version History

  • b159e91 Current 2026-08-19 20:20

    新增password和credential_id字段说明,明确其被拒绝的兼容性用途。

  • aeb4bc3 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
b159e91
Hash
fc1dbb79
Indexed
2026-07-24 16:28

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-20 06:54
浙ICP备14020137号-1 $Гость$