# Session Learn

> Use when a completed work session should yield durable concepts, corrections, decisions, reusable patterns, and a traceable next action.

- **Type:** Skill
- **Install:** `agentstack add skill-mark393295827-third-brain-v7-skills-session-learn`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [Mark393295827](https://agentstack.voostack.com/s/mark393295827)
- **Installs:** 0
- **Category:** [Productivity](https://agentstack.voostack.com/c/productivity)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [Mark393295827](https://github.com/Mark393295827)
- **Source:** https://github.com/Mark393295827/third-brain-v7-skills/tree/main/skills/session-learn
- **Website:** https://github.com/Mark393295827/third-brain-v5-skills/tree/master

## Install

```sh
agentstack add skill-mark393295827-third-brain-v7-skills-session-learn
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Session Learn

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

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

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

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.

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.

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.

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.

## 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.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [Mark393295827](https://github.com/Mark393295827)
- **Source:** [Mark393295827/third-brain-v7-skills](https://github.com/Mark393295827/third-brain-v7-skills)
- **License:** MIT
- **Homepage:** https://github.com/Mark393295827/third-brain-v5-skills/tree/master

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-mark393295827-third-brain-v7-skills-session-learn
- Seller: https://agentstack.voostack.com/s/mark393295827
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
