AGENT SKILL

start

Install mentat into a directory, creating a new course. Use when the user asks to create, set up, install, or upgrade a course, or names a directory they want a course to live in. Dev-side only — this skill lives in the mentat repository and is never installed into a course.

License 许可
MIT
所属仓库
usulpro/mentat
最近更新
2026-08-14
Stars
★ 0
Forks
0

01 前言 Front Matter

name
start
description
Install mentat into a directory, creating a new course. Use when the user asks to create, set up, install, or upgrade a course, or names a directory they want a course to live in. Dev-side only — this skill lives in the mentat repository and is never installed into a course.

03 SKILL.md 正文

start

Front door to scripts/start.mjs. That script is the authority on what installing means; this skill only settles the two things it cannot decide for itself, runs it, and relays what it said.

Hold no procedure of your own here. Do not describe or predict what gets written. If you find yourself explaining the installation, read the script's --help instead, or just run it — a second description of the same behaviour drifts from the real one, and the script is what actually runs.

Settle two things first

The target directory. The user's to choose, never guessed. Ask if they have not named one. If they have not and you run without it, the script may fall back to a development default — say that is what happened rather than letting it pass unnoticed.

The platform. Default to the one you are running under; that is right nearly always and asking would be noise. Say which you are using in one clause, and accept an override without argument — installing for one agent from inside another is normal. Never omit it: the script refuses to guess, by design.

Then run it

node scripts/start.mjs --target <dir> --platform <platform>

Add --dry-run when the user wants to see what would happen first, or when you are not confident the target is right.

Then report

Relay what the script printed. It ends some installs with notes the user has to act on — pass those through as they are. Do not summarise them into reassurance, do not fold them into a sentence saying everything went fine, and do not decide on the user's behalf that a note is a detail. If a note asks for a decision or a follow-up step, that is the thing to surface first.

If the script fails, show its message. It explains its own refusals.

04 同仓库更多 Skills