ck-init
Initialize Context King in the current repository, or migrate a repo from a legacy per-repo deployment to the global install.
от Fredrik-C★ 24 звезды на GitHub
Установить ck-init в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
ck init — Repository Initialization
Run once per repository after installing Context King globally. Do not confuse with
ck index (which builds the semantic search index).
Commands
Initialize a new repo:
.claude/skills/ck/ck init
Creates .ck.json (minimum version requirement and default findFiles settings), adds .ck-index/ to .gitignore,
and creates the .ck-knowledge/ directory. Commit these files to share the setup
with your team.
Migrate a legacy repo (previously set up with the old per-repo deploy.sh):
.claude/skills/ck/ck init --migrate
Detects and removes per-repo artifacts (binary, model, hook scripts, rule file) and
cleans up relative-path hook registrations and CK allowedTools entries from
.claude/settings.json, leaving all non-CK content intact.
Execution Protocol
When the user asks for ck init:
- Run
ck initdirectly first. - Do not pre-check
.claude/settings.json,.ck, or other legacy artifacts unless:- the user explicitly asked for migration, or
ck initoutput indicates legacy deployment conflicts.
- Only run
ck init --migratewhen explicitly requested by the user (or after confirming migration is needed from command output).
Options
| Option | Description |
|---|---|
--migrate |
Remove legacy per-repo deploy artifacts and clean up settings.json |
--force |
Re-initialize even if .ck.json already exists |
--quiet |
Suppress informational output |
After init
Commit .ck.json and .ck-knowledge/ to the repository. The .ck-index/ directory
is gitignored and will be built automatically on the first ck find-files call.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл ck-init?
Initialize Context King in the current repository, or migrate a repo from a legacy per-repo deployment to the global install.
Как установить скилл ck-init?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ck-init запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…