← 返回 Skills 市场
52
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install yihui-context-mode
功能描述
context-mode is an MCP server that saves 98% of your context window by sandboxing tool outputs. It routes large file reads, shell outputs, and web fetches th...
安全使用建议
This skill appears to do what it says, but it directs the agent to download and execute an unpinned npm package (via npx) and to modify/restart your OpenClaw gateway. That means arbitrary remote code will run on the host if you follow the install step. Before installing: review the npm package and its GitHub source (verify the repo, maintainers, and recent commits), prefer a pinned version or checksum, consider running it in an isolated environment or container, and ensure you’re comfortable with the agent restarting and registering an MCP service on your system.
功能分析
Type: OpenClaw Skill
Name: yihui-context-mode
Version: 1.0.0
The skill bundle defines an MCP server with high-risk capabilities, including arbitrary shell/code execution (ctx_execute, ctx_batch_execute) and web fetching (ctx_fetch_and_index). While these are aligned with the stated purpose of context optimization and coding assistance, the broad execution surface and the instruction to install via 'npx -y context-mode' (SKILL.md) represent significant security risks and potential for misuse without clear evidence of sandboxing implementation details.
能力评估
Purpose & Capability
Name, description and SKILL.md tools (ctx_execute, ctx_index, ctx_fetch_and_index, etc.) are coherent for an MCP context-management server. The OpenClaw integration command (registering an MCP with a package) is consistent with the claimed functionality.
Instruction Scope
SKILL.md stays on-topic (how to use context-mode tools, when to call them, terse output style). However the runtime install instruction tells the agent to run 'openclaw mcp set ... npx -y context-mode' and to restart the gateway, which modifies agent configuration and will execute remotely fetched code. The instructions do not request unrelated files or secrets, but they do instruct privileged operations (registering an MCP, restarting gateway).
Install Mechanism
There is no formal install spec in the registry; instead SKILL.md instructs using npx to fetch and run 'context-mode' from the npm registry at runtime and does not pin a version. Using npx executes upstream package code dynamically (moderate-to-high risk). No verification, checksum, or trusted release host is enforced.
Credentials
The skill declares no required environment variables, binaries, or credentials, and the instructions do not ask for secrets. Network fetches and indexing are part of the described functionality and justify network access, but no credentials are requested.
Persistence & Privilege
always:false and model invocation are normal. The skill's recommended install will register an MCP command and restart the OpenClaw gateway, which results in persistent configuration changes to the agent runtime — expected for an MCP server but a privileged action that will run code supplied by the npm package.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install yihui-context-mode - 安装完成后,直接呼叫该 Skill 的名称或使用
/yihui-context-mode触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release
元数据
常见问题
YiHui CONTEXT MODE 是什么?
context-mode is an MCP server that saves 98% of your context window by sandboxing tool outputs. It routes large file reads, shell outputs, and web fetches th... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 52 次。
如何安装 YiHui CONTEXT MODE?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install yihui-context-mode」即可一键安装,无需额外配置。
YiHui CONTEXT MODE 是免费的吗?
是的,YiHui CONTEXT MODE 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
YiHui CONTEXT MODE 支持哪些平台?
YiHui CONTEXT MODE 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 YiHui CONTEXT MODE?
由 辉哥(@1yihui)开发并维护,当前版本 v1.0.0。
推荐 Skills