setup
Install or repair ven's command-line tools (ven-profile, ven-decisions, ven-doctor), set per-user model and budget settings, and migrate state an older ven left behind. Use when a ven-* command is not found, after installing or updating ven, or when ven-doctor or ven-profile context points here.
- License 许可
- MIT
- 最近更新
- 2026-11-04
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- setup
- metadata
- { "layer": "L1", "license": "MIT" }
- description
- Install or repair ven's command-line tools (ven-profile, ven-decisions, ven-doctor), set per-user model and budget settings, and migrate state an older ven left behind. Use when a ven-* command is not found, after installing or updating ven, or when ven-doctor or ven-profile context points here.
02 资源文件 31
- 脚本assets/templates/adapter/adapter.mjs2.5 KB
- 脚本assets/templates/adapter/adapter.test.mjs1.8 KB
- 资产文件assets/templates/pack/.gitignore21 B
- 资产文件assets/templates/pack/cases/stays-quiet/graders/no-pack-skill.md146 B
- 资产文件assets/templates/pack/cases/stays-quiet/prompt.md414 B
- 资产文件assets/templates/pack/pack.json446 B
- 脚本assets/templates/pack/scripts/eval.mjs1.9 KB
- 资产文件assets/templates/playbook/cases/route/case.yaml84 B
- 脚本assets/templates/playbook/cases/route/fixture.sh1.4 KB
- 资产文件assets/templates/playbook/cases/route/graders/picks-playbook.md154 B
- 资产文件assets/templates/playbook/cases/route/prompt.md567 B
- 资产文件assets/templates/playbook/playbook.md805 B
- 脚本scripts/install.mjs2.2 KB
- 脚本scripts/lib/args.mjs3.4 KB
- 脚本scripts/lib/claude.mjs676 B
- 脚本scripts/lib/config.mjs1.2 KB
- 脚本scripts/lib/frontmatter.mjs3.3 KB
- 脚本scripts/lib/globs.mjs1.1 KB
- 脚本scripts/lib/migrate.mjs3.4 KB
- 脚本scripts/lib/profile.mjs5.3 KB
- 脚本scripts/lib/repo.mjs6.7 KB
- 脚本scripts/lib/signals.mjs1.2 KB
- 脚本scripts/lib/solutions.mjs1.4 KB
- 脚本scripts/lib/state.mjs3.7 KB
- 脚本scripts/lib/workarounds.mjs3.1 KB
- 脚本scripts/lint.json3.4 KB
- 脚本scripts/ven-decisions7.0 KB
- 脚本scripts/ven-doctor5.5 KB
- 脚本scripts/ven-lint-skills12.5 KB
- 脚本scripts/ven-profile24.5 KB
- 脚本scripts/ven-transcripts5.1 KB
03 SKILL.md 正文
Setup
ven's skills call a few command-line tools that ship inside this skill, in scripts/. Setup puts them on the PATH, checks the install, and nothing more: there is no per-repo onboarding. A repo's profile fills in as work needs it.
1. Install the tools
Run the installer from this skill's directory:
node <this skill's directory>/scripts/install.mjs
It links each ven-* tool into ~/.ven/bin (VEN_HOME moves ~/.ven), repoints links left by another install, and removes links to tools that no longer exist. It is safe to rerun.
If it says the directory is not on PATH, show the user the export PATH=... line it printed and ask them to add it to their shell profile; never edit that file yourself. Until a new shell picks it up, call the tools by full path (~/.ven/bin/ven-profile).
2. Check the install
Run ven-doctor. Fix each ERROR before anything else; each finding names its fix. WARNs that matter now:
- tools not on PATH, or from another install: rerun step 1.
- state from an older ven version: run
ven-profile migrateinside that repo. It moves the old session map aside and deletes hook state; profiles, glossary, solutions and decisions stay.
3. Settings
ven-profile config prints the per-user settings in ~/.ven/config.json:
orchestrator_model,coder_model,swarm_model: the model each delegated role runs on.inherit(the default) uses whatever model your agent runs. Set them only if your agent can pick a model per subagent, using its own model names:ven-profile config swarm_model <name>.budget_tier:lean,standard(default) ormax. It sets effort and whether optional review panels run. A repo can pin its own withven-profile set budget_tier <tier>.
Ask the user before changing a setting; show the current value first.
4. Report
Say what the installer changed, the doctor's remaining findings, and the settings in effect.
04 同仓库更多 Skills
yeet
Take every local change green through the repo's own checks, slice it into conventional commits, push, and with --pr open a pull request on the code host. Use only when the user explicitly asks to yeet, or to commit and push everything; never on your own initiative.
write-docs
Write or update documentation from the code: gather facts, pick the shape for the reader, write it plain, and prove every command and path in it. Use when asked to document a repo, module or feature, or to bring stale docs up to date.
why
Find why code is shaped the way it is (design rationale, trade-offs, regressions, odd thresholds) from history, tickets, docs and chat, citing every claim and stating its confidence. Use for 'why does X work this way', 'why did we pick Y', or before changing code whose purpose is unclear.
verify
Prove a change works with the check that matches its type, do the read-back, and log the pass against the exact tree. Use when a change is ready to call done, before review, commit or stopping, and whenever ven-decisions end refuses an unverified tree.
unslop
Cut AI writing tells (filler, model vocabulary, metaphor nouns, hedging, formatting tics) from text while keeping every fact. Use when editing or checking any prose before it ships: docs, PR bodies, reports, skill text.
type-discipline
Apply when designing types or data shapes, reviewing a signature, or handling outside data, in any language. Make wrong states fail early: in the compiler for typed languages, in validated runtime contracts for untyped ones.