Summary logo

Summary

Organization
devcodex-labs
summary

写入会话摘要到记忆日文件。区别于 memory Skill(会话记录读写)。任务结束前与 memory Skill 配合完成记忆持久化。

Overview

Publisherdevcodex-labs
Repositorydevcodex
Skill namesummary
Stars
433
Forks
44
Bundled files
1
LicenseAGPL-3.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.

  • 1 bundled files

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

  • Open source

    Published by devcodex-labs on GitHub. Read the source before you install it.

Installation

Install the Summary 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/devcodex-labs/devcodex/tree/main/content/skills/summary
  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/devcodex-labs/devcodex.git /tmp/devcodex
mkdir -p .claude/skills
cp -r /tmp/devcodex/content/skills/summary .claude/skills/summary
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Summary 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 Summary 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 Summary 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.

写入流程

步骤动作
1确定日期(YYYYMMDD)
2定位文件:<active-root>/.memory/clients/<agent>/tasks/YYYYMMDD.md
3判断文件状态(不存在→创建;已存在→追加)
4确定会话编号(## 会话 01 起递增,两位数,按文件内容确定)
5写入初始段落(时间 + 意图 + 状态 🔄 + 摘要占位)
6后续更新(持续追加对话记录/报告路径/决策)

格式选择

场景格式
chat / 简单 analyze紧凑
audit(多轮)紧凑
dev/fix(≤2 文件变更)紧凑
dev/fix(≥3 文件变更)完整
多任务会话(≥3 任务)完整

首次写入可用紧凑格式,复杂度超出后升级(追加缺失字段,不重写已有内容)

会话字段

必填

字段说明
🎯 任务摘要本次任务的核心目标和意图
状态🔄 进行中 / ✅ 已完成(单独成行,供 resume 检测使用)
📨 对话记录四列表格:`轮次

按需(有内容时写入)

字段说明
📄 关联报告报告文件路径表格(含链接)
💡 关键决策本次会话中产生的重要决策
⚠️ 待跟进未完成事项或下次需要继续的内容
📦 编码检查点编码任务且变更 ≥3 文件时
🧭 HostCapabilityRoutingRef命中时只记录 instructionRefId / decisionId / authority / digestStrength / portableDecision / nativeStatus / fallbackReason,不复制原文或 catalog

Token 防护写入

配合 01-common.instructions.md C08 约束。

C08 阶段动作
🟡 关注区(>10 轮)在摘要中记录当前轮次
🟡 预警(>13 轮)写入编码检查点(📦 字段)
🔴 防护(>15 轮)立即写入完整记忆(所有字段填充到最新状态)
🔴 硬性暂停(≥15 轮 + ≥5 文件)必须先完成记忆持久化再继续

约束

  • 🔴 禁止询问用户"是否需要写入记忆"(C05/S05 强制自动写入)
  • 使用增量编辑追加,禁止覆盖已有内容(C06/S04)
  • 禁止使用 PowerShell Set-Content 等终端命令修改 .md 文件(C09)
  • HostCapabilityRoutingRef 只进入 daily/需求级记忆;Agent SUMMARY.md 仍是纯索引。compat/none 或 readback 未验证的 instruction authority 不得被摘要升级为跨轮 mutation 授权。

模板引用

产出物模板
会话段落(紧凑/完整)prompts/memory-session.prompt.md

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 Summary AI skill do?

写入会话摘要到记忆日文件。区别于 memory Skill(会话记录读写)。任务结束前与 memory Skill 配合完成记忆持久化。

Why use Summary on TypingMind?

Because you install it once and use it with any model. Summary 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 Summary in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/devcodex-labs/devcodex/tree/main/content/skills/summary. 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 Summary?

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 Summary?

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

Is the Summary AI skill free?

Yes. It is published on GitHub by devcodex-labs under the AGPL-3.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 👇