Case 1: nothing is installed
If none of AGENTS.md, CLAUDE.md, GEMINI.md, START_NEXT_SESSION_PROMPT.txt, or dev/ exists, use a fresh install.
This page is for an agentic AI that can read and write the local folder and run terminal commands. The user should not have to choose an npm command or diagnose a conflict. Read this page before acting in the folder.
Version note: this page is aligned with v0.3.56. @latest means the version currently available from the npm registry.
Before running any npx command, remember this section. After installation or upgrade, the AI must not say only “completed” or paste only terminal output. It must explain the result and next step to the user in the following format.
Completion-report template: ✅ Installation completed. 📁 Current folder: <absolute path>. 🩺 doctor passed. ⚠️ The next step is not a terminal command; in an AI conversation that can read and write this folder, enter Start Agent Handoff or “開工”. Only if the AI has not yet been pointed at this folder, use: Work in <absolute path>. Read AGENTS.md first, then Start Agent Handoff. Before changing anything, tell me the current state and your recommended next step.
init, upgrade, or doctor.AGENTS.md, CLAUDE.md, GEMINI.md, START_NEXT_SESSION_PROMPT.txt, or dev/.If none of AGENTS.md, CLAUDE.md, GEMINI.md, START_NEXT_SESSION_PROMPT.txt, or dev/ exists, use a fresh install.
If any Kit file or existing AI memory file exists, preview the upgrade first. Do not overwrite directly.
upgrade --dry-run, then validate with doctor and hash/readback evidence. Report to the Kit maintainer only if the evidence shows Kit misclassified an unchanged formal old file. Do not reinstall or replace whole files to bypass the conflict.doctor passes, read AGENTS.md, then follow the Start Agent Handoff startup flow to connect this folder.doctor only reports that the convenience copy START_NEXT_SESSION_PROMPT.txt is behind, explain that it will be regenerated at formal closeout; do not reinstall because of this.This section is the checklist for the completion-report contract at the top of the page. After acting, the AI must not say only “completed” or paste only terminal output. It must explain the result and next step to the user in short, plain language.
doctor passed, failed, or only noted that the convenience copy is behind.Start Agent Handoff / “開工” must be entered in an AI conversation that can read and write this folder.Start Agent Handoff or “開工”; only if the AI has not yet been pointed at the folder, give the path-bearing startup sentence.✅ Installation completed. 📁 Current folder: <absolute path>. 🩺 doctor passed. Do not remain in the terminal for the next step; in an AI conversation that can read and write this folder, enter Start Agent Handoff or “開工”. Only if the AI has not yet been pointed at the folder, use: Work in <absolute path>. Read AGENTS.md first, then Start Agent Handoff. Before changing anything, tell me the current state and your recommended next step.