技能图谱SKILLSGROVE
技能图谱/办公文档/WALKERKILLER/Look-Tongji-Notes/add

add

安装

$npx skills add https://github.com/WALKERKILLER/Look-Tongji-Notes --skill add
$git clone --depth 1 https://github.com/WALKERKILLER/Look-Tongji-Notes.git /tmp/Look-Tongji-Notes && mkdir -p ~/.claude/skills && cp -r /tmp/Look-Tongji-Notes/skills/add ~/.claude/skills/add
请帮我安装这个 Agent Skill:https://github.com/WALKERKILLER/Look-Tongji-Notes/tree/151f0a51537b3f8903f614c8e7adcd1f72d904bc/skills/add ,先阅读它的 SKILL.md 和脚本,确认安全后再安装到我的技能目录。

简介

原文描述 · MITAdd supplementary materials (PDF, PPTX, DOCX, images) to a lecture session. Converts to Markdown via MarkItDown and indexes into the course wiki — without triggering transcription or slide download.
以下 SKILL.md 内容转载自 WALKERKILLER/Look-Tongji-Notes(提交 151f0a5),依据 MIT 许可证转载正文(文字未改动;仅省略文件头元数据、将图片显示为链接,超长内容会截断);版权归 2026 WALKERKILLER 所有。许可证:LICENSE。仅展示说明文件,附带脚本请在原仓库查看。

Add Materials

Attach supplementary materials to a lecture session.

When to Use

  • User says /add or "add this material to the course".
  • After transcribing a lecture, adding additional PDFs/PPTs/docs.
  • User wants materials indexed into the wiki without re-running transcription.

Workflow

  1. Import materials:
python "<SKILL_DIR>/../../scripts/look_tongji.py" add \
  --course-id "<ID>" --sub-id "<ID>" \
  --material "handout=/path/to/file.pdf"
  1. The CLI copies files into the session's materials/<name>/ directory.
  2. MarkItDown auto-converts supported formats to Markdown.
  3. The course wiki index is updated automatically.

Supported Formats

  • PDF (.pdf), PPTX (.pptx), DOCX (.docx) — via MarkItDown
  • Images (.png, .jpg, .webp) — copied as-is
  • Text/Code (.txt, .md, .py, .js) — copied as-is

Difference from /note --material

/add only imports materials + updates the index. It does NOT trigger transcription or slide download.

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/).

查看许可证全文(MIT)
MIT License

Copyright (c) 2026 WALKERKILLER

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.