Fork, clone to ~/.clank, run installer, edit CLAUDE.md
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "Installing Skills System" 技能: 1. 下载 https://raw.githubusercontent.com/obra/clank/main/skills/meta/installing-skills/SKILL.md 2. 保存为 ~/.claude/skills/installing-skills/SKILL.md 3. 装好后重载技能,告诉我可以用了
Installs the clank skills repository to ~/.clank/clank and configures Claude to use it.
For Claude agents: Follow the "Installation Steps for Claude" section below.
For humans: Follow the "Quick Install" section.
When instructed to install clank, follow these steps exactly:
With GitHub CLI (if available):
mkdir -p ~/.clank
cd ~/.clank
gh repo fork obra/clank --clone --remote-name upstream
Without GitHub CLI:
mkdir -p ~/.clank
cd ~/.clank
git clone https://github.com/obra/clank.git
cd ~/.clank/clank
./skills/meta/installing-skills/install.sh
This creates symlinks for skills and commands.
Use the Edit tool to add this XML section to the very beginning of ~/.claude/CLAUDE.md:
<EXTREMELY_IMPORTANT>
You have a personal skills wiki at ~/.claude/skills/ with proven techniques, patterns, and tools that give you new capabilities.
STOP. Before doing ANYTHING else in this conversation, read this file: skills/getting-started
That file tells you how to find and use your skills.
ONLY after reading getting-started, are you allowed to proceed with the user's request.
CRITICAL: If a skill exists for your task, you MUST use it - even if you think you're already good at that. You're not. The skill prevents mistakes you don't know you make. SKILLS EXIST AND YOU DIDN'T USE THEM = FAILED TASK.
</EXTREMELY_IMPORTANT>
ls -la ~/.claude/skills
ls -la ~/.claude/commands
~/.claude/skills/getting-started/skills-search 'test.*driven'
Tell your human partner: "Installation complete. Please restart your Claude session to pick up the new CLAUDE.md configuration."
curl -fsSL https://raw.githubusercontent.com/obra/clank/main/skills/meta/installing-skills/install.sh | bash
# Then manually add CLAUDE.md section from Step 3 above
~/.claude/skills (if exists) to timestamped backup~/.claude/skills → ~/.clank/clank/skills~/.clank/clank/commands/*.md to ~/.claude/commands/~/.claude/skills/getting-started/skills-search)After installation, verify it worked:
# Should show symlink to ~/.clank/clank/skills
ls -la ~/.claude/skills
# Should show individual command symlinks
ls -la ~/.claude/commands/
# Test skills-search tool
~/.claude/skills/getting-started/skills-search 'test.*driven'
Skills (~/.claude/skills/):
@ syntax in code and documentationskills-search toolCommands (~/.claude/commands/):
/brainstorm, /write-plan, /execute-plan)@ syntaxTools (~/.claude/skills/getting-started/):
skills-search - Find relevant skills using grep patternsForking lets you:
git pull upstream main)After installation, edit your ~/.claude/CLAUDE.md and add this section:
<extremely_important_skills_library>
…
帮助开发者保持类接口抽象一致,避免混杂序列化、持久化等无关职责。