Skip to content
Back to skills

Cairnkeep Memory

ASecurity

Read and write explicitly allowed Cairnkeep memory tools through an authenticated HTTP MCP endpoint. Discover tools before calling them.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 23, 2026
ai-agentspythongo

Works with

  • mcp

Security analysis

A100/100

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

Scanned November 23, 2026

npx -y skills add cairnkeep/cairnkeep --skill cairnkeep_memory --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cairnkeep Memory?

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

Security grade badge for Cairnkeep Memory
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/cairnkeep-cairnkeep-memory/badge)](https://www.skillsdirectory.com/skills/cairnkeep-cairnkeep-memory)

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: cairnkeep-memory
description: Read and write explicitly allowed Cairnkeep memory tools through an authenticated HTTP MCP endpoint. Discover tools before calling them.
---

# Cairnkeep memory

Use Cairnkeep as durable, cross-harness memory from Prime Agent's IPython
kernel. Cairnkeep remains an external service; Prime Agent still owns the agent
loop, session, compaction, goals, and refinement state.

## Setup

Configure `cairn-memory` under `mcpServers` in the project's private
`.prime/agent/settings.json`. Use `type: "http"`, the loopback or protected TLS
URL, `bearerTokenEnvVar: "CAIRN_MEMORY_HTTP_TOKEN"`, and an explicit
`X-Cairn-Project` header. Keep the token in the process environment, not JSON.

The Cairnkeep server must use a `read-only` or narrow `custom` MCP tool profile.
Prime Agent 0.7.1 exposes only tool name, description, and input schema to the
kernel, so Cairnkeep's server-side profile is the effective authority boundary.

## Usage

```python
import cairnkeep_memory

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

results = await cairnkeep_memory.memory_search(
    scope="project",
    query="release checklist",
)
print(results)
```

Call `list_tools()` before use. Only call `memory_write` after the user has
explicitly enabled it in the Cairnkeep profile and requested a durable write.
Do not copy Cairnkeep context-pack skills into Prime's executable skill paths,
and do not synchronize Prime `/refine` state automatically.

Files in this skill

  • SKILL.md1.5 KB
  • pyproject.toml383 B
  • src/cairnkeep_memory/__init__.py677 B

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.