Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/byte5ai/palaianpx agentmods add skills/byte5ai/palaia/skillWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/byte5ai/palaia/skill)<a href="https://agentmods.dev/skills/byte5ai/palaia/skill"><img src="https://agentmods.dev/badge/skills/byte5ai/palaia/skill/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/byte5ai/palaia/skill"><img src="https://agentmods.dev/badge/skills/byte5ai/palaia/skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00048 | $0.08070 |
| Opus 5.5 | $0.00019 | $0.03228 |
| Sonnet 5.5 | $0.00010 | $0.01614 |
| Haiku 4.5 | $0.00005 | $0.00807 |
Grade B, and why
palaia scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
**Claude Code** (`~/.claude/settings.json`): This is a copy
100% identical to palaia — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 833 lines — stays where its author put it; the contents beside it link to each section on GitHub.
palaia v2.7 — Agent Memory Skill
palaia is the memory system for OpenClaw agents. It gives you persistent, searchable, crash-safe memory across sessions. You don't need to understand how it works — just use the commands below.
First-Time Setup
When a user asks you to "set up palaia", "enable memory", or "remember things across sessions", run these steps:
pip install "palaia[fastembed]"
palaia init
This creates .palaia/ with SQLite storage and automatically configures fastembed for semantic search. No manual configuration needed.
Confirm success to the user: "Memory is ready. I'll automatically remember important context from our conversations."
If pip is not available, try alternatives in this order:
python3 -m pip install "palaia[fastembed]"
uv tool install "palaia[fastembed]"
pipx install "palaia[fastembed]"
Optional extras (install as needed):
pip install "palaia[mcp]" # MCP server for Claude Desktop, Cursor
pip install "palaia[curate]" # Knowledge curation
Note: palaia[fastembed] already includes sqlite-vec for native SIMD vector search. No separate install needed.
OpenClaw Plugin Setup (for Auto-Capture and Auto-Recall)
After the CLI is installed, wire it into OpenClaw:
openclaw plugins install @byte5ai/palaia
Then activate the memory slot in OpenClaw config:
// openclaw.json
{
plugins: {
slots: { memory: "palaia" }
}
}
Restart the gateway and verify:
openclaw gateway restart
palaia doctor
Agent Identity (optional)
Single-agent systems work with the default name. For multi-agent setups:
palaia init --agent YOUR_AGENT_NAME
Updating palaia
When the user asks to update, or when palaia status shows a version mismatch:
palaia upgrade
This auto-detects the install method (pip/uv/pipx), preserves all installed extras (fastembed, mcp, sqlite-vec, curate), runs palaia doctor --fix, and upgrades the OpenClaw plugin if installed. No manual steps needed.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 833 lines · 48 tokens per session scan B 42ce9bfc6b68
palaia is a skill published in the GitHub repository byte5ai/palaia (20 stars, last pushed today), licensed MIT. It adds 48 tokens to every session and 8,070 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). It is 100% identical to palaia, differing in 0 lines, and is treated as a copy.
palaia compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| palaiabyte5ai/palaia | Skill | 20 | today | MIT | B | 48 | Claude Code, Codex |
| utekecodecoradev/uteke | Skill | 294 | today | Apache-2.0 | A | 35 | Claude Code, Codex |
| setupAbsoluteMode/session-recall | Skill | 13 | 8d ago | MIT | A | 84 | Claude Code |
| session-recallAbsoluteMode/session-recall | Skill | 13 | 8d ago | MIT | A | 92 | Claude Code |
| memxNeoLi00/memX | Skill | 400 | 6mo ago | MIT | A | 26 | Claude Code |
| mission-controlbuilderz-labs/mission-control | Skill | 6.5k | 2d ago | MIT | A | 34 | Claude Code, Codex |
| memory-to-skillzilliztech/memsearch | Skill | 3.0k | 3d ago | MIT | A | 82 | Claude Code, Codex |