subzeroclaw-use
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "subzeroclaw-use" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-54c24005717090eac60b68b7e47404e3e7a3fbd119b9a50cfae73bfafc78d7a8. Verify the upstream source and version against https://github.com/genlayerlabs/subzeroclaw before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
SubZeroClaw use: for loading and operating the ~550-line C agent daemon (includes skill.md, LLM, shell, and loop) to build and configure (~/.subzeroclaw/config), write agent skills, execute tasks, connect it to non-hardcoded routers for routing/caching/compression, or run it as a credential-isolated systemd service. Warning: it executes arbitrary shell commands without sandboxing.
Introduction source: third_party · genlayerlabs · 0.0.1 Reference
SkillPi interpretation
- Testing
- Not tested
Browse files
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.
Current listing version
0.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供完整的 SubZeroClaw 部署和操作指南
- 涵盖构建、配置、技能编写、路由器连接、systemd 服务化等全链路场景
- 针对小众但明确的技术需求提供实质性解决方案
Highlights
- description 清晰描述核心功能和使用场景
- 触发词覆盖构建、配置、执行、服务化等多种操作意图
- 安全警告明确,使用边界清晰
Highlights
- 文档结构清晰,分阶段说明操作流程
- 包含完整的端到端示例和配置模板
- frontmatter 完整,章节划分合理
Highlights
- 工具来源明确,参数说明详细
- 覆盖主要配置异常和常见错误
- 安全机制(凭据隔离)说明清楚
- 提供 troubleshooting 指引
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Delete files
Confirm the absolute path and scope and keep a recoverable backup. Do not run example commands against important directories.
Mentioned in main document · lines 15 -
Accounts, secrets or authorization
Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.
Mentioned in main document · lines 7, 53, 81, 85
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- github.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.