# Setup

> Configure Tongji Look credentials, check system dependencies (Python, Node.js, ffmpeg, vision-support, XeLaTeX), and set up the persistent course-wiki workspace.

- Skill: `walkerkiller/setup` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add walkerkiller/setup`
- Raw SKILL.md: https://api.skillmd.com/api/skills/walkerkiller/setup/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- License: MIT
- Author: WALKERKILLER (https://skillmd.com/u/walkerkiller)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/walkerkiller/setup

---


# Setup

Configure credentials, dependencies, and workspace for Look Tongji Notes.

## When to Use

- User says `/setup` or asks to configure the skill.
- First-time setup before transcribing lectures.
- User wants to change or migrate the course knowledge-base path.

## Workflow

1. Run setup:

```bash
python "<SKILL_DIR>/../../scripts/look_tongji.py" setup
```

2. Non-interactive workspace options:

```bash
python "<SKILL_DIR>/../../scripts/look_tongji.py" setup \
  --workspace-root "<COURSE_WIKI_ROOT>" \
  --owner-name "<OWNER_NAME>" \
  --site-name "<OWNER_NAME>的课程知识库"
```

3. The CLI checks: Python deps (requests, playwright, python-dotenv, markdown, markitdown), ffmpeg, Node.js, vision-support config, and optionally XeLaTeX.

4. **Vision Support setup:** If `vision-support/config.json` does not exist, the CLI prints the init command. The embedded vision-support is at `<SKILL_DIR>/../../vision-support/`. Help the user configure a vision provider (OpenAI, Google, Anthropic, deepseek, dashscope, zhipuai, ollama, or custom).

5. **Verify vision-support:** After configuration, test with:
   ```bash
   node "<SKILL_DIR>/../../vision-support/scripts/vision.mjs" "<SKILL_DIR>/../../komari.jpg"
   ```
   The agent should correctly identify image content (should mention "red-haired girl" or equivalent).

6. Never ask for passwords in chat. Use interactive terminal input or environment variables.

## Where `<SKILL_DIR>` Points

`<SKILL_DIR>` is the directory containing this `SKILL.md`. Shared scripts (`look_tongji.py`, `timeline_tools.py`, `tongji_backend/`) and references live two levels up in the repository root (`<SKILL_DIR>/../../scripts/` and `<SKILL_DIR>/../../references/`).

