Aller au contenu
TakoAPI
Retour aux skills

cortex-memory

par matthewubundi

Notes & PKM
515Téléchargements rapportés par clawskills.sh
0Vues
0 mention J'aimeConnecte-toi pour aimer ce skill
—Pas encore noté
Ta note

Résumé

Long-term structured memory with knowledge graph, entity tracking, temporal reasoning, and cross-session recall.

Description

Ce que fait ce skill

Cortex Memory provides structured long-term memory using a knowledge graph that extracts facts, entities, and relationships from text. It supports cross-session recall with hybrid search combining BM25, semantic, temporal, and graph traversal methods. Use it when native memory search returns noisy or incomplete results.

Unlike flat keyword search, Cortex builds a traversable knowledge graph that tracks how entities relate and how facts change over time, enabling queries that native memory cannot answer.

Quand l'utiliser

  • Recalling decisions made in past coding sessions
  • Tracking how team members relate to specific projects
  • Finding when a preference or fact changed over time
  • Looking up entity relationships like service dependencies
  • Storing key context from a productive work session for later retrieval

Exemple de workflow

ENTRÉE

User asks: How does the auth service relate to the API gateway?

AGENT
  1. 1

    Check if <cortex_memories> tag is already present in context

  2. 2

    If not, construct a factual retrieval query targeting the relationship between auth service and API gateway

  3. 3

    Send POST request to /v1/retrieve with query_type factual and full mode for graph traversal

  4. 4

    Parse results filtering for relationship edges between the two entities

  5. 5

    Present the retrieved relationships to the user

SORTIE

A list of stored facts and graph edges describing how the auth service connects to the API gateway, including any temporal changes

Prérequis

  • CORTEX_API_KEY environment variable
  • CORTEX_BASE_URL environment variable
  • Cortex API account (https://github.com/Ubundi/Cortex)

Installation

clawhub install matthewubundi/cortex-memory

Exécute la commande CLI, ou colle l'instruction dans Claude Code, Cursor, Codex ou l'agent de code que tu utilises.

Liens