AgentStack
SKILL verified MIT Self-run

Continual Learning

skill-hardiktiwari-pm-operating-os-continual-learning · by hardiktiwari

Mine chat transcripts for decisions, exec updates, strategy shifts, feedback themes, and user preferences. Write structured entries to memory/, then update AGENTS.md with curated preferences and facts. The ingestion pipeline for the PM-OS context graph.

No reviews yet
0 installs
0 views
view→install

Install

$ agentstack add skill-hardiktiwari-pm-operating-os-continual-learning

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README — it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-hardiktiwari-pm-operating-os-continual-learning)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming — see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps — measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Continual Learning? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Continual Learning

The ingestion pipeline for the PM-OS context graph. Reads chat transcripts, classifies what it finds, writes structured entries to memory/, and updates AGENTS.md with curated preferences and facts.

When to Use

  • "Run continual learning" / "mine my chats" / "update memory"
  • On a schedule (e.g. end of week) to keep the context graph current
  • After a batch of important conversations (strategy sessions, PRD reviews, planning)

Inputs

  • Transcript root: ~/.cursor/projects//agent-transcripts/
  • Existing memory: AGENTS.md + memory/ subdirectories
  • Incremental index: .cursor/hooks/state/continual-learning-index.json

Workflow

1. Load state

  1. Read existing AGENTS.md.
  2. Load incremental index (if present).
  3. Discover transcript files. Process only:
  • new files not in the index, or
  • files whose mtime is newer than the indexed mtime.

2. Extract and classify

For each new/changed transcript, extract high-signal items and classify each into one of these categories:

| Category | What to look for | Write to | |----------|-----------------|----------| | Decision | User made or confirmed a product decision (PRD approval, scope change, launch/kill, prioritization shift, stakeholder alignment) | memory/decisions/ | | Exec update | User drafted or discussed an executive status update, SLT summary, or program update | memory/exec-updates/ | | Strategy shift | User discussed or changed strategic direction, pillars, positioning, or goals | memory/strategy-reviews/ | | Feedback insight | User analyzed customer feedback, VOC themes, or support trends | memory/feedback/ | | User preference | Recurring correction or stated broad rule about how the AI should behave | AGENTS.md → Learned User Preferences | | Workspace fact | Durable fact about the workspace, tools, file paths, or workflows | AGENTS.md → Learned Workspace Facts |

Skip: one-off task instructions, transient details (branch names, commit hashes, temp errors), secrets/tokens/credentials, and anything not actionable in future sessions.

3. Write to memory

For each extracted item (except preferences/facts), write a structured entry to the appropriate memory/ subdirectory:

Decisionsmemory/decisions/YYYY-MM-DD_short-slug.md

# [Decision title]

**Date:** YYYY-MM-DD
**Source:** continual-learning (transcript extraction)
**Type:** [PRD approval | Scope change | Launch/Kill | Prioritization | Alignment | Other]

## Decision
[1-2 sentences: what was decided]

## Context
[What prompted this]

## Alternatives Considered
[If discussed in transcript, otherwise omit]

Exec updatesmemory/exec-updates/YYYY-MM-DD.md

# Exec Update — YYYY-MM-DD

**Source:** continual-learning (transcript extraction)

## Summary
[Key points from the update]

Strategy shiftsmemory/strategy-reviews/YYYY-MM-DD_topic.md

# Strategy: [topic]

**Date:** YYYY-MM-DD
**Source:** continual-learning (transcript extraction)

## What changed
[Description of the shift]

## Rationale
[Why, if discussed]

Feedback insightsmemory/feedback/YYYY-MM-DD.md

# Feedback Insights — YYYY-MM-DD

**Source:** continual-learning (transcript extraction)

## Themes
[Themes identified]

Also write a log entry to memory/learning-log/YYYY-MM-DD.md:

# Continual Learning Run — YYYY-MM-DD

**Transcripts processed:** [count]
**Items extracted:** [count by category]

## Items written
- [category] → [path]: [1-line summary]

4. Update AGENTS.md

After writing to memory, update the Learned sections in AGENTS.md:

  • Learned User Preferences — recurring corrections, stated broad rules
  • Learned Workspace Facts — durable facts about workspace, tools, workflows

Rules:

  • Update matching bullets in place (don't duplicate)
  • Add only net-new bullets
  • Deduplicate semantically similar bullets
  • Max 12 bullets per section
  • Plain bullet points only — no evidence tags, no metadata

5. Write back index

Update .cursor/hooks/state/continual-learning-index.json:

  • Store latest mtimes for all processed files
  • Remove entries for files that no longer exist on disk

Inclusion bar

Keep an item only if all are true:

  • Actionable in future sessions
  • Stable across sessions
  • Repeated in multiple transcripts, or explicitly stated as a broad rule
  • Non-sensitive

Exclusions

Never store:

  • Secrets, tokens, credentials, private personal data
  • One-off task instructions
  • Transient details (branch names, commit hashes, temporary errors)

Incremental Index Format

{
  "version": 1,
  "transcripts": {
    "/abs/path/to/file.jsonl": {
      "mtimeMs": 1730000000000,
      "lastProcessedAt": "2026-02-18T12:00:00.000Z"
    }
  }
}

Source & license

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

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

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.