Reflectのロゴ

Reflect

コミュニティ
tamirdresher
reflect

Learning capture system that extracts HIGH/MED/LOW confidence patterns from conversations to prevent repeating mistakes. Use after user corrections ("no", "wrong"), praise ("perfect", "exactly"), or when discovering edge cases.

概要

公開者tamirdresher
リポジトリsquad-skills
スキル名reflect
スター
44
フォーク
9
同梱ファイル
2
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 2個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Reflect Skill

Critical learning capture system for agent continuous improvement. Prevents repeating mistakes and preserves successful patterns across sessions.

Analyze conversations and propose improvements to agent knowledge based on what worked, what didn't, and edge cases discovered. Every correction is a learning opportunity.


Integration with Learning Systems

Reflect complements existing learning mechanisms:

  1. Agent history — Permanent learnings from completed work
  2. Team decisions — Shared guidelines all agents respect
  3. Skill improvements — Recommendations to skill documentation
  4. Reflect skill — Captures in-flight learnings that may graduate to permanent systems

Workflow:

  • Use reflect during work to capture learnings
  • At session end, review captured learnings
  • Promote HIGH confidence patterns for team adoption
  • Promote agent-specific patterns to agent history

Triggers

🔴 HIGH Priority (Invoke Immediately)

TriggerExampleWhy Critical
User correction"no", "wrong", "not like that", "never do"Captures mistakes to prevent repetition
Architectural insight"you removed that without understanding why"Documents design decisions
Immediate fixes"debug", "root cause", "fix all"Learns from errors in real-time

🟡 MEDIUM Priority (Invoke After Multiple)

TriggerExampleWhy Important
User praise"perfect", "exactly", "great"Reinforces successful patterns
Tool preferences"use X instead of Y", "prefer"Builds workflow preferences
Edge cases"what if X happens?", "don't forget", "ensure"Captures scenarios to handle

🟢 LOW Priority (Invoke at Session End)

TriggerExampleWhy Useful
Repeated patternsFrequent use of specific commands/toolsIdentifies workflow preferences
Session endAfter complex workConsolidates all session learnings

Process

Phase 1: Identify Learning Target

Determine what system should be updated:

  1. Agent-specific learning — Agent's personal history and preferences
  2. Team-wide decision — Guidelines for all agents
  3. Skill-specific improvement — Document recommendation for skill owner

Phase 2: Analyze Conversation

Scan for learning signals with confidence levels:

HIGH Confidence: Corrections

User actively steered or corrected output.

Detection patterns:

  • Explicit rejection: "no", "not like that", "that's wrong"
  • Strong directives: "never do", "always do", "don't ever"
  • User provided alternative implementation

Example:

text
User: "No, use the code search tool instead of raw API calls"
→ [HIGH] + Add constraint: "Prefer code search tools over direct API"
MEDIUM Confidence: Success Patterns

Output was accepted or praised.

Detection patterns:

  • Explicit praise: "perfect", "great", "yes", "exactly"
  • User built on output without modification
  • Output was committed without changes

Example:

text
User: "Perfect, that's exactly what I needed"
→ [MED] + Add preference: "Include usage examples in documentation"
MEDIUM Confidence: Edge Cases

Scenarios not anticipated.

Detection patterns:

  • Questions not answered
  • Workarounds user had to apply
  • Error handling gaps discovered

Example:

text
User: "What if the file doesn't exist?"
→ [MED] ~ Add edge case: "Handle missing file scenario"
LOW Confidence: Preferences

Accumulated patterns over time.

Example:

text
User consistently uses --no-pager flag
→ [LOW] ~ Note for review: "User prefers --no-pager for commands"

Phase 3: Propose Learnings

Present findings:

text
┌─────────────────────────────────────────────────────────────┐
│ REFLECTION: {target}                                         │
├─────────────────────────────────────────────────────────────┤
│                                                             │
│ [HIGH] + Add constraint: "{specific constraint}"            │
│   Source: "{quoted user correction}"                        │
│   Target: Agent knowledge base                              │
│                                                             │
│ [MED]  + Add preference: "{specific preference}"            │
│   Source: "{evidence from conversation}"                    │
│   Target: Shared guidelines                                 │
│                                                             │
│ [LOW]  ~ Note for review: "{observation}"                   │
│   Source: "{pattern observed}"                              │
│   Target: Session notes only                                │
│                                                             │
├─────────────────────────────────────────────────────────────┤
│ Apply changes? [Y/n/edit]                                   │
└─────────────────────────────────────────────────────────────┘

Confidence Threshold:

ThresholdAction
≥1 HIGH signalAlways propose (user explicitly corrected)
≥2 MED signalsPropose (sufficient pattern)
≥3 LOW signalsPropose (accumulated evidence)
1-2 LOW onlySkip (insufficient evidence)

Phase 4: Persist Learnings

ALWAYS show changes before applying.

After user approval:

  1. For Agent History:

    • Append to agent history under ## Learnings section
    • Format: Date, assignment context, key learning
    • Agent self-updates at end of session
  2. For Team Decisions:

    • Create proposal in decisions inbox
    • Team lead reviews and merges if appropriate
    • Format follows decision template
  3. For Skills:

    • Document recommendation in session notes
    • Skill owner reviews and updates skill documentation

Memory Format Example:

markdown
### {Date}: {Assignment Title}

**Context:** {Brief description}

**Learnings:**
1. [HIGH] {Constraint learned} — Source: "{user quote}"
2. [MED] {Preference discovered} — Pattern observed across {N} instances
3. [MED] {Edge case} — Scenario: {description}

Usage Examples

Example 1: User Correction

Conversation:

Agent: "I'll use grep to search the repository"
User: "No, use the code search tools first, grep is too slow"
Agent: "Got it. Let me reflect on this correction..."

Reflection Output:

[HIGH] + Add constraint: "Use code search tools before grep"
  Source: "No, use the code search tools first, grep is too slow"
  Target: Agent knowledge base

Example 2: Success Pattern

Conversation:

Agent: [Creates detailed documentation with examples]
User: "Perfect! This is exactly the format I want for all reports"
Agent: "Let me capture this success pattern..."

Reflection Output:

[MED] + Add preference: "Include examples in documentation"
  Source: User praised detailed format
  Target: Team guidelines

Integration Notes

Reflect provides a learning workflow for any agent:

  • No framework dependency
  • Works with any knowledge storage system (Git, databases, files)
  • Captures HIGH/MED/LOW confidence learnings
  • Routes team-wide learnings to appropriate decision-makers
  • Agent-specific learnings captured in agent history

Core principle: Every user correction is a learning opportunity.


When to Use

✅ Use reflect when:

  • User says "no", "wrong", "not like that" (HIGH priority)
  • User says "perfect", "exactly", "great" (MED priority)
  • You discover edge cases or gaps
  • Complex work session with multiple learnings
  • At end of sprint/milestone to consolidate patterns

❌ Don't use reflect when:

  • Simple one-off questions with no pattern
  • User is just exploring ideas (no concrete decisions)
  • Learning is already captured in agent history
  • Trivial preferences unlikely to recur

See Also

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

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

Learning capture system that extracts HIGH/MED/LOW confidence patterns from conversations to prevent repeating mistakes. Use after user corrections ("no", "wrong"), praise ("perfect", "exactly"), or when discovering edge cases.

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

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

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

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

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

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

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

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

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

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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