Recall Langのロゴ

Recall Lang

コミュニティ
Pinperepette
recall-lang

Configure the language(s) used by the agd-memory auto-recall hook for stopword filtering. Use when the user says "enable italian recall", "abilita italiano per il recall", "set recall language", "which languages for recall", "disabilita italiano recall", "reset recall languages", or asks to add a custom stopwords file. Default after install is English only; other languages are opt-in.

概要

公開者Pinperepette
リポジトリagd-memory
スキル名recall-lang
スター
26
フォーク
1
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    PinperepetteがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Recall Lang」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/Pinperepette/agd-memory/tree/main/skills/recall-lang
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Pinperepette/agd-memory.git /tmp/agd-memory
mkdir -p .claude/skills
cp -r /tmp/agd-memory/skills/recall-lang .claude/skills/recall-lang
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでRecall Langを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にRecall Langを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Recall Langは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

AGD Memory recall — language configuration

The auto-recall hook (UserPromptSubmit) scores memory blocks against the user's prompt and injects the top few. To avoid false matches on function words ("the", "and", "che", "del"), each prompt is filtered against a stopwords list.

Default after install: English only. Other languages are opt-in via this skill (or directly by env var / CLI). Built-in lists: en, it.

A persistent config file lives at:

${CLAUDE_PLUGIN_DATA:-${XDG_DATA_HOME:-$HOME/.local/share}/agd-memory}/recall.json

The hook reads it at every prompt. The env var AGD_RECALL_LANGS always wins over the config file when set.

CLI

All commands run through the recall script's config subcommand. Invoke it via Bash (the script auto-resolves Python via the plugin's venv or system python3.10+):

sh
bash "$CLAUDE_PLUGIN_ROOT/hooks/agd-memory-recall.sh" <impossible>  # NOT this
# Instead, invoke the python module directly:
"$CLAUDE_PLUGIN_ROOT/hooks/agd-memory-recall.py" config show

If $CLAUDE_PLUGIN_ROOT is not set, look for the plugin under ~/.claude/plugins/marketplaces/agd-memory/ (default marketplace install location).

Subcommands:

CommandEffect
config showprint the current langs, source (env/file/default), and the path of the config file
config enable <lang>add a built-in language (en, it)
config disable <lang>remove a language from the list
config set <l1,l2,...>replace the list entirely
config resetdelete the config file, fall back to default (en)
config stopwords-file <path>also load custom stopwords from a file (one word per line, # comments allowed)
config stopwords-file (no arg)clear the custom file

How to handle user requests

"abilita italiano per il recall" / "enable italian recall"

sh
"$CLAUDE_PLUGIN_ROOT/hooks/agd-memory-recall.py" config enable it

Tell the user: from the next prompt, Italian stopwords ("che", "del", "sono", etc.) are filtered before scoring.

"disabilita italiano" / "disable italian recall"

sh
"$CLAUDE_PLUGIN_ROOT/hooks/agd-memory-recall.py" config disable it

"che lingue ho per recall?" / "show recall config"

sh
"$CLAUDE_PLUGIN_ROOT/hooks/agd-memory-recall.py" config show

Read the output back to the user verbatim.

"reset recall" / "torna al default"

sh
"$CLAUDE_PLUGIN_ROOT/hooks/agd-memory-recall.py" config reset

"aggiungi parole personali al recall" / "use my own stopwords file"

Ask the user for the path. Verify the file exists, then:

sh
"$CLAUDE_PLUGIN_ROOT/hooks/agd-memory-recall.py" config stopwords-file /path/to/words.txt

Each non-empty, non-comment line is a stopword. The file is read every time the hook fires (no daemon, no caching).

Notes

  • The hook tokenizer is Unicode-aware: scripts other than Latin (Cyrillic, Greek, CJK, etc.) tokenize correctly out of the box — only the stopword list determines what gets filtered. Add stopwords via config stopwords-file for any language not in the built-in set.
  • Changes take effect on the next prompt, no restart needed.
  • For a one-off override without persisting, set AGD_RECALL_LANGS=it,en in the shell before launching claude. The env var beats the file.

よくある質問

AIスキル「Recall Lang」では何ができますか?

Configure the language(s) used by the agd-memory auto-recall hook for stopword filtering. Use when the user says "enable italian recall", "abilita italiano per il recall", "set recall language", "which languages for recall", "disabilita italiano recall", "reset recall languages", or asks to add a custom stopwords file. Default after install is English only; other languages are opt-in.

TypingMindでRecall Langを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Recall Langはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにRecall Langをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/Pinperepette/agd-memory/tree/main/skills/recall-langを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Recall Langを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Recall Langで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもRecall Langを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Recall Lang」は無料ですか?

はい。PinperepetteがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇