Memory Harvest

Capture session learnings as immutable JSON event files for team memory.

1|Updated Jun 3, 2026
One-click install
npx skills add https://github.com/LazyNinja435/astrai --skill memory-harvest
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Memory Harvest
Source: https://github.com/LazyNinja435/astrai/tree/main/.ai/skills/astrai/memory-harvest
Command: npx skills add https://github.com/LazyNinja435/astrai --skill memory-harvest

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill solves the problem of fragmented knowledge and context loss by capturing per-session learnings as immutable events, ensuring that team knowledge grows without the risk of file conflicts.

Core Features & Use Cases

  • Event-Sourced Learning: Records clarifications, corrections, failure patterns, and observations in a structured, non-destructive format.
  • Automated Knowledge Folding: Integrates with local tooling to synthesize raw events into a unified knowledge view.
  • Use Case: After debugging a complex deployment issue, use this skill to record the symptom, root cause, and fix so that future agents can reference the solution without re-diagnosing the problem.

Quick Start

Use the memory harvest skill to record the recent fix for the authentication timeout issue and update the team knowledge base.

Frequently Asked Questions about Memory Harvest

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I capture session learnings into an event-sourced knowledge base?

You can capture session learnings into an event-sourced knowledge base by recording clarifications, corrections, and failure patterns as immutable JSON event files. This non-destructive format ensures team knowledge grows without file conflicts.

What is event-sourced memory for knowledge management?

Event-sourced memory for knowledge management is a technique that stores session-specific learnings as structured, immutable records. It enables automated knowledge folding to synthesize raw events into a unified global view for future reference.

How do I record debugging fixes so future agents can reference the solution?

To record debugging fixes for future reference, log the symptom, root cause, and fix as a structured event file. This ensures future agents can query the event-sourced memory and retrieve the exact solution without re-diagnosing the problem.

Do I need git identity resolution to track session knowledge events?

Yes, you need git identity resolution to track session knowledge events. The skill requires git identity along with deterministic slugging rules to ensure proper event deduplication and accurate attribution within the team memory structure.

What's the best way to prevent file conflicts when sharing team knowledge?

The best way to prevent file conflicts when sharing team knowledge is to write learnings as immutable JSON event files. This event-sourcing approach avoids destructive edits, allowing distributed team members to record sessions simultaneously without overwriting data.

When should I not use an event-sourced approach for session tracking?

You should not use an event-sourced approach for session tracking if your workflow requires immediate destructive updates to a single knowledge file rather than appending raw events for later synthesis. It is designed for non-destructive, asynchronous accumulation.