Long Chat Task Processor logo

Long Chat Task Processor

Community
cafe3310
long-chat-task-processor

对大量原始聊天记录进行结构化整理,进行知识提取或生成任何主题分析文档

Overview

Publishercafe3310
Repositorypublic-agent-skills
Skill namelong-chat-task-processor
Stars
256
Forks
30
Bundled files
2
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by cafe3310 on GitHub. Read the source before you install it.

Installation

Install the Long Chat Task Processor AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/cafe3310/public-agent-skills/tree/main/skills_parked/long-chat-task-processor
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/cafe3310/public-agent-skills.git /tmp/public-agent-skills
mkdir -p .claude/skills
cp -r /tmp/public-agent-skills/skills_parked/long-chat-task-processor .claude/skills/long-chat-task-processor
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Long Chat Task Processor in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Long Chat Task Processor on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Long Chat Task Processor is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

聊天记录项目化处理工作流 (Long Chat Task Processor)

此技能旨在将非结构化的、按标题组织的聊天记录(Markdown格式)转化为可执行的项目管理资产。它严格基于文档目录结构 (TOC) 进行分段处理,而非简单的行数切分,以确保对话上下文的完整性。

使用时机

当用户提供导出的聊天记录(Markdown),且记录使用标题(#, ##...)区分不同群聊或对话对象时。 用户通常要求:

  1. 项目化梳理:提取任务(Assigner/Assignee)、状态(Status)、决策(Decision)。
  2. 特定产出物:根据聊天内容撰写周报、Bug清单、特定事件的时间线复盘等。
  3. 背景对齐:处理过程中需要参考用户提供的背景文档(如 PRD、人员表)。

工作流

1. 准备阶段 (Initialization)

首先,必须初始化工作区并解析文档结构。

  1. 接收输入:确认源文件、背景文档、以及用户的额外诉求(例如:“帮我把所有关于 API 的讨论单独整理成一个文档”)。
  2. 执行初始化: 运行脚本扫描源文件标题结构,并生成工作区:
    bash
    python3 .gemini/skills/long-chat-task-processor/scripts/setup_workspace.py "path/to/chat_log.md" "工作区目录名称"

工作区目录名称可使用 YYYY-MM-DD-HH 沟通记录整理 格式。

初始化后,工作区结构如下:

text
Chat_Projectization_YYYY-MM-DD-HH-MM/
├── 0-工作日志.md           # [核心] 基于 TOC 生成的树状任务列表
├── 1-原始记录/             # 存放源文件
├── 2-项目背景/             # 存放用户提供的背景文档,以及用户的所有指示
├── 3-实体映射表.md         # [动态] 自动积累的人名/概念术语表
├── 4-任务池.md             # [动态] 累积提取的任务列表
├── 5-决策与里程碑.md       # [动态] 累积提取的决策和时间点
└── 6-额外输出/             # 存放用户要求的额外的输出文档
  1. 将用户的指示和背景文档复制到 2-项目背景/ 目录下,确保后续处理有据可依。

2. TOC 分段处理循环 (TOC Loop)

打开 0-工作日志.md,你将看到一个基于 Markdown 标题层级的任务树。 按顺序处理每一个标记为 [ ] 的 Section。

在处理每个 Section 前,务必读取:

  • 0-工作日志.md (获取当前 Section 的行号范围、标题背景)
  • 2-项目背景/ (理解业务上下文)
  • 3-实体映射表.md (确保人名对齐)
  • 用户的额外诉求 (确认本段对话是否涉及需要单独输出的主题)

处理步骤:

  1. 读取内容:根据日志中记录的 Line Start-End,读取 1-原始记录/ 中对应的内容。
  2. 执行分析 (Analysis):
    • 通用提取:
      • 任务:更新 4-任务池.md。格式:[ ] <Time> **Assigner** -> **Assignee**: <Task> (Status)
      • 决策:更新 5-决策与里程碑.md。
      • 新实体:发现新人名/黑话,追加到 3-实体映射表.md。
    • 特定主题提取 (Extra Requests):
      • 如果用户的诉求包含“整理 API 问题”、“输出周报素材”等,且当前段落包含相关信息:
      • 在 6-最终输出/ 下创建或追加对应的文档(例如 6-最终输出/API_Issue_Log.md)。
  3. 更新状态:
    • 在 0-工作日志.md 中将该 Section 标记为 [x]。

3. 整合与交付 (Synthesis)

当所有 Section 处理完毕后:

  1. 整理任务池:检查 4-任务池.md,合并重复项,按人名或优先级归类。
  2. 生成最终交付物:
    • 如果用户要的是一份完整的汇总报告,基于 4、5 和 6 中的内容进行汇总。
    • 如果用户要的是分散的文档(如“任务清单”+“会议纪要”),则分别整理输出。

关键原则

  • TOC 优先:不要跨标题合并处理,除非标题层级非常深且内容极少。保持“一个群聊/一个话题”的独立上下文。
  • 时间标记:群聊记录中通常使用 -- 日期 或 -- 日期 时间 (如 -- 02-09 15:00) 来标记时间点,可用于参考。
  • 上下文补全:聊天中常出现的“那个东西”、“昨天说的”,尽量根据同 Section 的上下文进行指代消解。
  • 宁滥勿缺:聊天记录中模糊的任务先记录下来,标记为 Status: UNCONFIRMED。
  • 增量原则:在处理每个 Section 时,对 映射表、任务池、决策文档、额外输出做「信息增量更新」:
    • 如果概念、任务、决策、文档内容是全新的,进行追加。
    • 如果可以对已有的内容进行修正、更新、增补,则更新已有内容,使信息更完善。
  • 输出文档先读再编辑: 分段处理时,如果使用 write 工具,很容易导致已有内容丢失。在编辑上述输出文档时,必须遵循 先读、再考虑如何编辑、再写 的原则,使用 edit 工具。

注意事项

  • 重点关注链接、包含关键信息的图片。
  • 尤其重点关注其他人指派给我的事情,以及我是否认可。
  • 也要关注我交给别人的事情,以及对方是否认可。
  • 如果用户打断你的编辑并指导你的失误,务必遵照执行并修正,注意你要 重做被打断的编辑 ,不要漏掉编辑操作。
  • 任务可能中断,如果用户告知「从已有任务继续工作」,无需创建工作区,但 必须 阅读已有的 2-项目背景/ 和 3-实体映射表.md 以恢复上下文。然后继续处理 0-工作日志.md 中未完成的 Section。

输出规范

关于 0-工作日志 ,

可以类似这种格式,在 Agent 处理完成后,将对应的 [ ] 改为 [x] 。

markdown
- [ ] **群聊:API 稳定性治理** (Line 100-167)
- [ ] **私聊:小张** (Line 168-600)

关于 3-实体映射表 ,

可以包含人和人的角色、群、组织、项目、概念等的解释,作为多次 Agent 工作之间的上下文补充。 不要使用表格。

关于 4-任务池,

应该包含

  1. 我交给别人的事情和每件事情的跟进状态
  2. 别人交给我的事情和每件事情的跟进状态
  3. 完整的事件分派时间线(包括上述两种,和「别人分派给别人的」)。
  4. 关键文档链接和图片(如果缩略了,列出来源群聊/单聊和上下消息,我可以自己找。)
  5. 落单任务(无人应答的任务)

事项可以按如下格式记录:

markdown
<时间> 交代人 -> 接收人 <事项>
- 来源群或单聊:XXX
- 交付物
- 是否确认和认可
- 后续状态

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Long Chat Task Processor AI skill do?

对大量原始聊天记录进行结构化整理,进行知识提取或生成任何主题分析文档

Why use Long Chat Task Processor on TypingMind?

Because you install it once and use it with any model. Long Chat Task Processor is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Long Chat Task Processor in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/cafe3310/public-agent-skills/tree/main/skills_parked/long-chat-task-processor. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Long Chat Task Processor?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Long Chat Task Processor?

As many as you like. As long as a model supports skills, you can use Long Chat Task Processor with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Long Chat Task Processor AI skill free?

Yes. It is published on GitHub by cafe3310 under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇