Agent skill

Subzeroclaw Contribute

by genlayerlabs in genlayerlabs/subzeroclaw

Develop SubZeroClaw — the single-file ~550-line C agentic runtime.

MITAuto-check passedEducation

Install Subzeroclaw Contribute

skills CLI
$ npx skills add genlayerlabs/subzeroclaw --skill subzeroclaw-contribute -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install genlayerlabs/subzeroclaw subzeroclaw-contribute --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/genlayerlabs/subzeroclaw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/subzeroclaw-contribute .claude/skills/subzeroclaw-contribute && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
subzeroclaw-contribute
GitHub stars
137
Token cost
~1.1k tokens
SKILL.md length
497 words
Files
1
Skills in repo
2
Repo updated
First seen
Licence
MIT

At a glance

Develop SubZeroClaw — the single-file ~550-line C agentic runtime.

  • Works in 2 steps: Reduce complexity — same behaviour with… → Prove a runtime limitation — a task…
  • Tasks that involve Essays and academic help
  • SKILL.md covers The two contributions that are…, Code map (src/subzeroclaw.c), Build & test and The bar, restated
  • Calls make; needs SUBZEROCLAW_API_KEY

What it does

Subzeroclaw Contribute is an agent skill from genlayerlabs/subzeroclaw. Develop SubZeroClaw — the single-file ~550-line C agentic runtime. Load this before changing src/subzeroclaw.c or src/test.c: it carries the anti-framework thesis (the goal is NOT to grow), the code map (the loop, config, the shell tool, async compaction), what will and won't be merged, and the build/test loop. To merely run or configure SubZeroClaw, use subzeroclaw-use.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Education, covering Essays and academic help. It works with OpenRouter. The repository describes itself as: An agent small enough to run anywhere. A minimal agentic runtime in C — ~380 lines, 54KB binary, ~2MB RAM. A skill file + an LLM + a shell loop, no framework. The licence is MIT.

When your agent uses it

  • Tasks that involve Essays and academic help

Example prompts

  • “/subzeroclaw-contribute”

Requirements

  • A credential in SUBZEROCLAW_API_KEY

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. Reduce complexity — same behaviour with less code, fewer moving parts, or
  2. Prove a runtime limitation — a task where "skill + shell + LLM loop" genuinely

What it can do on your machine

Read from SKILL.md and the folder at commit 6b6b5ad. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • make

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • SUBZEROCLAW_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Subzeroclaw Contribute loads about 1.1k tokens when it runs. Until then it costs about 99 tokens; SKILL.md has 497 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~99
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from genlayerlabs/subzeroclaw at commit 6b6b5ad, republished under its MIT licence (© genlayerlabs). 497 words, ~1,054 tokens.

Download SKILL.mdSave it as .claude/skills/subzeroclaw-contribute/SKILL.md (or your agent's skills folder).
name
subzeroclaw-contribute
description
Develop SubZeroClaw — the single-file ~550-line C agentic runtime. Load this before changing src/subzeroclaw.c or src/test.c: it carries the anti-framework thesis (the goal is NOT to grow), the code map (the loop, config, the shell tool, async compaction), what will and won't be merged, and the build/test loop. To merely run or configure SubZeroClaw, use subzeroclaw-use.

Contributing to SubZeroClaw

SubZeroClaw is an anti-framework: the goal is not to grow but to stay minimal, readable and correct. The whole runtime is one file, src/subzeroclaw.c (~550 lines). Before you add anything, read CONTRIBUTING.md — a PR that adds surface has to clear a high bar, and several categories are refused outright.

The two contributions that are welcome

  1. Reduce complexity — same behaviour with less code, fewer moving parts, or clearer logic: remove a function that doesn't earn its place, flatten a control path, drop a dependency or an allocation, replace a hand-rolled pattern with libc. A PR that removes lines while keeping tests green is probably good.
  2. Prove a runtime limitation — a task where "skill + shell + LLM loop" genuinely breaks down in the runtime, not the skill. The honest test: could a better .md skill fix it? If yes, it's a skill problem, not a SubZeroClaw one. If the limitation is structural (e.g. binary tool output can't round-trip through the JSON string protocol), that's worth discussing. Open an issue with the task, the skill you wrote, what happened, and why no skill can work around it.

Won't be merged: new tools (the shell is the only tool — the model runs git, tee, curl itself); plugin systems, hooks, event buses, middleware (multi-user platform problems SubZeroClaw doesn't have); backward-compatibility shims.

Code map (src/subzeroclaw.c)

The loop, top to bottom:

FunctionRole
config_parse_line / config_loadparse the config keys; env overrides; scrub the four provider secrets (SUBZEROCLAW_API_KEY/_ENDPOINT/_REQUEST_EXTRA/_COMPACT_EXTRA) from the environment (wipe-in-place + unsetenv) so the model's shell never sees the key. SUBZEROCLAW_SKILLS is preserved on purpose.
mainread config + skills, build the system prompt, seed the message array, drive the loop.
agent_runthe turn loop: POST to endpoint, parse, dispatch tools, until a stop or max_turns.
parse_responsepull assistant text / tool calls / errors out of the completion JSON.
process_tool_callsthe one tool: run each shell command via popen() (stderr merged), append results as turns.
round_has_commandguard: did this round actually request a shell command?
compact_fire / compact_splice / compact_urlasync context sealing: on the router's x_router.compact signal, fire /v1/compact in the background and splice the sealed block in ahead of intervening turns — no turn is ever blocked.
log_write, write_temp, mkdirpsession logging + scratch files.
Show full SKILL.md (129 more words)Show less

cJSON is vendored (src/cJSON.c/.h) and used automatically when system libcjson is absent (the Makefile detects it via pkg-config).

Build & test

bash
make            # single-file build → subzeroclaw (needs gcc; -lm or -lcjson)
make test       # builds test_subzeroclaw and runs the suite → "31 passed, 0 failed"
make install    # → ~/.local/bin/
make clean

src/test.c #includes src/subzeroclaw.c directly and defines SZC_TEST to exclude main, so tests link against the real functions. All 31 tests must pass, and if you change subzeroclaw.c you must update test.c to match — the suite covers the shell tool, turn framing, request building + request_extra merge, response/error parsing, the compact flag + splice, tool dispatch, the system prompt, skill loading, and config (including the env scrub).

The bar, restated

Every line justifies its existence. The code that remains is the code that can't be removed. If your change grows the file, the burden is on you to show the runtime — not a skill — needed it. See CONTRIBUTING.md for the full policy.

© genlayerlabs, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/subzeroclaw-contribute of genlayerlabs/subzeroclaw.

Open the folder on GitHubat commit 6b6b5ad

Compare with similar skills

Subzeroclaw Contribute next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Subzeroclaw Contribute compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Subzeroclaw Contribute this skillgenlayerlabs/subzeroclaw137—~1.1kAutomated safety check: PassMIT
Academic Paper StrategistAAASS554/codex-academic-paper-skills5391 repos~2.7kAutomated safety check: PassMIT
Modeling Paper Rubric and Model Selectoryushui2022/MathModel-Skill4531 repos~1.8kAutomated safety check: PassMIT
Humanities Thesisganzhi-black/humanities-thesis-skill632—~1.7kAutomated safety check: PassMIT
Skill Thesis Writeryanlin-cheng/skill-thesis-writer207—~1.6kAutomated safety check: PassCustom licence
Thesis CreatorStars-OC/thesis-creator230—~2.8kAutomated safety check: PassMIT

Similar skills

  • Academic Paper Strategist

    AAASS554/codex-academic-paper-skills

    A skill your agent uses when the user needs to plan, de-risk, or ground a software engineering / computer science undergraduate thesis from a real codebase before final writing.

    539 GitHub starsUsed in 1 repo~2.7k tokens
    EducationAuto-check passed
  • Builds a scoring-aligned outline for a mathematical modeling paper and a model selection plan with baseline, improvement and validation experiments.

    453 GitHub starsUsed in 1 repo~1.8k tokens
    EducationAuto-check passed
  • Humanities Thesis

    ganzhi-black/humanities-thesis-skill

    人文社科论文写作全流程指导。适用于文学、历史、哲学、社会学、传播学、新闻学、文化研究等领域的中文学术论文。当用户提到"论文""写论文""选题""文献综述""论文修改""论文结构""摘要翻译""帮我查文献""参考文献格式""论文没有新意""理论和文本脱节""章节之间缺乏逻辑""帮我检查论文""摘要翻译成英文""投稿准备""脚注格式"等场景时触发。覆盖从选题到投稿的全流程,包含防幻觉规则、学术数据库…

    632 GitHub stars~1.7k tokensUpdated 5 mo ago
    EducationAuto-check passed
  • Skill Thesis Writer

    yanlin-cheng/skill-thesis-writer

    跨学科AI论文写作助手,专为本科生/研究生论文写作提供全方位支持。当用户需要撰写论文内容、设计论文框架结构、优化学术语体风格、处理参考文献格式(GB/T 7714-2015)、生成统计分析表格、或降低AI生成文本痕迹时使用此技能。支持工科(计算机/电子/机械等)、心理学、教育学、管理学等多学科领域,符合中国学术论文写作规范。

    207 GitHub stars~1.6k tokensUpdated 6 mo ago
    EducationAuto-check passed
  • Thesis Creator

    Stars-OC/thesis-creator

    Walks Chinese undergraduates through writing a graduation thesis from topic to Word export, with text-similarity reduction and AI-text rate rewriting and checks.

    230 GitHub stars~2.8k tokensUpdated 4 mo ago
    EducationAuto-check passed
  • Aigc Detector

    free-revalution/AIGC-Detector-Pro

    Academic paper AI content detection, rewriting, and thesis writing assistant.

    141 GitHub stars~2.8k tokensUpdated 4 mo ago
    EducationAuto-check passed

More from genlayerlabs/subzeroclaw

  • Subzeroclaw Use

    genlayerlabs/subzeroclaw

    Run and operate SubZeroClaw — the ~550-line C agentic daemon (skill.md + LLM + shell + loop).

    137 GitHub stars~1.5k tokensUpdated 14 days ago
    Auto-check passed

Works with

Categories

Questions about Subzeroclaw Contribute

What does Subzeroclaw Contribute do?

Develop SubZeroClaw — the single-file ~550-line C agentic runtime. Subzeroclaw Contribute is an agent skill from genlayerlabs/subzeroclaw. Develop SubZeroClaw — the single-file ~550-line C agentic runtime.

When should I use Subzeroclaw Contribute?

Subzeroclaw Contribute fits situations like: tasks that involve Essays and academic help.

How do I install Subzeroclaw Contribute in Claude Code?

Run `npx skills add genlayerlabs/subzeroclaw --skill subzeroclaw-contribute -a claude-code`. Or copy the skill folder (.claude/skills/subzeroclaw-contribute in genlayerlabs/subzeroclaw) into .claude/skills/subzeroclaw-contribute in your project. Claude Code loads it when a task matches its description.

How do I install Subzeroclaw Contribute in Codex?

Run `npx skills add genlayerlabs/subzeroclaw --skill subzeroclaw-contribute -a codex`. Or copy the skill folder (.claude/skills/subzeroclaw-contribute in genlayerlabs/subzeroclaw) into .agents/skills/subzeroclaw-contribute in your project. Codex loads it when a task matches its description.

Can I use Subzeroclaw Contribute in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add genlayerlabs/subzeroclaw --skill subzeroclaw-contribute -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/subzeroclaw-contribute, .gemini/skills/subzeroclaw-contribute, .github/skills/subzeroclaw-contribute and .opencode/skills/subzeroclaw-contribute in your project.

What does Subzeroclaw Contribute need to run?

Going by SKILL.md and its folder, Subzeroclaw Contribute needs the command-line tools its instructions call (make) and credentials named SUBZEROCLAW_API_KEY. Our summary lists: A credential in SUBZEROCLAW_API_KEY.

Does Subzeroclaw Contribute access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Subzeroclaw Contribute safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Subzeroclaw Contribute use?

Subzeroclaw Contribute is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Subzeroclaw Contribute use?

About 1.1k tokens (SKILL.md is roughly 4.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Subzeroclaw Contribute?

Skills that share tags, products or a category with Subzeroclaw Contribute: Academic Paper Strategist (AAASS554/codex-academic-paper-skills, 539 stars), Modeling Paper Rubric and Model Selector (yushui2022/MathModel-Skill, 453 stars), Humanities Thesis (ganzhi-black/humanities-thesis-skill, 632 stars) and Skill Thesis Writer (yanlin-cheng/skill-thesis-writer, 207 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Subzeroclaw Contribute?

genlayerlabs (a GitHub organization) maintains it in genlayerlabs/subzeroclaw, which has 137 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on September 25, 2026.

Source: genlayerlabs/subzeroclaw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.