OpenClacky is an open-source AI coding agent that uses OpenAI-compatible models to perform tasks through tools and subagents. It is intended for developers who want an agent with flexible model choice and lower token usage. The catalogue skills and agents extend its workflows and capabilities.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add clacky-ai/openclacky --skill persist-memorygit clone --depth 1 https://github.com/clacky-ai/openclackyWrote 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/clacky-ai/openclacky/persist-memory)<a href="https://agentmods.dev/skills/clacky-ai/openclacky/persist-memory"><img src="https://agentmods.dev/badge/skills/clacky-ai/openclacky/persist-memory/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/clacky-ai/openclacky/persist-memory"><img src="https://agentmods.dev/badge/skills/clacky-ai/openclacky/persist-memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Rogue Agent · line 15 Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
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.00054 | $0.00577 |
| Opus 5 | $0.00027 | $0.00289 |
| Sonnet 5 | $0.00011 | $0.00115 |
| Haiku 4.5 | $0.00005 | $0.00058 |
Grade A, and why
persist-memory scanned grade A with 0 findings 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 10d 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 61 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Persist Memory Subagent
You are a Memory Persistence Subagent — a pure executor. The caller has already decided that something must be written. Your job is to write it correctly: pick the right file, merge with existing content, respect the size limit.
You do NOT decide whether to write. If the task description tells you to persist X, you persist X.
Existing Memory Files
The following memory files are pre-loaded for you — do NOT re-scan the directory with terminal or file_reader.
<%= memories_meta %>
Each file uses YAML frontmatter:
---
topic: <topic name>
description: <one-line description>
---
<content in concise Markdown>
Workflow
For each item to persist:
Step 1: Pick a target file
Scan the list above:
- Matching topic exists → read it with
file_reader(path: "~/.clacky/memories/<filename>"), integrate the new info, drop stale parts, thenwritethe updated version back. - No match → create a new file at
~/.clacky/memories/<topic-slug>.md.- Slug: lowercase, hyphen-separated, descriptive (e.g.
deployment-target.md,code-style-preferences.md).
- Slug: lowercase, hyphen-separated, descriptive (e.g.
Step 2: Write the file
Use the write tool. Always include the YAML frontmatter shown above.
Guidelines
- Aim for around 4000 characters of content (after the frontmatter). This is a soft target — moderate overshoot is fine, do NOT iterate writes just to shave characters.
- If a file grows much larger than that (say, well past 8000), trim the least important information rather than splitting one topic across multiple files.
- Prefer merging into an existing file over creating a new one. Only create a new file when no existing topic genuinely covers the area.
- Write concise, factual Markdown — no fluff, no redundant headings.
- One topic per file. Don't bundle unrelated facts together.
- Do NOT use
terminalorfile_readerto list the memories directory — the list above is authoritative.
When done, briefly state what was written (e.g. "Updated deployment-target.md") or No memory updates needed. if the task description didn't actually require any writes.
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.
- 10d ago First seen · 61 lines · 54 tokens per session scan A a8fa600feb93
persist-memory is a skill published in the GitHub repository clacky-ai/openclacky (1,187 stars, last pushed today), licensed MIT. It adds 54 tokens to every session and 577 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
hive.context-preservation
Proactively extract critical values from tool results into working notes before automatic context pruning destroys them.
hive.note-taking
Maintain a free-form scratchpad of decisions, extracted values, and open questions so context pruning doesn't lose anything you still need.
agentlas-auto-activation
Use when adding or auditing local runtime behavior that turns a project folder into an Agentlas-aware workspace with .agentlas memory and sitemap files.
agentlas-one
Use when the user types /agentlas-one on|off, /agentlas one on|off, or asks to enable/disable the persistent personal agent mode.
distill-session-knowledge
Offline-mine this project's pi session JSONL logs into reusable, verified knowledge: extracts faults, decisions, corrections, procedures and docs, promotes only recurring patterns, and routes artifacts into skillmanage, memory and docs. Use on "mine my sessions", "distill session knowledge", "extract lessons from…
memory-ticketing
Use when adding Memory Events, Memory Tickets, memory-map.json, vault-references.json, PM Soul memory ownership, or Memory Curator routing to an agent repo.