360 Secure SkillHub
360 安全技能中心

OpenClaw Shortcuts

为 OpenClaw 提供 /shortcuts 命令的插件:从 agent 配置读取 sections,在对话中打印项目、命令、模型切换等分区快捷方式清单;内置通用占位默认值,真实内容留在本地配置,授权交由网关 commands.allowFrom 处理。

homeofe
homeofe
热度 55.69
最近更新 2026-05-20 03:35:27
分类:效率依赖:纯提示词应用场景:工作流 / 模板

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add openclaw-shortcuts
Metadata
name
openclaw-shortcuts
description
OpenClaw plugin providing a config-driven /shortcuts command with safe placeholder defaults. Use when you want a /shortcuts command that lists your local commands and project shortcuts without leaking private info to public repos.

openclaw-shortcuts

Registers /shortcuts in your OpenClaw agent.

What it does

  • /shortcuts → prints configured sections (projects, commands, model switching, etc.)
  • Ships with generic placeholder defaults — real shortcuts stay in local config
  • requireAuth: false — gateway commands.allowFrom handles authorization

Configure

Inject your shortcuts via openclaw.json:

{
  "plugins": {
    "entries": {
      "openclaw-shortcuts": {
        "enabled": true,
        "config": {
          "includeTips": false,
          "sections": [
            {
              "title": "📁 Projects",
              "lines": ["/myproject   - My project shortcut"]
            }
          ]
        }
      }
    }
  }
}

OPSEC

Never commit personal shortcuts to the repo. Local config only.

Version: 0.1.0