Back to skills
SKILL.md
Zikra — AI Persistent Memory
CSecurityZikra gives you cross-session, cross-machine, cross-agent memory backed by PostgreSQL + pgvector. Search, save, and retrieve decisions, errors, and context.
- 9 stars
- 0 votes
- 0 copies
- 1 view
- Added May 26, 2026
Works with
Security analysis
71/100- Pipes output to a shell interpreter
- Uses curl or wget to download content
- Downloads and executes remote scripts — classic supply chain attack
Pro scans all 19 files and shows the line behind each finding
npx -y skills add getzikra/Zikra --agent claude-codeAre you the author of Zikra — AI Persistent Memory?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/getzikra-zikra-ai-persistent-memory)# Zikra — AI Persistent Memory
Zikra gives you cross-session, cross-machine, cross-agent memory backed by
PostgreSQL + pgvector. Search, save, and retrieve decisions, errors, and context.
## Install
```bash
curl -fsSL https://zikra.dev/install.sh | bash
```
## When to use
- Start of every session — search for relevant context before starting work
- After key decisions — save a decision memory immediately
- On errors — log the error so it is trackable and searchable
- End of session — log_run fires automatically via hook
## Commands
**Search memories:**
```bash
curl -s -X POST $ZIKRA_URL \
-H "Authorization: Bearer $ZIKRA_TOKEN" \
-H "Content-Type: application/json" \
-d '{"command":"search","query":"your topic","project":"yourproject"}'
```
**Save a memory:**
```bash
curl -s -X POST $ZIKRA_URL \
-H "Authorization: Bearer $ZIKRA_TOKEN" \
-H "Content-Type: application/json" \
-d '{"command":"save_memory","project":"yourproject","memory_type":"decision",
"title":"your title","content_md":"your content","tags":null,
"created_by":"hostname"}'
```
**Log an error:**
```bash
curl -s -X POST $ZIKRA_URL \
-H "Authorization: Bearer $ZIKRA_TOKEN" \
-H "Content-Type: application/json" \
-d '{"command":"log_error","project":"yourproject",
"message":"what broke","context_md":"what happened and why"}'
```
## Memory types
- **decision** — architectural and design choices
- **conversation** — session diary entries (auto-generated by hooks)
- **error** — bugs and failures for tracking
- **schema** — database and API schemas
- **prompt** — reusable agent prompts
Files in this skill
- .venv/pyvenv.cfg
- AGENTS.md
- CHANGELOG.md
- CITATION.cff
- PROMOTION.md
- SKILL.md
- daemon/zikra_watcher.py
- docker-compose.yml
- docs/architecture.md
- docs/commands.md
- docs/onboarding.md
- glama.json
- hooks/codex-hook.sh
- hooks/gemini-hook.sh
- hooks/notify.sh
- hooks/zikra-shell-status.sh
- hooks/zikra-stats-update.sh
- hooks/zikra-statusline.js
- hooks/zikra_autolog.sh
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.