智能体工作流

session-learnings

sentimony/agent…workflow

You MUST use this when lasting learnings from the current session should be recorded for future agents - pitfalls hit, mistakes the user corrected, conventions found, or commands that finally worked, whatever the conversation language - including when the user asks to write down what the session taught and at the end of the aw chain after finalize. Records them without asking in the project's gitignored docs/session-learnings/AGENTS.md; on a separate request, triages the accumulated notes into AGENTS.md, CLAUDE.md, the user's global instructions, or a stronger enforcement such as a check or a test, applying only the approved edits. Not for auditing or restructuring instruction files (maintaining-agent-context). Not for general memory or improvement requests for skills.

  • 555 次安装
  • 4 星标

安装命令

npx skills add https://github.com/sentimony/agentic-workflow --skill session-learnings

SKILL.md

Session Learnings

A session leaves knowledge the next agent would otherwise pay for again. This skill keeps what changes future behavior, writes it down at once where the next session sees it, and leaves the final placement to a later triage.

record: collect -> filter -> check environment -> rung -> target -> dedupe -> draft -> set up -> append -> report
triage: read notes -> draft -> measure -> approve -> re-read -> apply -> prune -> report

It is the last link of the chain: it runs after finalize, often once the work is already squashed into the base branch, or on its own at any point the user asks. It reads the session; it needs no artifact from an earlier skill. Recording asks no questions and edits only gitignored notes plus a one-time setup. The argument triage (or the user asking to sort the accumulated learnings) runs the triage mode instead.

1. Collect