session-learn

当一次完整的工作会话应产出持久的概念、修订、决策、可复用模式及可追溯的下一步行动时使用该方法,以确保会话产出可长期保留并可在后续工作中复用。

仓库最近推送
GitHub Stars
140
Forks
22
Issues / PRs
0

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "session-learn":https://skillpi.com/zh/skills/deepskill-0c0527cd42fd369c8702425f3217fcd905b0807adcf0fabc4e69c24a0353d9c9。安装前核对上游来源和版本:https://github.com/Mark393295827/third-brain-v7-skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

当一次完整的工作会话应产出持久的概念、修订、决策、可复用模式及可追溯的下一步行动时使用该方法,以确保会话产出可长期保留并可在后续工作中复用。

0 下载

介绍来源: third_party · Mark393295827 · 8.1.0 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
输入和输出
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: session-learn
description: Use when a completed work session should yield durable concepts, corrections, decisions, reusable patterns, and a traceable next action.
metadata:
  version: "8.1.0"
  updated: "2026-08-18"
  profile: "stateful"
  assumes: "The session transcript, artifacts, or execution receipts are available."
  conflicts_with: "Claiming automatic capture without a configured hook, storing raw noise as knowledge, or changing immutable sources."

Session Learn

<skill_contract> <input>Completed session objective, actions, artifacts, verification receipts, errors, decisions, and destination paths.</input> <output>Deduplicated durable deltas for concepts, entities, corrections, patterns, ideas, decisions, and gaps.</output> <done>Each retained delta is formatted, linked, logged, provenance-preserving, and paired with a traceable next action when unresolved.</done> <non_goals>Automatic-capture claims without a hook, raw transcript storage, conversational filler, or immutable-source edits.</non_goals>

Close a session by extracting only reusable deltas. Invocation must be explicit or performed by a verified external hook; this skill never claims it ran automatically.

Usage Template

Provide: session objective, actions, outputs, verification receipts, errors, decisions, and destination paths. Optional: existing notes for deduplication.

Workflow

<intake>

Establish the session boundary and compare intended versus observed result. Ignore conversational filler and separate execution evidence from retrospective interpretation.

</intake>

<unknowns_gate>

If the session outcome or evidence is unavailable, return INSUFFICIENT_EVIDENCE. Ask for a missing artifact only when it determines whether a lesson is valid; otherwise preserve it as an unresolved gap.

</unknowns_gate>

<execute>

Scan for seven signal types:

  1. Concept — a stable mechanism worth linking.
  2. Entity — a person, system, project, or tool requiring durable context.
  3. Correction — a prior belief or procedure disproved by evidence.
  4. Pattern — a reusable Trigger -> Execute -> Verify -> State sequence.
  5. Idea — an untested possibility, explicitly provisional.
  6. Decision — choice, rationale, alternatives, owner, and review condition.
  7. Gap — an unknown with a probe or escalation path.

Apply Closure Protocol: Format the smallest durable note, Link it to source/project/concepts, and Log the write plus verification. Merge semantic duplicates; preserve source immutability and provenance.

</execute>

<evaluate>

For each candidate ask: Is it new, reusable, traceable, and decision-relevant? Reject session-specific trivia and unsupported generalizations. Confirm each write exists and links resolve before reporting closure.

</evaluate>

<state_contract>

Persist {run_id, status, attempt, budget, evidence, unknowns, last_error, next_action} plus session id, extracted candidates, accepted/rejected reasons, write paths, links, and closure receipt. Append corrections; do not erase superseded beliefs.

</state_contract>

Failure Protocol

  • INSUFFICIENT_EVIDENCE: artifacts cannot establish the lesson; preserve it as a gap.
  • BLOCKED_PERMISSION: the destination is read-only; return the proposed note and path without claiming a write.
  • VERIFY_FAILED: a write or link check fails; repair once or return the exact failure.
  • BUDGET_STOP: rank remaining candidates by reuse value and persist the queue.

Output Contract

Return status, result (accepted knowledge deltas), evidence (session receipts and write checks), unknowns, and next_action.

Edge Cases

  • The same concept already exists: update or link the durable note; do not create a title variant.
  • The session ended unsuccessfully: capture the falsified assumption, failure evidence, and recovery path rather than a false success pattern.

Success Metrics

  • Every accepted learning is traceable to session evidence.
  • Durable notes are deduplicated, linked, and verified after write.
  • At least one correction, decision, pattern, or gap improves future execution when present.

Quality Gates

  • [ ] Invocation provenance is explicit; no fake auto-trigger claim.
  • [ ] Facts, interpretations, and ideas are distinguishable.
  • [ ] Source material remains immutable.
  • [ ] Closure includes Format, Link, Log, and a receipt.

</skill_contract>

当前收录版本

8.1.0

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值85/100

亮点

  • 提供工作会话的知识沉淀与闭环机制,有效解决信息碎片化、经验无法复用的核心痛点
  • 适用于高频知识型工作场景(如研发复盘、项目总结),具备广泛实用价值
触发精准95/100

亮点

  • description 清晰定义了使用时机(完成的工作会话需产生持久产出),覆盖多种变体(概念、修正、决策等),边界清晰
结构规范90/100

亮点

  • Phase/步骤清晰(intake→unknowns_gate→execute→evaluate→state_contract),有出口条件(如 INSUFFICIENT_EVIDENCE),含端到端示例(Usage Template),frontmatter完整
执行可靠90/100

亮点

  • 工具来源明确(基于 session transcript/artifacts),参数正确(输入输出定义清晰),覆盖主要异常(Failure Protocol 包含证据不足、权限、验证失败、预算超限等),不可逆操作有确认机制
证据可验 (前四项均值)90/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。