This repository has been archived on 2026-02-15. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
openclaw-skills/memory/2026-02-13.md
T
starmen1265 6093a0a09d Update: KB workflow git integration + todo items
- Add git remote check and pull before archive
- Support main/master branch auto-fallback
- Add todo: SenseVoice test, git ops, session routing
- Memory: BV1x3ctzkEdf knowledge base workflow
2026-02-13 19:09:57 +08:00

1.7 KiB
Raw Blame History

2026-02-13 工作日志

完成事项

deep_analyzer.py 重构

  • 改为一次性 AI 调用生成完整报告
  • 修复内容读取:支持 text、subtitle、subtitles、description 多种字段
  • 时间轴分片策略:按 10 分钟分片
  • 删除内容中的"标签" section,只保留 frontmatter 的 tags

报告格式

---
title: "xxx"
date: xxx
duration: xxx
author: xxx
bvid: xxx
platform: bilibili
url: xxx
tags: ["tag1", "tag2", ...]
---

## 标题
[AI 自总结标题]

## 摘要
[200-400字]

## 主要主题
- 主题1
- 主题2
...

## 关键见解
- 见解1
- 见解2
...

## 时间轴
### 第 1 部分 (00:00 - 10:00)
[详细分析]

### 第 2 部分 (10:00 - 20:00)
[详细分析]
...

待办

  • 无

备注

  • AI 模型:glm-4.7
  • 内容长度:约 8000 字符输入,生成详细分析报告

2026-02-13 知识库工作流

BV1x3ctzkEdf 添加到知识库

  • 视频标题:冬奥会和超级碗,为何让MAGA帝君破防?
  • 工作流完整执行:
    1. 链接解析 ✅
    2. 元数据提取 ✅
    3. 字幕下载:无官方字幕,使用 Whisper ✅
    4. Whisper 语音识别:981秒,464分段 ✅
    5. 深度分析:9主题,5洞察,5标签 ✅
    6. 归档:/archive/2026-02-13/bilibili_BV1x3ctzkEdf.md ✅

Git 仓库配置

  • 远端仓库:ssh://sc-gitea@192.168.1.22:2223/starmen1265/knowledge-base.git
  • 本地 archive 目录已关联远端仓库
  • 成功推送到 Gitea(master 分支)
  • kb_workflow.py 已更新归档流程:
    1. 检查并初始化 Git 仓库
    2. 关联远端仓库(KB_GIT_REMOTE 环境变量)
    3. 拉取远端最新代码
    4. 归档文件后自动 commit + push
    5. 支持 main/master 分支自动兼容