Lewati ke konten
TakoAPI
Kembali ke skill

persisent-mind

oleh vedantsingh60

Search & Research
350Unduhan dilaporkan oleh clawskills.sh
0Tayangan
0 sukaMasuk untuk menyukai skill ini
—Belum ada penilaian
Penilaian Anda

Ringkasan

**Persistent, searchable, context-aware memory for AI agents.

Deskripsi

Apa yang Dilakukan Skill Ini

PersistentMind is a Python library that stores typed, searchable memories for AI agents across sessions. It supports seven memory types (fact, preference, procedure, correction, context, relationship, reminder) and three scopes (global, project, session). Data is stored locally with no external dependencies or API keys.

Unlike static prompt files or manual re-explanation, it ranks memories by importance and type, surfacing critical corrections first in every injected context block.

Kapan Menggunakannya

  • Persisting code style corrections so agents stop repeating the same mistakes
  • Storing project-specific commands like migration or deployment steps
  • Injecting accumulated project context into new chat sessions automatically
  • Building a shared team knowledge base via JSON export and import
  • Setting temporary notes that auto-expire after a specified number of days

Contoh Alur Kerja

INPUT

User asks: Remember that we never use wildcard imports and that migrations run with 'poetry run alembic upgrade head'

AGENT
  1. 1

    Call remember() with the wildcard import rule as MemoryType.CORRECTION, scope PROJECT, importance 10.0

  2. 2

    Call remember() with the migration command as MemoryType.PROCEDURE, scope PROJECT

  3. 3

    In the next session, call get_context(project='my-app') to retrieve stored memories

  4. 4

    Prepend the formatted context block to the incoming user prompt

OUTPUT

Context block with the correction surfaced first, followed by the procedure, automatically prepended to every subsequent prompt

Instalasi

clawhub install vedantsingh60/persisent-mind

Jalankan perintah CLI-nya, atau tempel prompt ke Claude Code, Cursor, Codex, atau coding agent apa pun yang Anda pakai.

Tautan