Save Diaryのロゴ

Save Diary

コミュニティ
faizkhairi
save-diary

ユーザーが「save diary」「write diary」「diary entry」「update diary」「document session」と言った場合は、必ず使用してください。また、機能のリリース、重大なバグの修正、アーキテクチャ上の決定、新しいプロジェクトの開始など、重要なセッションの終了時にも自動実行します。

Add to TypingMind

概要

公開者faizkhairi
リポジトリclaude-code-blueprint
スキル名save-diary
スター
73
フォーク
22
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Prerequisite check (run first): if ./memory/diary/current/ does not exist OR ~/.claude/.memory-disabled marker file is present, this skill is a no-op. Output: "Memory persistence is disabled. Run ./setup.sh and choose to enable memory if you want diary entries to be saved."

Dev Diary: Session Documentation Skill

Today's story takes shape.

Activation

When this skill activates, output: "Dev Diary: documenting today's session."

Context Guard

ContextStatus
User says "save diary" / "write diary" / "diary entry"ACTIVE, full diary write
End of significant sessionACTIVE, auto-document
User says "review diary"ACTIVE, read recent entries
Mid-conversation (no save request)DORMANT, no diary action

Protocol

Step 1: Monthly Archive Check

  • Scan ./memory/diary/current/ for files from previous months
  • For each file where month != current month:
    • Create ./memory/diary/archived/YYYY-MM/ folder if not exists
    • Move the file from current/ to archived/YYYY-MM/
  • Continue with diary write

Step 2: Find or Create Today's File

  • Check if ./memory/diary/current/YYYY-MM-DD.md exists
  • If exists: use it (will append new entry)
  • If not: create new file with header:
# YYYY-MM-DD, Session N: Brief Description

Step 3: Compose and Append Diary Entry

  • Get current date via bash: date +"%B %d, %Y" or PowerShell Get-Date -Format "MMMM dd, yyyy"
  • Analyze current session for key content
  • Write structured entry using our actual diary format:
    • Title: # YYYY-MM-DD, Session N: Brief Description
    • What Happened: Concise summary of the session context and goals
    • Fixes Applied / Key Changes: Specific technical work done (commits, code changes)
    • Key Insight: Lessons learned or important observations
    • Pending / Next Steps: What's left to do
  • Session numbering: Read the existing file first. Find the highest Session N number in today's entries and increment by 1. If this is the first entry of the day, check the previous day's file for the last session number and continue from there. If no previous entries exist, start at Session 1.
  • APPEND to today's file (never overwrite existing content)
  • Multiple entries per day are separated by ---

Step 4: Update Session Memory

  • Update ./memory/core/session.md with:
    • Session recap and key achievements
    • Current working state for continuity
    • Next steps identified
  • Confirm diary entry saved

Mandatory Rules

  1. Always APPEND: never overwrite existing diary entries
  2. One file per day: multiple entries separated by ---
  3. Use real timestamps: get current date via system command
  4. Archive first: run monthly archive check before every write
  5. Evidence-based: document actual session content, not generic summaries
  6. Use our format: concise technical summaries (What Happened, Key Changes, Key Insight, Pending)

Edge Cases

SituationBehavior
First entry of the dayCreate new file with header + first entry
Second+ entry same dayAppend with --- separator
No significant contentCreate brief entry noting session type
"review diary" commandRead and present recent entries from current/

よくある質問

AIスキル「Save Diary」では何ができますか?

ユーザーが「save diary」「write diary」「diary entry」「update diary」「document session」と言った場合は、必ず使用してください。また、機能のリリース、重大なバグの修正、アーキテクチャ上の決定、新しいプロジェクトの開始など、重要なセッションの終了時にも自動実行します。

TypingMindでSave Diaryを使うメリットは何ですか?

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

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

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

Save Diaryを使えるAIモデルはどれですか?

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

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

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

AIスキル「Save Diary」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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