crack-setup

GitHub

配置或更改 Codex-on-crack 的工作者模型,包括扫描可用模型、预览角色文件、应用配置及验证兼容性,同时保留用户现有设置。

plugins/codex-on-crack/skills/crack-setup/SKILL.md ethanplusai/codex-on-crack

Trigger Scenarios

需要配置或更改 codex worker 模型 检查模型兼容性和角色文件 执行 setup 流程以选择 lead 模型

Install

npx skills add ethanplusai/codex-on-crack --skill crack-setup -g -y
More Options

Non-standard path

npx skills add https://github.com/ethanplusai/codex-on-crack/tree/main/plugins/codex-on-crack/skills/crack-setup -g -y

Use without installing

npx skills use ethanplusai/codex-on-crack@crack-setup

指定 Agent (Claude Code)

npx skills add ethanplusai/codex-on-crack --skill crack-setup -a claude-code -g -y

安装 repo 全部 skill

npx skills add ethanplusai/codex-on-crack --all -g -y

预览 repo 内 skill

npx skills add ethanplusai/codex-on-crack --list

SKILL.md

Frontmatter
{
    "name": "crack-setup",
    "description": "Configure or change the approved worker models for codex-on-crack, inspect available models and compatibility, preview role files, or undo a setup. The user selects the lead in Codex. Setup preserves root settings, credentials, unrelated agents, and config.toml."
}

Choose workers; preserve the lead

Helpers live in ../crack/scripts/. Keep the user's existing model/provider choices. Installing skills alone does not configure workers or change the lead.

  1. Run node ../crack/scripts/setup.mjs scan with the session's home/profile. Show relevant eligible models, efforts, image support, context, and exclusions. Catalog presence is not account access or a working provider route. Do not rank capabilities the catalog does not establish or invent prices.
  2. Read an existing crack.toml before proposing changes. Start with one builder chosen by the user. Additional roles can map to implementation, ui, review, research, or tests with a tasks array. These are user preferences, not demonstrated model strengths. Set the exact model and a supported effort; keep fallback optional. Never change the selected lead to make setup pass.
  3. Write a draft in a task-owned directory. Preview with node ../crack/scripts/setup.mjs plan --roles DRAFT and show the concrete model/effort and file changes. Apply the agreed configuration with node ../crack/scripts/setup.mjs apply --roles DRAFT. If the specific model choices or global writes aren't yet authorized, obtain that decision after producing the preview. Don't repeat approval already given for those choices.
  4. Return the receipt path and explain that a fresh client session must load the generated native roles. Run doctor.mjs; then use a real authorized task to verify child metadata. No paid installation smoke test is needed.

Draft shape (replace the model with an exact eligible ID):

schema_version = 1
[roles.builder]
model = "MODEL_FROM_SCAN"
writes = true
tasks = ["implementation", "tests"]
brief = "Implements the scoped task and verifies it for lead review."

Role names use lowercase letters/digits/underscores and cannot end _fallback. Read-only roles set writes = false. Use capability/route checks, not a model's brand, to determine whether a proposed setup is compatible. A model recommendation does not grant permission to share private source with a new provider.

The current adapter conservatively checks the inherited parent provider. Native-model and Router-model catalog entries may both exist without a compatible mixed-provider session. Stop and explain an incompatible route; do not rewrite endpoints, credentials, or permissions. Custom-role model settings take precedence over a spawn override, so verify the role actually names the selected model.

Default to no global policy during initial setup. If an old orchestrator policy is active, explain the conflict and use an authorized --migrate-legacy preview rather than leaving both workflows active. This backs up/removes only its marked policy block; old role and skill files remain. Do not migrate merely to inspect or compare the packages.

Use --profile consistently; setup records profile/catalog for future checks. An offline --model-catalog can supply metadata only when it does not conflict with the configured catalog. Setup never refreshes a provider or reads credentials. Undo previews with setup.mjs undo --receipt PATH; --apply restores only when no later edits would be overwritten. Preserve receipts and hand-edited files.

Version History

  • 9dee6ca Current 2026-10-18 16:07

Same Skill Collection

legacy/astra-flash-orchestrator/skill/astra-flash-orchestrator/SKILL.md
plugins/codex-on-crack-panel/skills/crack-panel/SKILL.md
plugins/codex-on-crack/skills/crack-plan/SKILL.md
plugins/codex-on-crack/skills/crack/SKILL.md
skill/astra-flash-orchestrator/SKILL.md

Metadata

Files
0
Version
9dee6ca
Hash
6f1caf9e
Indexed
2026-10-18 16:07

홈 - 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-19 02:07
浙ICP备14020137号-1