本文へスキップ
Skillpedia
エージェント30k · #9353

remember

できること

このスキルは、重要な洞察、決定、事実を、エージェントの長期記憶に保存します。後で再び見つけられるよう、キーワードでタグ付けします。

使う場面

  • ✓「これを覚えておいて」「保存して」「忘れないで」と、重要なことについて言うとき。
  • ✓今後のセッションが知るべき決定を固めたとき。
  • ✓重要なファイルや選択などの事実を、後の作業のために残したいとき。

スキルのリンク

https://github.com/rohitg00/agentmemory/blob/main/plugin/skills/remember/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/rohitg00/agentmemory/blob/main/plugin/skills/remember/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“JWTのリフレッシュトークンは、使うたびにローテーションしていて、古いものはリフレッシュファイルで無効化されることを覚えておいてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、あなたのメッセージから要点を抜き出し、特定の検索タグを2〜5個と、ファイルパスを加えて保存します。そのうえで保存を確認し、後で見つけられるようにタグを示します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

The user wants to save this to long-term memory: $ARGUMENTS

Quick start

memory_save {
  "content": "We rotate JWT refresh tokens on every use; the old token is revoked server-side in auth/refresh.ts.",
  "concepts": "jwt-refresh-rotation, token-revocation, auth-flow",
  "files": "src/auth/refresh.ts"
}

Expected output:

Saved memory abc12345 with 3 concepts: jwt-refresh-rotation, token-revocation, auth-flow.

Why

A memory is only as useful as the terms that retrieve it. Tag with specific concepts so a future recall finds it, and preserve the user's own phrasing.

Workflow

  1. Pull the core insight, decision, or fact out of $ARGUMENTS.
  2. Extract 2-5 lowercased concept phrases. Prefer specific over generic (jwt-refresh-rotation beats auth).
  3. Extract referenced file paths (absolute or repo-relative). Empty if none.
  4. Call memory_save with content, concepts (comma-separated string), and files (comma-separated string). In a multi-agent setup pass agentId so the memory lands in the right agent's scope.
  5. Confirm the save and echo the concepts so the user knows the retrieval terms.
  6. To update a fact, save the corrected version outright: near-duplicate content supersedes the old record, which leaves recall but stays in the version chain.

Anti-patterns

WRONG: concepts: "stuff, code, notes" (generic tags nothing can find later).

RIGHT: concepts: "jwt-refresh-rotation, token-revocation" (specific, retrievable).

Checklist

  • Content preserves the user's phrasing, not a paraphrase.
  • Concepts are specific, lowercased, 2-5 items.
  • File paths are real references, not guesses.
  • Confirmation echoes the exact concepts tagged.

See also

  • recall: retrieve what you save here (the pair to this skill).
  • forget: remove a memory you saved by mistake.
  • lesson: behavioral rules from corrections; memories are for facts.
  • memory-discipline: when to save unprompted.

Troubleshooting

See TROUBLESHOOTING.md if memory_save is not available.

よくある質問

タグはどう選びますか?

メモやコードのような一般的な語を避け、内容から2〜5個の具体的なキーワードを選びます。

前に保存した事実を更新するには?

修正した版を保存します。新しい記録が検索で古いものに置き換わり、変更は履歴に残ります。

記憶を1つのエージェントだけに属させられますか?

はい。複数エージェントの設定では、記憶を特定のエージェントの範囲に保存できます。

詳細

作者による元の説明

Save an insight, decision, or learning to agentmemory's long-term storage with searchable concept tags. Use when the user says "remember this", "save this", "note that", "don't forget", or wants to preserve knowledge for future sessions.

repo: rohitg00/agentmemory

人気

GitHubのスター
30k
ランキング
#9353
ライセンス
Apache-2.0
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル