ワンクリックで
add-memory
Append a work summary to today's session log and .claude/MEMORY.md's Work Log, filed under a Conventional Commit type section.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Append a work summary to today's session log and .claude/MEMORY.md's Work Log, filed under a Conventional Commit type section.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Design documentation and assets.
Code documentation and automation.
Collect and organize research data.
Write and maintain documentation across platforms.
Convert Notion posts to markdown for blog publishing.
Generate and sync code documentation.
| name | add-memory |
| description | Append a work summary to today's session log and .claude/MEMORY.md's Work Log, filed under a Conventional Commit type section. |
.claude/skills/add-memory/scripts/add-memory.sh "type: work summary"
The type: prefix is optional. If it matches one of feat, fix, docs,
refactor, perf, test, ci, chore, deps (the same vocabulary as
commit messages and labels — see AGENTS.md), the entry is filed under that
section. Otherwise it lands under notes.
.claude/hooks/add-memory.sh is a thin forwarding stub for the
session_end hook (see .claude/hooks/hooks.json) — that trigger needs a
script at a fixed hooks/ path. Call the skill's own script directly for
everything else.
This skill (this whole .claude/skills/add-memory/ folder — scripts/
and templates/ included) is meant to be copied into other projects
as-is. It never assumes anything about the project it runs in:
scripts/add-memory.py finds the project root by walking up from its
own location (looking for .git, or the .claude folder it lives
under), not by a fixed number of parent directories.templates/MEMORY.md and templates/session.md are what a missing
.claude/MEMORY.md or session log gets bootstrapped from — generic,
with no content specific to any one project. Edit these templates, not
the bootstrap logic, when the starting shape needs to change..claude/memory/session-<YYYY-MM-DD>.md — one file per day, all hook
calls that day accumulate into it instead of fragmenting into separate
files. Raw, in the moment..claude/MEMORY.md's ## Work Log — the same entries, curated over
time: prune anything no longer worth keeping, keep the rest. Each day
heading links to that day's session file (*Details: [...]*), and each
session file links back to MEMORY.md, so either file can be read alone.Entries are a GFM numbered list under a #### (in MEMORY.md) or ## (in
the session file) type heading:
#### feat
1. add --sort flag to search (14:32)
2. add --limit flag to search (14:40)
MEMORY.md and the session logs record project facts and history only —
architecture, current focus, what changed and why. They never restate:
README.md's job — the user-facing pitch, install/usage, feature list.AGENTS.md's job — agent rules and workflow.Reference those files by name instead of copying their content.