Add launcher script option and streamline setup flow
- Offer to create double-clickable launcher script after setup - Allow starting first session immediately without exiting - Update GETTING-STARTED.md for conversational setup - Remove outdated bash/PowerShell script references Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -839,22 +839,62 @@ Tell the user:
|
||||
> **Style:** {style}
|
||||
> **Approaches:** {approaches}
|
||||
> **Structure:** {structure}
|
||||
|
||||
Then ask:
|
||||
|
||||
> Would you like me to create an easy launcher script? You'll be able to double-click it to start a session anytime.
|
||||
|
||||
### If Yes - Create Launcher Script
|
||||
|
||||
**macOS/Linux:** Create `{storage_path}/start-session.command`:
|
||||
```bash
|
||||
#!/bin/bash
|
||||
cd "{storage_path}"
|
||||
claude
|
||||
```
|
||||
Then run `chmod +x "{storage_path}/start-session.command"` to make it executable.
|
||||
|
||||
**Windows:** Create `{storage_path}/start-session.bat`:
|
||||
```batch
|
||||
@echo off
|
||||
cd /d "{storage_path}"
|
||||
claude
|
||||
```
|
||||
|
||||
Tell them:
|
||||
|
||||
> Done! I created a launcher at `{storage_path}/start-session.command` (or `.bat` on Windows).
|
||||
>
|
||||
> To start a session anytime, just double-click that file. You can also drag it to your Dock (Mac) or pin it to your taskbar (Windows) for easy access.
|
||||
>
|
||||
> Would you like to start your first session with {therapist_name} now?
|
||||
|
||||
### If No - Show Manual Instructions
|
||||
|
||||
> No problem. To start a session, open your terminal and run:
|
||||
>
|
||||
> **To start a session:**
|
||||
> ```
|
||||
> cd "{storage_path}"
|
||||
> claude
|
||||
> cd "{storage_path}" && claude
|
||||
> ```
|
||||
>
|
||||
> That's it. Just talk to {therapist_name}.
|
||||
> You'll need to do this each time. {therapist_name} lives in that folder.
|
||||
>
|
||||
> Take care of yourself.
|
||||
> Would you like to start your first session now?
|
||||
|
||||
### Starting the First Session
|
||||
|
||||
If the user wants to start their first session:
|
||||
|
||||
1. Read the newly created `{storage_path}/CLAUDE.md`
|
||||
2. Adopt the therapist persona defined there
|
||||
3. Begin the session as {therapist_name}, welcoming the client warmly
|
||||
4. When the session ends, save notes to `{storage_path}/sessions/` using the absolute path
|
||||
|
||||
---
|
||||
|
||||
## If Setup Already Complete
|
||||
|
||||
If the user has already run setup and returns here, remind them to `cd` into their therapy folder and run `claude` from there. This repo is just for installation.
|
||||
If the user has already run setup and returns here, remind them to `cd` into their therapy folder and run `claude` from there (or use their launcher script). This repo is just for installation.
|
||||
|
||||
## If User Asks Questions
|
||||
|
||||
|
||||
+17
-14
@@ -54,22 +54,17 @@ cd ai-therapy-kit
|
||||
|
||||
## Step 3: Run Setup
|
||||
|
||||
**Mac/Linux:**
|
||||
From the ai-therapy-kit folder, run:
|
||||
|
||||
```bash
|
||||
./setup.sh
|
||||
claude
|
||||
```
|
||||
|
||||
**Windows:**
|
||||
```powershell
|
||||
.\setup.ps1
|
||||
```
|
||||
|
||||
The script asks a few questions:
|
||||
Claude will walk you through setup conversationally:
|
||||
- What to name your AI therapist
|
||||
- Communication style (warm, direct, or coach)
|
||||
- Communication style (warm, direct, coach, or grounded)
|
||||
- Which therapeutic approaches to use
|
||||
- Where to store your session files
|
||||
- Whether to encrypt (for shared computers)
|
||||
|
||||
This creates your personalized therapy folder with a `CLAUDE.md` file that shapes how your AI therapist behaves.
|
||||
|
||||
@@ -77,9 +72,16 @@ This creates your personalized therapy folder with a `CLAUDE.md` file that shape
|
||||
|
||||
## Step 4: Start a Session
|
||||
|
||||
At the end of setup, Claude will ask if you want to start your first session right away. Say yes!
|
||||
|
||||
For future sessions, you have two options:
|
||||
|
||||
**Option A: Launcher script (easiest)**
|
||||
If you chose to create a launcher during setup, just double-click `start-session.command` (Mac/Linux) or `start-session.bat` (Windows) in your therapy folder. You can drag this to your Dock or taskbar for quick access.
|
||||
|
||||
**Option B: Terminal**
|
||||
```bash
|
||||
cd ~/ai-therapy # or wherever you chose to store files
|
||||
claude
|
||||
cd ~/sage && claude # replace with your folder name
|
||||
```
|
||||
|
||||
Just talk. Say hello, share what's on your mind. Your AI therapist will:
|
||||
@@ -110,8 +112,9 @@ Your sessions are saved as plain text files. You can read them with any text edi
|
||||
- Make sure you're in your therapy folder (`cd ~/ai-therapy`) before running `claude`
|
||||
- Check that `CLAUDE.md` exists in that folder
|
||||
|
||||
**Setup script won't run (Mac)**
|
||||
- Run `chmod +x setup.sh` first, then try again
|
||||
**Setup didn't start**
|
||||
- Make sure you're in the `ai-therapy-kit` folder when running `claude`
|
||||
- Check that `CLAUDE.md` exists in the repo
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user