subzeroclaw-use
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "subzeroclaw-use":https://skillpi.com/zh/skills/deepskill-54c24005717090eac60b68b7e47404e3e7a3fbd119b9a50cfae73bfafc78d7a8。安装前核对上游来源和版本:https://github.com/genlayerlabs/subzeroclaw。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
SubZeroClaw 运行与操作:用于加载并运行约 550 行的 C 语言智能体守护进程(含 skill.md、LLM、shell 与循环),以构建和配置(~/.subzeroclaw/config)、编写智能体技能、执行任务、将其连接到非硬编码路由器以实现路由/缓存/压缩,或作为具凭据隔离的 systemd 服务运行。警告:它会在无沙箱环境下执行任意 shell 命令。
介绍来源: third_party · genlayerlabs · 0.0.1 参考来源
SkillPi 解读
- 实测状态
- 未测试
文件浏览
Frontmatter
name: subzeroclaw-use
description: >-
Run and operate SubZeroClaw — the ~550-line C agentic daemon (skill.md + LLM +
shell + loop). Load this to build it, configure it (~/.subzeroclaw/config),
write an agent skill, run a task, wire it to an unhardcoded router for
routing/cache/compaction, or run it as a systemd service with credential
isolation. WARNING: it executes arbitrary shell with no sandbox. To develop
the runtime itself, use subzeroclaw-contribute.Using SubZeroClaw
Read the warning first. SubZeroClaw runs whatever the model emits through
popen() — no confirmation, no sandbox, rm -rf / included. There is nothing
between the model's output and your system. Run it only where you accept that,
ideally as an unprivileged service user (see As a service).
The whole runtime is: read a skill (markdown) → call an LLM → run shell tools →
loop until done. One tool: shell. The "adapter" for git/curl/email/ffmpeg is
that they're one popen() away — install the CLI, the model uses it.
Two senses of "skill" — don't conflate them. A SubZeroClaw skill is a plain
.mdfile in~/.subzeroclaw/skills/that becomes the agent's system prompt (what the agent knows). This file is a Claude Code skill (how to operate the tool). When the docs below say "write a skill", they mean the former.
Build & run
git clone https://github.com/genlayerlabs/subzeroclaw && cd subzeroclaw
make # ~0.5s → the 55KB binary (needs gcc; curl at runtime)
mkdir -p ~/.subzeroclaw/skills
# ...write ~/.subzeroclaw/config (below) and a skill .md...
./subzeroclaw "check disk usage and clean tmp if over 80%" # one-shot
./subzeroclaw # interactive
make install # → ~/.local/bin/
An agent skill is just prose the LLM reads — no format, no registry, no trigger
matching. Drop a .md in ~/.subzeroclaw/skills/ and it joins the system
prompt. The repo's skills/*.md are format examples tied to one setup; write
your own.
Configuration (~/.subzeroclaw/config)
These are the only keys the runtime parses (config_parse_line); config.example
is the canonical template.
| Key | Meaning |
|---|---|
api_key |
The unhardcoded router consumer key (llmr_…) — SubZeroClaw is designed to run on the router. A bare OpenRouter/provider key also works but is a degraded loop. Required. |
request_extra |
JSON merged into every request body. Carries the model ({"model":"..."}) — there is no dedicated model key. Against a router it also carries the routing policy_ir. Override wins on key collision. |
compact_extra |
JSON enabling async compaction: keep_recent + a cheap summariser policy_ir. Unset → no compaction. |
endpoint |
default OpenRouter; point at an unhardcoded router for routing/cache/compaction. |
skills_dir, log_dir |
defaults under ~/.subzeroclaw/. |
max_turns |
tool-call loops per input (default 200). |
Env vars SUBZEROCLAW_API_KEY, SUBZEROCLAW_ENDPOINT, SUBZEROCLAW_REQUEST_EXTRA,
SUBZEROCLAW_COMPACT_EXTRA override the file.
The unhardcoded substrate (routing + compaction)
Routing with prompt-cache affinity and context compaction are not part of
"skill + LLM + shell + loop" — they live in the substrate. Point endpoint at an
unhardcoded router and express them
as JSON:
- Routing:
request_extra = {"model":"policy:auto","policy_ir":[ … ]}. The runtime sends a per-runsessionid so the router keeps the conversation on its cache-hot peer. (Author thepolicy_irwith theunhardcoded-useskill.) - Compaction: on an
x_router.compactsignal, the runtime fires an append-only seal at the router's/v1/compactin the background and keeps taking turns, splicing the sealed block in ahead of the turns that arrived meanwhile — no pause, the cache prefix is never rewritten.compact_extracarrieskeep_recent+ the summariser policy.
Pointed at a bare provider the HTTP call still fires, but it's a degraded loop (no routing, cache, or compaction) — not a supported standalone mode.
As a service (and credential isolation)
SubZeroClaw doesn't supervise itself — bring your init system. A systemd unit with
Restart=on-failure and an EnvironmentFile (root-owned, chmod 600) holding
SUBZEROCLAW_API_KEY gets you restart + credential isolation. The runtime
scrubs the four provider secrets (SUBZEROCLAW_API_KEY, _ENDPOINT,
_REQUEST_EXTRA, _COMPACT_EXTRA) from its own environment right after
config_load — wiping the value in place, then unsetenv — so the shell it hands
the model never inherits the key (cat /proc/self/environ comes up empty).
Non-secret vars like SUBZEROCLAW_SKILLS are deliberately kept (the genswarms
wrapper sets it). The supervisor owns the secret; the shell stays unguarded by
design — the scrub only keeps the runtime's own secrets out of it.
Gotchas
- A top-level
model =line in the config is ignored — the runtime never parses it. The model rides inrequest_extra. (This is the most common misconfiguration.) - Use a tool-calling model. If the model can't call tools it will loop without
progress. Set it in
request_extra. curlis required at runtime (API calls shell out to it);gcconly to build.- Compaction is opt-in: unset
compact_extra→ context grows until the provider refuses it.
Where to read more
README.md— the full config reference, session logging, troubleshooting table.config.example— the canonical config template.- The
unhardcoded-use/sigma-policy-authorskills — author the routing and summariserpolicy_irthis runtime sends.
当前收录版本
0.0.1
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 提供完整的 SubZeroClaw 部署和操作指南
- 涵盖构建、配置、技能编写、路由器连接、systemd 服务化等全链路场景
- 针对小众但明确的技术需求提供实质性解决方案
亮点
- description 清晰描述核心功能和使用场景
- 触发词覆盖构建、配置、执行、服务化等多种操作意图
- 安全警告明确,使用边界清晰
亮点
- 文档结构清晰,分阶段说明操作流程
- 包含完整的端到端示例和配置模板
- frontmatter 完整,章节划分合理
亮点
- 工具来源明确,参数说明详细
- 覆盖主要配置异常和常见错误
- 安全机制(凭据隔离)说明清楚
- 提供 troubleshooting 指引
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
-
删除文件
先确认绝对路径及作用范围,保留可恢复备份;不要直接对重要目录运行示例命令。
主文档提及 · 第 15 行 -
账号、密钥或授权
使用专用、最小权限账号,不把密钥粘贴到公开内容或命令日志;核对接收数据的服务与租户。
主文档提及 · 第 7, 53, 81, 85 行
文档引用的域名或地址
这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。
- github.com
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。