zi-kong

Installation
SKILL.md

Safety Rules

Critical: Read and follow global-rules/bash-safety.md for all bash/command execution.

Core rules:

  1. Always set explicit timeout on bash calls — 30s for tests, 60s for installs, never default
  2. Never run unscoped full test suites — use -k or file paths to limit scope
  3. Never use rm -rf without variable guards, curl|bash, sudo, or kill -9
  4. Infinite loops must have hard timeout + budget limits — no unbounded while(True)
  5. Redirect stdin with < /dev/null for non-interactive commands

A bash timeout that triggers SIGKILL corrupts the terminal FD, crashes opencode's TUI, and forces a GUI restart.

自控 (Self-Controlled Iteration)

真正的自主迭代技能。控制 opencode 自身,实现持续自我改进。 True autonomous iteration. Controls opencode itself for continuous self-improvement.

Quick Commands

Related skills
Installs
7
GitHub Stars
3
First Seen
Apr 7, 2026