什么是 shell-command?
执行 shell 命令时严格遵守非交互式标志和环境变量,以防止在 OpenCode 的无头环境中挂起。 来源:iyaki/opencode-base-template。
执行 shell 命令时严格遵守非交互式标志和环境变量,以防止在 OpenCode 的无头环境中挂起。
通过命令行快速安装 shell-command AI 技能到你的开发环境
来源:iyaki/opencode-base-template。
Context: OpenCode's shell environment is strictly non-interactive. It lacks a TTY/PTY, meaning any command that waits for user input, confirmation, or launches a UI (editor/pager) will hang indefinitely and timeout.
Goal: Achieve parity with Claude Code's shell capabilities through internalized knowledge of non-interactive flags and environment variables.
To match the high-agency, autonomous capabilities of advanced models (like Claude Sonnet), this strategy enforces strict cognitive patterns. These are not just shell tips; they are behavioral requirements for success in this environment.
执行 shell 命令时严格遵守非交互式标志和环境变量,以防止在 OpenCode 的无头环境中挂起。 来源:iyaki/opencode-base-template。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/iyaki/opencode-base-template --skill shell-command执行 shell 命令时严格遵守非交互式标志和环境变量,以防止在 OpenCode 的无头环境中挂起。 来源:iyaki/opencode-base-template。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/iyaki/opencode-base-template --skill shell-command 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/iyaki/opencode-base-template