← 返回 Skills 市场
29
总下载
1
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install mainctrl
功能描述
Manage OpenClaw agent tool-call permissions. A runtime plugin hook intercepts write, edit, exec, process, and apply_patch from controlled agents, redirecting...
安全使用建议
Install only if you want workflow enforcement where main delegates implementation to sub-agents, not a security sandbox. Turn it on explicitly after install, verify status, restrict who can run the CLI, and treat plugin removal, off mode, and automatic sub-agent delegation as actions that can restore or preserve full write/execute capability.
能力评估
Purpose & Capability
The stated purpose is runtime tool-access control for selected agents, but the actual control mainly reroutes blocked actions to sub-agents that intentionally keep full write and exec access; that is coherent for workflow enforcement but weak as a safety boundary.
Instruction Scope
The skill instructs the controlled main agent to immediately spawn a sub-agent after a block and explicitly not wait for user confirmation, which is high-impact behavior for write, edit, exec, process, and apply_patch operations.
Install Mechanism
The companion plugin installation and removal commands are documented and user-invoked, but they modify OpenClaw plugin state and the install path uses --force without an explicit confirmation step.
Credentials
The before_tool_call hook and local state-file reads are proportionate to the permission-control purpose, and there is no evidence of network exfiltration, credential collection, or unrelated file access.
Persistence & Privilege
The plugin activates on startup and persists until disabled or uninstalled; this is expected for an enforcement plugin, but users should understand that safety starts off and removal or off mode restores unrestricted behavior.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install mainctrl - 安装完成后,直接呼叫该 Skill 的名称或使用
/mainctrl触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Added README.md with documentation and usage instructions.
- Removed skill-card.md (no longer included).
- Updated plugin/package.json and scripts/state.json (likely for metadata or configuration improvements).
- No user-facing behavior changes; documentation and packaging updates only.
v1.0.0
Initial release of mainctrl: runtime tool-call access control for OpenClaw agents.
- Intercepts and blocks destructive tool calls (`write`, `edit`, `exec`, `process`, `apply_patch`) by selected agents, redirecting them to sub-agents.
- Enables or disables access control instantly at runtime with a script—no config edits or restarts required.
- Only affects agents listed in `controlledAgents`; others retain full access.
- Includes CLI (`scripts/mainctrl.sh`) for managing state, agents, blocked tools, and plugin installation.
- Companion plugin reads state on every call, ensuring immediate effect for any changes.
- Main agent automatically delegates blocked operations to sub-agents and reports to the user.
元数据
常见问题
Mainctrl 是什么?
Manage OpenClaw agent tool-call permissions. A runtime plugin hook intercepts write, edit, exec, process, and apply_patch from controlled agents, redirecting... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 29 次。
如何安装 Mainctrl?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install mainctrl」即可一键安装,无需额外配置。
Mainctrl 是免费的吗?
是的,Mainctrl 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Mainctrl 支持哪些平台?
Mainctrl 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Mainctrl?
由 iFeel(@ifeel-is-a-mouse)开发并维护,当前版本 v1.0.1。
推荐 Skills