← Back to Skills Marketplace
52
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install yihui-context-mode
Description
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...
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install yihui-context-mode - After installation, invoke the skill by name or use
/yihui-context-mode - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release
Metadata
Frequently Asked Questions
What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 52 downloads so far.
How do I install YiHui CONTEXT MODE?
Run "/install yihui-context-mode" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is YiHui CONTEXT MODE free?
Yes, YiHui CONTEXT MODE is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does YiHui CONTEXT MODE support?
YiHui CONTEXT MODE is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created YiHui CONTEXT MODE?
It is built and maintained by 辉哥 (@1yihui); the current version is v1.0.0.
More Skills