Agent skill

Add Memory

by openakita in openakita/openakita

Record important information to long-term memory for learning user preferences, successful patterns, and error lessons.

AGPL-3.0Auto-check passedAgent Workflows

Install Add Memory

skills CLI
$ npx skills add openakita/openakita --skill add-memory -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install openakita/openakita add-memory --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/openakita/openakita.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/system/add-memory .claude/skills/add-memory && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
add-memory
GitHub stars
2k
Token cost
~259 tokens
SKILL.md length
50 words
Files
2
Skills in repo
29
Repo updated
First seen
Licence
AGPL-3.0

At a glance

Record important information to long-term memory for learning user preferences, successful patterns, and error lessons.

  • Tasks that involve Agent memory
  • SKILL.md covers Parameters, Memory Types, Importance Levels and Examples, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Add Memory is an agent skill from openakita/openakita. Record important information to long-term memory for learning user preferences, successful patterns, and error lessons. When you need to remember user preferences, save successful patterns, or record lessons from errors.

Its SKILL.md is about 260 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

It sits in Agent Workflows, covering Agent memory. The repository describes itself as: An open-source AI assistant framework with skills and agent architecture. The licence is AGPL-3.0.

When your agent uses it

  • Tasks that involve Agent memory

Example prompts

  • “/add-memory”

What it can do on your machine

Read from SKILL.md and the folder at commit 5f5b38d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are json).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Add Memory loads about 259 tokens when it runs. Until then it costs about 58 tokens; SKILL.md has 50 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~58
When it runs · the whole SKILL.md, loaded when a task matches
~259

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from openakita/openakita at commit 5f5b38d, republished under its AGPL-3.0 licence (© openakita). 50 words, ~259 tokens.

Download SKILL.mdSave it as .claude/skills/add-memory/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
add-memory
description
Record important information to long-term memory for learning user preferences, successful patterns, and error lessons. When you need to remember user preferences, save successful patterns, or record lessons from errors.
system
true
handler
memory
tool-name
add_memory
category
Memory

Add Memory

记录重要信息到长期记忆。

Parameters

参数类型必填说明
contentstring是要记住的内容
typestring是记忆类型(见下方列表)
importancenumber否重要性(0-1),默认 0.5

Memory Types

  • fact: 事实信息
  • preference: 用户偏好
  • skill: 技能知识
  • error: 错误教训
  • rule: 规则约定

Importance Levels

  • 0.8+: 永久记忆(重要偏好、关键规则)
  • 0.6-0.8: 长期记忆(一般偏好、常用模式)
  • 0.6-: 短期记忆(临时信息)

Examples

记录用户偏好:

json
{
  "content": "用户喜欢简洁的代码风格",
  "type": "preference",
  "importance": 0.8
}

记录错误教训:

json
{
  "content": "在 Windows 上使用 / 而不是 \\ 作为路径分隔符",
  "type": "error",
  "importance": 0.7
}
  • search-memory: 搜索相关记忆
  • get-memory-stats: 查看记忆统计

© openakita, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in skills/system/add-memory of openakita/openakita.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit 5f5b38d

Compare with similar skills

Add Memory next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Add Memory compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Add Memory this skillopenakita/openakita2k—~259Automated safety check: PassAGPL-3.0
Neat-Freak Knowledge CloseoutKKKKhazix/khazix-skills21k—~1.9kAutomated safety check: PassMIT
Beads Task Memorygastownhall/beads28k—~1.2kAutomated safety check: PassMIT
Reflect on Session Learningscursor/plugins10k5 repos~1.2kAutomated safety check: PassNone
MemPalace Memory SearchMemPalace/mempalace59k—~1.4kAutomated safety check: PassMIT
Compound Learning WriterEveryInc/compound-engineering-plugin25k—~2kAutomated safety check: PassMIT

Similar skills

  • Neat-Freak Knowledge Closeout

    KKKKhazix/khazix-skills

    Brings project docs, agent rule files, authorized memory and leftover workspace files back in line with what the code and runtime actually do at the end of a work session.

    21k GitHub stars~1.9k tokensUpdated 8 days ago
    Agent WorkflowsAuto-check passed
  • Beads Task Memory

    gastownhall/beads

    Tracks multi-session work with dependencies in the bd issue tracker so the agent can find ready tasks and recover its context after conversation compaction.

    28k GitHub stars~1.2k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Official

    Starts three parallel reviewer subagents over the current conversation transcript, then turns their findings into concrete edits to existing skills.

    10k GitHub starsUsed in 5 repos~1.2k tokens
    Agent WorkflowsAuto-check passed
  • MemPalace Memory Search

    MemPalace/mempalace

    Mines project files and conversation exports into a local, searchable memory palace and recalls past work by semantic search through the mempalace CLI.

    59k GitHub stars~1.4k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Compound Learning Writer

    EveryInc/compound-engineering-plugin

    Records one solved and verified problem as a durable learning in the repository, but only when the reasoning is not already clear from the final code, tests or docs.

    25k GitHub stars~2k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Searches past Claude Code, Codex and Cursor sessions and summarizes what was worked on, tried or decided, using extraction scripts instead of reading raw logs.

    24k GitHub stars~3.1k tokensUpdated today
    Agent WorkflowsAuto-check passed

More from openakita/openakita

All 29 skills in this repo
  • Smtp Email Sender

    openakita/openakita

    Send emails via SMTP (Gmail, Outlook, etc.). An agent skill from openakita/openakita.

    2k GitHub stars~693 tokensUpdated 15 days ago
    Auto-check: notes
  • Deliver Artifacts

    openakita/openakita

    Deliver artifacts (files/images/voice) to current IM chat via gateway, returning a receipt.

    2k GitHub stars~288 tokensUpdated 15 days ago
    Auto-check passed
  • Switch Persona

    openakita/openakita

    Switch Agent persona preset. An agent skill from openakita/openakita.

    2k GitHub stars~286 tokensUpdated 15 days ago
    Auto-check passed
  • Toggle Proactive

    openakita/openakita

    Toggle proactive messaging mode. An agent skill from openakita/openakita.

    2k GitHub stars~228 tokensUpdated 15 days ago
    Auto-check passed
  • Browser Task

    openakita/openakita

    Smart browser task agent - describe what you want done in natural language and it completes automatically.

    2k GitHub stars~715 tokensUpdated 15 days ago
    Auto-check passed
  • CLI Anything

    openakita/openakita

    Control desktop software (GIMP, Blender, LibreOffice, etc.) through CLI-Anything generated command-line interfaces.

    2k GitHub stars~507 tokensUpdated 15 days ago
    Auto-check passed

Categories

Questions about Add Memory

What does Add Memory do?

Record important information to long-term memory for learning user preferences, successful patterns, and error lessons. Add Memory is an agent skill from openakita/openakita. Record important information to long-term memory for learning user preferences, successful patterns, and error lessons.

When should I use Add Memory?

Add Memory fits situations like: tasks that involve Agent memory.

How do I install Add Memory in Claude Code?

Run `npx skills add openakita/openakita --skill add-memory -a claude-code`. Or copy the skill folder (skills/system/add-memory in openakita/openakita) into .claude/skills/add-memory in your project. Claude Code loads it when a task matches its description.

How do I install Add Memory in Codex?

Run `npx skills add openakita/openakita --skill add-memory -a codex`. Or copy the skill folder (skills/system/add-memory in openakita/openakita) into .agents/skills/add-memory in your project. Codex loads it when a task matches its description.

Can I use Add Memory in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add openakita/openakita --skill add-memory -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/add-memory, .gemini/skills/add-memory, .github/skills/add-memory and .opencode/skills/add-memory in your project.

What does Add Memory need to run?

SKILL.md names no scripts, command-line tools or credentials: Add Memory is instructions for the agent only.

Does Add Memory access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Add Memory safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Add Memory use?

Add Memory is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Add Memory use?

About 259 tokens (SKILL.md is roughly 1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Add Memory?

Skills that share tags, products or a category with Add Memory: Neat-Freak Knowledge Closeout (KKKKhazix/khazix-skills, 21k stars), Beads Task Memory (gastownhall/beads, 28k stars), Reflect on Session Learnings (cursor/plugins, 10k stars) and MemPalace Memory Search (MemPalace/mempalace, 59k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Add Memory?

openakita (a GitHub user) maintains it in openakita/openakita, which has 2,002 GitHub stars. The repository holds 29 skills in this directory. The repository was last updated on September 24, 2026.

Source: openakita/openakita on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.