跳至主要内容
小龙虾小龙虾AI
🤖

Nix Mode

Handle Clawdbot operations in Nix mode (configuration management, environment detection).

下载1.5k
星标0
版本1.0.0
开发工具
安全通过

技能说明


name: nix-mode description: Handle Clawdbot operations in Nix mode (configuration management, environment detection). metadata: {"clawdbot":{"emoji":"❄️","requires":{"bins":["nix","bash"],"envs":["CLAWDBOT_NIX_MODE"]},"install":[]}}

Clawdbot Nix Mode Skill

This skill handles Clawdbot operations specifically when running in Nix mode.

Nix Mode Specific Features

Environment Detection

  • Detect when CLAWDBOT_NIX_MODE=1 is set
  • Identify Nix-managed configuration paths
  • Recognize Nix-specific error messages and behaviors

Configuration Management

  • Understand that auto-install flows are disabled in Nix mode
  • Guide users to proper Nix package management
  • Explain why certain self-modification features are unavailable

Path Handling

  • Recognize Nix store paths
  • Understand the difference between config and state directories
  • Handle CLAWDBOT_CONFIG_PATH and CLAWDBOT_STATE_DIR appropriately

Troubleshooting

  • Identify Nix-specific remediation messages
  • Guide users to proper dependency management via Nix
  • Explain the read-only Nix mode banner behavior

Usage Guidelines

When operating in Nix mode:

  1. Do not attempt to auto-install dependencies
  2. Direct users to Nix package management instead
  3. Respect the immutable nature of Nix installations
  4. Advise on proper configuration practices for Nix environments

如何使用「Nix Mode」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「Nix Mode技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能