跳至正文
OpenAgentSkill
浏览已开放 · 目录记录日期 2026-11-21 · 自动更新和账户服务暂时关闭。
AI 与知识库

wiki

Build and serve the static course knowledge base locally. Rebuilds from workspace data and starts an HTTP server on port 8765.

WALKERKILLER · 已有静态检查记录

安装与使用

运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。

npx skills add WALKERKILLER/Look-Tongji-Notes --skill wiki

技能说明


name: wiki description: "Build and serve the static course knowledge base locally. Rebuilds from workspace data and starts an HTTP server on port 8765." license: MIT metadata: author: WALKERKILLER version: "1.1"

Wiki

Build and locally serve the course knowledge base.

When to Use

  • User says /wiki or "open the course wiki" or "serve the wiki".
  • After writing notes, to preview the generated site.

Workflow

  1. Serve (build + start HTTP server):
python "<SKILL_DIR>/../../scripts/look_tongji.py" serve --port 8765
  1. Build only (no server):
python "<SKILL_DIR>/../../scripts/look_tongji.py" build

Page Structure

Each session page follows this layout (top to bottom):

  1. Lecture Video (top) — embedded player area when video metadata is available, or a direct video link
  2. Resources (middle) — supplementary materials, slide download links, and transcript download links
  3. Note (bottom) — pure Markdown study content without task-oriented meta-descriptions

Duration Check

  • Sessions with duration_seconds < 3600 are 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 /note skill 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/).