360 Secure SkillHub
360 安全技能中心

Session Brief

将当前会话整理为可直接复制的 Markdown 会话简报,涵盖目标、决策、约束、已完成事项、当前状态、重要引用和后续步骤;会压缩冗余并排除敏感信息,默认不创建文件,除非用户明确要求。

vyctorbrzezowski
vyctorbrzezowski
热度 16.02
最近更新 2026-05-28 10:30:52
分类:效率依赖:纯提示词应用场景:摘要总结 / 笔记整理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add session-brief
Metadata
name
session-brief
description
Produce a compact, complete context dump of the current session directly in chat. Use when the user wants the current conversation summarized for reference, asks for a context dump, says the chat is bloated or slow, or wants a concise session state without creating files or migrating to a new chat.

Session Brief

Dump the current session context directly in chat. Do not create a file unless the user explicitly asks.

The brief should be compact but complete enough for the user to understand the current state without rereading the whole thread.

Output Contract

Return one copyable Markdown block with:

  • current goal or topic
  • key decisions and constraints
  • what has already been done
  • current state
  • important files, repos, URLs, branches, commands, or artifacts
  • open questions, blockers, or next likely steps
  • anything the user explicitly wanted preserved

Keep it factual. Separate confirmed state from assumptions.

Compression Rules

  • Preserve decisions, constraints, state, names, paths, URLs, commands, and unresolved work.
  • Drop greetings, transient status updates, repeated explanations, and dead ends unless they explain the current state.
  • Reference existing artifacts by path, URL, commit, PR, or issue instead of restating their full contents.
  • Include exact file paths and commit hashes when they matter.
  • Do not include secrets, tokens, private credentials, or unnecessary personal data.

Shape

Use this structure unless the user asks for another format:

Session brief:

Current goal:
...

Decisions and constraints:
...

Done:
...

Current state:
...

Important references:
...

Next:
...

For tiny sessions, compress to a short paragraph.