Wiki
Build and locally serve the course knowledge base.
When to Use
- User says
/wikior "open the course wiki" or "serve the wiki". - After writing notes, to preview the generated site.
Workflow
- Serve (build + start HTTP server):
python "<SKILL_DIR>/../../scripts/look_tongji.py" serve --port 8765
- Build only (no server):
python "<SKILL_DIR>/../../scripts/look_tongji.py" build
Page Structure
Each session page follows this layout (top to bottom):
- Lecture Video (top) — embedded player area when video metadata is available, or a direct video link
- Resources (middle) — supplementary materials, slide download links, and transcript download links
- Note (bottom) — pure Markdown study content without task-oriented meta-descriptions
Duration Check
- Sessions with
duration_seconds < 3600are flagged with a warning indicator in the wiki UI. - The agent should suggest re-transcription for short sessions.
Note Cleanliness
- Notes must be pure knowledge content without task-oriented meta-descriptions.
- See
/noteskill for the full list of forbidden phrases.
Validation
- The generated site uses the vendored llm-wiki frontend.
- UI chrome (language toggle, navigation) is handled by the frontend; content is from workspace data.
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/).