Skip to content
Back to skills

Yantrikdb

ASecurity

Persistent cognitive memory via YantrikDB's MCP server. Semantic recall, remember, belief revision, knowledge graph, contradiction detection, and procedural learning that survive across sessions and agents. Tools are auto-discovered from the server at runtime.

  • 25 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 6, 2026
ai-agentspythonshellbashapidatabase

Works with

  • api
  • mcp

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned November 6, 2026

npx -y skills add yantrikos/yantrikdb-mcp --skill yantrikdb --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Yantrikdb?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Yantrikdb
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/yantrikos-yantrikdb/badge)](https://www.skillsdirectory.com/skills/yantrikos-yantrikdb)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: yantrikdb
description: Persistent cognitive memory via YantrikDB's MCP server. Semantic recall, remember, belief revision, knowledge graph, contradiction detection, and procedural learning that survive across sessions and agents. Tools are auto-discovered from the server at runtime.
---

# YantrikDB — persistent memory

Talk to a YantrikDB memory server from the IPython kernel. Memory persists
across sessions and across harnesses: what you `remember` here, a future
session — or a different agent pointed at the same database — can `recall`.

## Setup

Requires a running yantrikdb-mcp server on the streamable-http transport:

```bash
YANTRIKDB_API_KEY=<your-token> yantrikdb-mcp --transport streamable-http --host 127.0.0.1 --port 8420
```

and the same `YANTRIKDB_API_KEY` value in Prime Agent's environment. The
server URL defaults to `http://127.0.0.1:8420/mcp`; override it with a
`yantrikdb` entry under `mcpServers` in `~/.prime/agent/settings.json`.

## Usage

Discover before you call — the server defines the tool set:

```python
import yantrikdb

for tool in await yantrikdb.list_tools():
    print(tool["name"], "-", tool["description"])

# Store a durable fact
await yantrikdb.remember(text="User prefers dark mode in the editor", importance=0.7)

# Retrieve by meaning, not keywords
hits = await yantrikdb.recall(query="what editor settings does the user like")
print(hits)

# Revise a fact without losing history (do NOT remember a contradiction)
await yantrikdb.correct(query="editor preference", new_text="User switched to light mode", reason="user said so")
```

Notes:
- Every tool is an `async` method — always `await`.
- Results are already-parsed Python (a `dict` for structured output, otherwise a string).
- Escape hatch for non-identifier tool names: `await yantrikdb.call_tool("name", {...})`.
- If a call raises `NotEnabled`, the `YANTRIKDB_API_KEY` environment variable
  is not visible to Prime Agent — set it in the shell that launches the agent.

Files in this skill

  • SKILL.md2 KB
  • pyproject.toml364 B
  • src/yantrikdb/__init__.py1.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.