Hermes Traj logo

Hermes Traj

Community
AlexAI-MCP
hermes-traj

Capture Claude Code interaction trajectories in training-friendly formats. Use when saving successful runs, failed runs, review samples, evaluation traces, or compact datasets for later QA and fine-tuning analysis.

Overview

PublisherAlexAI-MCP
Repositoryhermes-CCC
Skill namehermes-traj
Stars
134
Forks
22
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by AlexAI-MCP on GitHub. Read the source before you install it.

Installation

Install the Hermes Traj AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/AlexAI-MCP/hermes-CCC/tree/master/skills/hermes-traj
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Hermes Traj in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Hermes Traj on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Hermes Traj is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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.

Frequently asked questions

What does the Hermes Traj AI skill do?

Capture Claude Code interaction trajectories in training-friendly formats. Use when saving successful runs, failed runs, review samples, evaluation traces, or compact datasets for later QA and fine-tuning analysis.

Why use Hermes Traj on TypingMind?

Because you install it once and use it with any model. Hermes Traj is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Hermes Traj in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/AlexAI-MCP/hermes-CCC/tree/master/skills/hermes-traj. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Hermes Traj?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Hermes Traj?

As many as you like. As long as a model supports skills, you can use Hermes Traj with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Hermes Traj AI skill free?

Yes. It is published on GitHub by AlexAI-MCP under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇