skill-installer
- Repo stars 748
- Author updated Live
- Author repo cc-use-exp
- Domain
- Other
- Compatible agents
-
- Claude Code
- Cursor
- Cline
- Codex
- Windsurf
- Gemini CLI
- +20
- Trust score
- 88 / 100 · community maintained
- Author / version / license
- @doccker · no license declared
- Token usage
- Lean
- Setup complexity
- Plug-and-play
- External API key
- Not required
- Operating systems
- Unspecified (assume cross-platform)
- Runtime requirements
- No special requirements
- Permissions
-
- Read-only
- Write / modify
- Network behavior
- Local-only
- Install commands
- 26 variants
Profile is derived at build time from SKILL.md and install vectors. Subject to drift from author intent.
Heads up: 未限定 allowed-tools,默认拥有全部工具权限。
---
name: skill-installer
description: 一键安装 cc-use-exp AI 编码助手配置体系到 Codex CLI。 $skill-installer install https://github.com/doccker/cc-u…
category: other
runtime: no special runtime
---
# skill-installer output preview
## PART A: Task fit
- Use case: 一键安装 cc-use-exp AI 编码助手配置体系到 Codex CLI。 $skill-installer install https://github.com/doccker/cc-use-exp/.codex/skills/cc-skill-installer 或指定 GitHub URL(未来扩展): INSTALL_DIR="$HOME/.codex/.cc-use-exp" runs entirely locally. Works with Claude Code, Cursor, Cline and 23 more..
- Inputs: target material, constraints, expected output, and acceptance criteria.
- Evidence boundary: follow “使用方式 / 执行步骤 / 第 1 步:检查安装状态” and do not present inference as author intent.
## PART B: Execution result
- **01** The card summarizes the use case; runtime output centers on “一键安装 cc-use-exp AI 编码助手配置体系到 Codex CLI。 $skill-installer install https://github.com/doccker/cc-use-exp/.codex/skills/cc-skill-installer 或指定 GitHub URL(未来扩展): INSTALL_DIR="$HOME/.codex/.cc-use-exp" runs entirely locally. Works with Claude Code, Cursor, Cline and 23 more.”.
- **02** When the source has headings, the agent prioritizes “使用方式 / 执行步骤 / 第 1 步:检查安装状态” so the result follows the author’s structure.
- **03** Typical output includes task judgment, concrete steps, required commands or file edits, validation, and follow-up options.
- **04** Risk context follows the fingerprint: read files, write/modify files; mostly runs locally; usually needs no extra API key.
## Running Rules
- read files, write/modify files; mostly runs locally; usually needs no extra API key.
- Validate with a small sample before expanding scope.
- Return the result, validation criteria, and next iteration options. The source does not require a stable slash command. After installation, invoke the skill by name and describe the task.
Name target files or source material, expected output, forbidden changes, and whether network or shell access is allowed. Permission fingerprint: read files, write/modify files.
Start with a small task and check whether the result follows “使用方式 / 执行步骤 / 第 1 步:检查安装状态”. Inspect diffs, logs, previews, or tests before expanding scope.
Confirm the final output includes a concrete result, evidence, and next action. If it stays generic, tighten inputs, boundaries, and acceptance criteria.
---
name: skill-installer
description: 一键安装 cc-use-exp AI 编码助手配置体系到 Codex CLI。 $skill-installer install https://github.com/doccker/cc-u…
category: other
source: doccker/cc-use-exp
---
# skill-installer
## When to use
- 一键安装 cc-use-exp AI 编码助手配置体系到 Codex CLI。 $skill-installer install https://github.com/doccker/cc-use-exp/.codex/skills/c…
- Use it when the task has clear inputs, repeatable steps, and validation criteria.
## What to provide
- Target material, scope, expected result, and forbidden changes.
- Whether network, commands, file writes, or external services are allowed.
## Execution rules
- Organize steps around “使用方式 / 执行步骤 / 第 1 步:检查安装状态” and keep inference separate from source facts.
- read files, write/modify files; mostly runs locally; usually needs no extra API key.
- Validate with a small sample before expanding the task.
## Output requirements
- Return the deliverable, key evidence, validation method, and next action.
- Mark missing information as unknown; do not invent commands, platforms, or dependencies. The author source anchors workflow facts; repository files anchor sources and commands; Fluxly only adds fit, limitations, and quality judgment.
skill "skill-installer" {
input -> user goal + target files + boundaries + acceptance criteria
context -> 使用方式 / 执行步骤 / 第 1 步:检查安装状态
rules -> SKILL.md triggers / order / output contract
runtime -> no special runtime | read files, write/modify files | mostly runs locally
guardrails -> usually needs no extra API key + small-sample validation + diff/log review
output -> copyable result + checklist + next iteration
} cc-use-exp Skill 安装器(Codex)
一键安装 cc-use-exp AI 编码助手配置体系到 Codex CLI。
使用方式
$skill-installer install https://github.com/doccker/cc-use-exp/.codex/skills/cc-skill-installer
或指定 GitHub URL(未来扩展):
$skill-installer install https://github.com/doccker/cc-use-exp
执行步骤
第 1 步:检查安装状态
INSTALL_DIR="$HOME/.codex/.cc-use-exp"
if [ -d "$INSTALL_DIR" ]; then
echo "⚠️ 检测到已安装"
echo ""
echo "安装位置: $INSTALL_DIR"
echo ""
cd "$INSTALL_DIR"
echo "当前版本:"
git log -1 --pretty=format:"%h - %s (%ar)" 2>/dev/null || echo "无法获取版本信息"
echo ""
echo ""
echo "是否更新到最新版本?(y/N)"
read -r response
if [[ ! "$response" =~ ^[Yy]$ ]]; then
echo "❌ 取消安装"
exit 0
fi
echo "🔄 更新现有安装..."
git pull origin main
else
echo "📦 开始安装 cc-use-exp..."
echo ""
# 创建安装目录
mkdir -p "$HOME/.codex"
# Clone 仓库
git clone https://github.com/doccker/cc-use-exp.git "$INSTALL_DIR"
if [ $? -ne 0 ]; then
echo "❌ 克隆失败,请检查网络连接"
exit 1
fi
cd "$INSTALL_DIR"
echo "✓ 仓库克隆完成"
fi
第 2 步:执行同步脚本
echo ""
echo "🔧 同步配置到 Codex..."
echo ""
if [ -f "./tools/sync-config.sh" ]; then
# 只执行 Codex 部分的同步
CC_USE_EXP_SYNC_TARGETS=codex ./tools/sync-config.sh
else
echo "❌ 错误:找不到同步脚本"
exit 1
fi
第 3 步:显示安装结果
echo ""
echo "✅ 安装完成!"
echo ""
echo "📝 已同步配置到:"
echo " - ~/.codex/AGENTS.md(受管区块)"
echo " - ~/.codex/rules/"
echo " - ~/.codex/instructions/"
echo " - ~/.codex/*.config.toml(profiles)"
echo " - ~/.agents/skills/"
echo ""
echo "🔄 配置已生效,无需重启"
echo ""
echo "💡 后续操作:"
echo " - 更新配置:重新运行 \$skill-installer install"
echo " - 查看状态:\$cc-status"
echo " - 卸载:手动删除 $INSTALL_DIR 和上述配置"
echo ""
echo "📖 文档:https://github.com/doccker/cc-use-exp"
错误处理
网络错误:
if ! git clone ...; then
echo "❌ 网络错误,请检查:"
echo " 1. 网络连接是否正常"
echo " 2. 是否可以访问 GitHub"
echo " 3. 是否需要配置代理"
exit 1
fi
权限错误:
if [ ! -w "$HOME/.codex" ]; then
echo "❌ 权限错误:无法写入 ~/.codex/"
echo "请检查目录权限"
exit 1
fi
注意事项
- 安装位置:
~/.codex/.cc-use-exp/ - 配置同步到:
~/.codex/、~/.agents/skills/ AGENTS.md使用受管区块合并,profiles 使用独立*.config.toml文件,不会覆盖用户自定义配置- 支持重复安装(自动检测并提示更新)
规则溯源
> 📋 本回复遵循:`skill-installer` - cc-use-exp Codex 安装器
Decide Fit First
Design Intent
How To Use It
Boundaries And Review