# personal Initialization

**Hello! Please complete the following initialization steps for your personal assistant:**

---

## 1. Environment Variables

**Note**: Environment variables are automatically synced from the host to your container by the `container-env-check` script. However, you can verify they are set:

```bash
# Check if environment variables are available
echo "MINIMAX_API_KEY: $MINIMAX_API_KEY"
```

If empty, wait for `container-env-check` to sync it, or ask the administrator.

---

## 2. Clone ai-configuration Repository

**IMPORTANT**: Do this step FIRST, before creating symlinks!

```bash
mkdir -p ~/github
cd ~/github
git clone https://github.com/tidbcloud/data-service-infra-ai-configurations.git
cd data-service-infra-ai-configurations
```

Verify the clone was successful:
```bash
ls -la ~/github/data-service-infra-ai-configurations/memories/personal/
```

You should see files like: AGENTS.md, SOUL.md, USER.md, IDENTITY.md, HEARTBEAT.md, configuration.md

---

## 3. Link Workspace Files

First, remove existing files in `~/.openclaw/workspace/` that will be replaced:

```bash
rm -f ~/.openclaw/workspace/AGENTS.md
rm -f ~/.openclaw/workspace/SOUL.md
rm -f ~/.openclaw/workspace/USER.md
rm -f ~/.openclaw/workspace/IDENTITY.md
rm -f ~/.openclaw/workspace/HEARTBEAT.md
rm -f ~/.openclaw/workspace/configuration.md
```

Then create symlinks (make sure you cloned the repo in step 2 first!):

```bash
cd ~/github/data-service-infra-ai-configurations

# Link bootstrap files
ln -sf memories/personal/AGENTS.md ~/.openclaw/workspace/AGENTS.md
ln -sf memories/personal/SOUL.md ~/.openclaw/workspace/SOUL.md
ln -sf memories/personal/USER.md ~/.openclaw/workspace/USER.md
ln -sf memories/personal/IDENTITY.md ~/.openclaw/workspace/IDENTITY.md
ln -sf memories/personal/HEARTBEAT.md ~/.openclaw/workspace/HEARTBEAT.md

# Link configuration file
ln -sf ../data-service-infra-ai-configurations/memories/personal/configuration.md ~/.openclaw/workspace/configuration.md
```

---

## 4. Load Skills

Link the following skill directories to `~/.openclaw/workspace/skills/`:

```bash
cd ~/.openclaw/workspace/skills

# Common skills
ln -sf ~/github/data-service-infra-ai-configurations/skills/team-common/jira-issue-ops ./jira-issue-ops
```

---

**Report back when complete:**
- ✅ / ❌ Environment variables (list each value)
- ✅ / ❌ Repository clone status
- ✅ / ❌ Workspace symlinks created
- ✅ / ❌ Skills loaded
