Hermes Trajのロゴ

Hermes Traj

コミュニティ
AlexAI-MCP
hermes-traj

Claude Codeの操作の軌跡を、トレーニングに適した形式で記録します。成功した実行や失敗した実行、レビュー用サンプル、評価トレース、後のQAやファインチューニング分析に使うコンパクトなデータセットを保存するときに使います。

Add to TypingMind

概要

公開者AlexAI-MCP
リポジトリhermes-CCC
スキル名hermes-traj
スター
134
フォーク
22
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Hermes Traj

Purpose

  • Save useful conversations as structured training or QA artifacts.
  • Separate successful traces from failed traces.
  • Preserve the task, outcome, and signal-rich decisions without saving noise.
  • Build a dataset that can be reviewed, filtered, and improved over time.
  • Make post-task learning operational instead of aspirational.

Default File Strategy

  • Use a success JSONL file for completed helpful runs.
  • Use a failure JSONL file for incomplete or incorrect runs.
  • Keep one JSON object per line.
  • Prefer append-only writes with later offline cleanup.
  • Store files in a predictable project path.

Recommended Fields

  • id
  • timestamp
  • task_type
  • completed
  • model
  • tags
  • source_context
  • conversations
  • artifacts
  • verification
  • failure_reason for failed runs

Conversation Shape

  • Represent turns as ordered objects.
  • Use explicit speaker labels such as human and assistant.
  • Preserve the actual ask and the actual resolution.
  • Remove filler and repeated status updates.
  • Keep tool-heavy tasks summarized rather than dumping every command output.

Supported Capture Modes

Save

  • Use for a successful interaction.
  • Mark completed as true.
  • Include what was changed or delivered.
  • Include how success was verified.

Save-Failed

  • Use for incorrect, incomplete, or abandoned work.
  • Mark completed as false.
  • Include a short failure_reason.
  • Include enough context to diagnose the failure later.

Review

  • Inspect recent entries for quality drift.
  • Look for repeated failure reasons.
  • Look for under-tagged entries.
  • Look for overlong assistant messages.

Stats

  • Count entries by task type.
  • Count success versus failure.
  • Report model distribution if present.
  • Report top tags and date range.

Summarization Rules

  • Keep the core problem statement.
  • Keep the main actions and why they mattered.
  • Keep the final result or failure.
  • Keep verification evidence.
  • Drop incidental chatter and repeated acknowledgements.
  • Prefer one concise assistant summary over many micro-updates.

Tagging Rules

  • Use 2 to 5 tags.
  • Choose tags that help slice the dataset later.
  • Prefer subsystem, task type, and failure pattern tags.
  • Avoid ultra-generic tags like task or work.
  • Reuse existing tag vocabulary when possible.

Task Type Suggestions

  • coding
  • debugging
  • review
  • research
  • writing
  • ops
  • other

Verification Field Guidance

  • Note whether tests passed.
  • Note whether lint passed.
  • Note whether the result is unverified because execution was unavailable.
  • Keep verification factual and short.
  • Do not fabricate successful validation.

Example Success Object

json
{
  "id": "traj-20260407-001",
  "timestamp": "2026-04-07T04:00:00Z",
  "task_type": "debugging",
  "completed": true,
  "model": "deep",
  "tags": ["auth", "redirect-loop", "python"],
  "source_context": "repo task",
  "conversations": [
    {"from": "human", "value": "Fix the login redirect loop."},
    {"from": "assistant", "value": "Reproduced the loop, traced the auth guard, updated the condition, and added a regression test."}
  ],
  "artifacts": ["tests/test_auth.py"],
  "verification": "targeted test passed"
}

Example Failed Object

json
{
  "id": "traj-20260407-002",
  "timestamp": "2026-04-07T05:00:00Z",
  "task_type": "coding",
  "completed": false,
  "model": "standard",
  "tags": ["mcp", "config"],
  "source_context": "repo task",
  "conversations": [
    {"from": "human", "value": "Register the MCP server."},
    {"from": "assistant", "value": "Updated the config draft but could not verify transport startup."}
  ],
  "artifacts": ["config/mcp.json"],
  "verification": "not run",
  "failure_reason": "environment lacked server executable for startup validation"
}

Save Procedure

  1. Determine whether the run was successful.
  2. Choose success or failure file.
  3. Summarize the turns into concise conversation objects.
  4. Assign task type.
  5. Assign tags.
  6. Note artifacts touched.
  7. Note verification honestly.
  8. Append one JSON object as one line.

Review Procedure

  1. Read the recent tail of success and failure files.
  2. Sample for quality rather than reading the full corpus.
  3. Check for missing fields.
  4. Check for repeated failure patterns.
  5. Suggest dataset hygiene improvements.

Stats Procedure

  1. Count total lines in each file.
  2. Parse entries that are valid JSON.
  3. Bucket by task type.
  4. Bucket by tag.
  5. Report success rate.
  6. Highlight malformed lines if any exist.

Quality Standards

  • Every entry must be parseable JSON.
  • Every entry must be understandable without the original chat transcript.
  • Every entry must preserve the real problem.
  • Every entry must preserve the real outcome.
  • Every failed entry must say why it failed.

Failure Modes

  • storing verbatim chat noise
  • omitting verification
  • using inconsistent tags
  • saving too little detail to learn from
  • mixing multiple tasks into one entry
  • inventing success when the run was not verified

Recovery Moves

  • If an entry is too long, rewrite it as a compact factual summary.
  • If tags drift, normalize them during review.
  • If JSONL has malformed lines, quarantine and rewrite them.
  • If failure reasons are vague, revise them while context is still fresh.

Good Triggers

  • "save this run"
  • "capture this failure"
  • "log this for training data"
  • "review our recent trajectories"
  • "show dataset stats"

Checklist

  1. Decide success or failure.
  2. Summarize the conversation.
  3. Tag it properly.
  4. Record artifacts and verification.
  5. Append valid JSON.
  6. Keep one object per line.
  7. Review quality periodically.
  8. Use failures to improve skills and workflows.

よくある質問

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

Claude Codeの操作の軌跡を、トレーニングに適した形式で記録します。成功した実行や失敗した実行、レビュー用サンプル、評価トレース、後のQAやファインチューニング分析に使うコンパクトなデータセットを保存するときに使います。

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

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

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

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

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

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

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

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

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

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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