cli-plugins-skills
它能做什么
这项技能展示如何通过命令行管理 OmniRoute 设置中的技能、插件和记忆。适合想扩展智能体并保存有用笔记的开发者。
适用场景
- ✓当用户想安装、测试或删除一个 Omni 技能的时候。
- ✓当用户想搜索或添加智能体的持久记忆的时候。
- ✓当用户想创建或配置一个插件的时候。
技能链接
https://github.com/cheaper-inference/OmniRoute/blob/release/v3.8.53/skills/cli-plugins-skills/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请把这条笔记加入我的智能体记忆,之后再帮我搜索它。”
每周 5 个新技能,1 分钟读完。
工作原理
这项技能列出列出、安装、测试和删除技能的命令,创建和配置插件的命令,以及添加、搜索、列出、获取或删除记忆条目的命令。可以使用类型、数量上限和令牌预算等选项。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Overview
Manage Omni Skills (list, install, test, remove), plugins (create, configure), and persistent memory (search, add, clear) from the CLI.
Quick install
npm install -g omniroute # or: npx omniroute
omniroute --version
Subcommands
memory
Example:
omniroute memory
memory search <query>
Flags:
--type <type>--limit <n>--api-key <key>--token-budget <n>
Example:
omniroute memory search <query>
memory add
Flags:
--content <text>--file <path>--type <type>--metadata <json>--api-key <key>
Example:
omniroute memory add
memory clear
Flags:
--type <type>--older-than <duration>--api-key <key>--yes
Example:
omniroute memory clear
memory list
Flags:
--type <type>--limit <n>--api-key <key>
Example:
omniroute memory list
memory get <id>
Example:
omniroute memory get <id>
memory delete <id>
Flags:
--yes
Example:
omniroute memory delete <id>
memory health
Example:
omniroute memory health
PLUGIN_NAME
Example:
omniroute PLUGIN_NAME
plugin plugin
Example:
omniroute plugin plugin
plugin list
Example:
omniroute plugin list
plugin install <name>
Flags:
-y, --yes
Example:
omniroute plugin install <name>
plugin remove <name>
Flags:
-y, --yes
Example:
omniroute plugin remove <name>
plugin info <name>
Example:
omniroute plugin info <name>
plugin search [query]
Example:
omniroute plugin search [query]
plugin update [name]
Example:
omniroute plugin update [name]
plugin scaffold <name>
Example:
omniroute plugin scaffold <name>
marketplace
Example:
omniroute marketplace
skills search [query]
Flags:
--category <c>--tag <t>--limit <n>--sort <s>
Example:
omniroute skills search [query]
skills info <packageId>
Example:
omniroute skills info <packageId>
skills install <packageId>
Flags:
--version <v>--enable--yes
Example:
omniroute skills install <packageId>
skills categories
Example:
omniroute skills categories
skills featured
Example:
omniroute skills featured
skills skills
Example:
omniroute skills skills
skills list
Flags:
--type <type>--enabled--disabled--api-key <key>
Example:
omniroute skills list
skills get <id>
Example:
omniroute skills get <id>
skills install
Flags:
--from-file <path>--from-url <url>--type <type>--enable
Example:
omniroute skills install
skills enable <id>
Example:
omniroute skills enable <id>
skills disable <id>
Flags:
--yes
Example:
omniroute skills disable <id>
skills delete <id>
Flags:
--yes
Example:
omniroute skills delete <id>
skills execute <id>
Flags:
--input <json>--input-file <path>--timeout <ms>
Example:
omniroute skills execute <id>
skills executions
Flags:
--skill <id>--limit <n>--status <s>
Example:
omniroute skills executions
skills skillssh
Example:
omniroute skills skillssh
skills list
Example:
omniroute skills list
skills install <url>
Example:
omniroute skills install <url>
常见问题
我能批量清空记忆吗?
可以。clear 命令可以按类型或时间删除条目,除非加上确认参数,否则会先要求确认。
我能把文件保存到记忆里吗?
可以。add 命令既接受文字,也接受文件路径。
我能检查记忆的健康状况吗?
可以。memory health 命令会报告记忆存储的状态。
详情
作者的原始描述
Manage Omni Skills (list, install, test, remove), plugins (create, configure), and persistent memory (search, add, clear) from the CLI.
热度
- GitHub 星标
- 84k
- 排名
- #1408
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …