← 返回 Skills 市场
lingmaker9

Claude Installer

作者 LingMaker9 · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ⚠ suspicious
29
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install claude-installer
功能描述
Automate installation of Claude Code CLI and guide user to configure API via cc-switch. Handles environment setup, mirrors, and post-install prompts.
使用说明 (SKILL.md)

This skill guides users through installing Claude Code CLI (by Anthropic) and setting up their own API configuration using cc-switch. The skill itself does not configure any API keys; it only prepares the environment and instructs the user to download and run cc-switch.

Prerequisites Check

The skill automatically checks for required tools: Node.js, npm, and Git. If any are missing, they will be installed using Tsinghua mirror sources by default.

Installation Steps

  1. Check Node.js version: node -v
  2. Check npm version: npm -v
  3. Set npm mirror (China): npm config set registry https://registry.npmmirror.com/
  4. Check Git version: git -v
  5. Install Claude Code globally: npm install -g @anthropic-ai/claude-code
  6. Verify installation: claude --version
  7. Start Claude Code: claude

Post-Install Configuration

After installation, you will be prompted to:

  • Download and install cc-switch (or appropriate URL)
  • Use cc-switch to configure your own API key
  • Edit .claude.json and set "hasCompletedOnboarding": true (add comma before if needed)
  • Switch models inside Claude Code using /model command, e.g., /model deepseek-v4-pro[1m]

Notes

  • If Node.js, npm, or Git are not found, the skill will automatically download them from Tsinghua mirrors.
  • The skill does not store or manage any API credentials.
  • For model switching, refer to the /model command within Claude Code.
安全使用建议
Review before installing. Only use this if you are comfortable with global package installs and a persistent npm registry change to a third-party mirror. Prefer asking the agent to use official upstream sources, confirm before installing prerequisites, avoid changing global npm config, and verify the cc-switch source before entering any API key.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
Installing Claude Code, checking Node/npm/Git, and guiding API setup fit the stated purpose, but the skill also delegates credential setup to an unspecified cc-switch URL placeholder.
Instruction Scope
The instructions say missing prerequisites will be installed automatically and set a China npm mirror by default, without requiring explicit user confirmation or offering official-source alternatives.
Install Mechanism
The skill installs global CLI tooling and changes npm registry configuration to https://registry.npmmirror.com/, which can affect future unrelated npm installs.
Credentials
Global installs and third-party mirrors are plausible for this installer, but they are broader than necessary unless scoped to the current install or explicitly chosen by the user.
Persistence & Privilege
The npm registry change is persistent configuration, and the artifact does not explain its lasting effect or provide rollback instructions.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install claude-installer
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /claude-installer 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release of claude-installer skill. - Automates installation of Claude Code CLI by Anthropic. - Checks for and installs prerequisites (Node.js, npm, Git) using Tsinghua mirrors if needed. - Sets npm registry mirror to support users in China. - Guides users to complete API configuration using cc-switch, without handling API keys directly. - Provides clear post-install prompts for onboarding and model switching.
元数据
Slug claude-installer
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Claude Installer 是什么?

Automate installation of Claude Code CLI and guide user to configure API via cc-switch. Handles environment setup, mirrors, and post-install prompts. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 29 次。

如何安装 Claude Installer?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install claude-installer」即可一键安装,无需额外配置。

Claude Installer 是免费的吗?

是的,Claude Installer 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Claude Installer 支持哪些平台?

Claude Installer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Claude Installer?

由 LingMaker9(@lingmaker9)开发并维护,当前版本 v0.1.0。

💬 留言讨论