Works with the AI Agents you already use

    Spine Memory

    by Scrimal

    2

    Persistent Markdown + YAML graph memory for AI agents—zero Docker, Neo4j, or vector DBs. Built for devs, designers, researchers, and writers (with an optional dev preset), validated on 624 live nodes & 945 reasoning steps ($7.25 for 177.3M tokens).

    Free

    Security scanned
    Spine Memory

    Spine Memory

    Example session with this skill installed

    Initialize the SPINE memory graph and save our decision to replace stateful Auth0 sessions with stateless JWKS verification (leeway=30) in src/auth/jwt.py as ADR_AUTH_001.

    • Read your context and instructions
    • Compiled the spine memory

    I initialized the graph and created a validated ARCHITECTURE node (ADR_AUTH_001) using SPINE's 4-layer progressive disclosure format so future sessions only load the 2-line IMPULSE until full details are needed.

    Created Node: nodes/architecture/ADR_AUTH_001.md

    ---
    id: ADR_AUTH_001
    type: ARCHITECTURE
    kind: adr
    domain: security
    hub: authentication
    constellation: security_infrastructure
    status: active
    code_refs: ["src/auth/jwt.py::AuthHandler"]
    search_anchors: [auth0_transition, jwt_deprecation, stateless_jwks]
    chronology:
      roots: ["[[U001]]"]
    semantic_links: ["[[SECURITY_COMPLIANCE_04]]"]
    ---
    
    • # IMPULSE (2 lines — loaded during index scan): Replaced stateful Auth0 sessions with stateless JWKS verification in AuthHandler (leeway=30). Cuts auth latency from 45ms to 1.8ms.
    • # SUMMARY (loaded on relevance match): Migrated token validation off external Auth0 session lookups to local JWKS key rotation. Keeps leeway=30 for clock skew and avoids Redis state overhead (strategic_weight: 0.90).
    • # CLEANED_DATA & # SOURCE_BASE (cold storage): Full benchmark diff (1.8ms p99) and raw RFC/audit logs preserved at >=70% byte floor — zero tokens spent until explicitly requested.

    Next Steps

    1. Run spine critic and spine build-index to validate the node contract and update reverse_index.json (cache.json skips unchanged files).
    2. In future sessions, query spine wander or spine preflight --files src/auth/jwt.py to surface ADR_AUTH_001 before editing auth code.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Every new session, your AI agent wakes up with total amnesia—forgetting past research findings, breaking established design or worldbuilding rules, or repeating rejected architecture paths while burning thousands of tokens re-reading raw notes.

    SPINE-Memory gives your agent persistent, human-readable Markdown + YAML graph memory powered by a zero-dependency Python 3.10+ stdlib engine (pip install spine-memory)—no Docker, no Neo4j, no vector DBs, no brittle embeddings. Built for devs, designers, researchers, and writers—whether you are managing a UX/design-system spec, a multi-month research vault, a book/lore bible, or a production codebase (via --preset dev).

    Why Plain Markdown + YAML Beats Vector DBs

    • 4-Layer Progressive Disclosure: Agents scan 2-line IMPULSE headers first, drill into SUMMARY and CLEANED_DATA only when relevant, and leave raw SOURCE_BASE notes (>=70% byte floor) in cold storage so your context window stays lean and cheap.
    • Domain-Agnostic + Optional Dev Suite: Works out of the box for general knowledge, research, design systems, and long-form writing (spine init), or unlocks CODE_MEMORY nodes (adr, postmortem, gotcha, contract, dead_end) and pre-edit file checks with spine init --preset dev.
    • Deterministic Critic (0 LLM Tokens): Enforces YAML contracts, section caps, anchor hygiene, and source fidelity locally via spine critic instead of burning API budget on LLM-vs-LLM judge loops.
    • Built-In Safety & Isolation: Includes <untrusted_source_base> prompt-injection quarantine in spine-mcp, automatic secret scrubbing, and Git worktree support.

    Try It in 30 Seconds

    1. Install the open-source CLI: pip install spine-memory
    2. Initialize a knowledge graph (or add --preset dev for code repos): spine init
    3. Build your incremental index and inspect nodes: spine build-index

    Validated in live daily work across 624 memory nodes and a 945-step flagship reasoning run (177.3M tokens for $7.25 via 99%+ KV-cache retention).

    Requires installing the companion open-source CLI package (pip install spine-memory) to run local indexing, critic validation, and MCP server commands. Does not parse source-code AST symbols directly (pair with ripgrep or your IDE's LSP for code symbol lookup).

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 2 days ago

    • Free with an Agensi account

    Software
    Python 3.10+
    Optional
    Git

    100% free & open-source (MIT). Zero required external packages (stdlib only); install the companion CLI engine via pip install spine-memory.

    Permissions

    Terminal / Shell
    Read Files
    Write Files

    File Scopes

    nodes/**
    raw/**
    .spine/**

    100% local & offline. Only reads/writes Markdown and YAML files inside your local memory directory (nodes/, raw/) and runs local CLI commands. Zero network requests.

    Listed4 days ago
    Updated2 days ago

    What's inside

    Frequently Asked Questions

    Unlike vector databases that rely on probabilistic similarity, Spine Memory uses a deterministic Markdown/YAML graph that tracks 'intent' and architectural logic, making it easier to audit via Git and less prone to hallucinations.

    The skill is designed for Python 3.10+ environments and natively supports the Model Context Protocol (MCP), making it compatible with Claude Code, Cursor, Windsurf, Cline, pi, and any agent framework that supports MCP or custom Python tool calling.

    Spine Memory provides the framework to store and retrieve architectural decisions (ADRs) and 'gotchas,' but it relies on your existing LSP or ripgrep tools for direct source code indexing to keep the memory graph lean and performant.

    Yes, because the graph is stored in a structured Markdown/YAML format, you can commit the memory directory to your Git repository to track how your agent's knowledge and architectural decisions evolve over time.

    Setup is straightforward: install the package via pip, run 'spine init' to scaffold your directory, and the built-in 'spine critic' tool will guide you through validating your first memory nodes to ensure schema compliance.

    New in LLM Ops

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.

    Free