Agent skill

Hermes Traj

by AlexAI-MCP in AlexAI-MCP/hermes-CCC

Capture Claude Code interaction trajectories in training-friendly formats.

MITAuto-check passedAI & LLM Engineering

Install Hermes Traj

skills CLI
$ npx skills add AlexAI-MCP/hermes-CCC --skill hermes-traj -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install AlexAI-MCP/hermes-CCC hermes-traj --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/AlexAI-MCP/hermes-CCC.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/hermes-traj .claude/skills/hermes-traj && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
hermes-traj
GitHub stars
135
Token cost
~1.6k tokens
SKILL.md length
652 words
Files
1
Skills in repo
44
Repo updated
First seen
Licence
MIT

At a glance

Capture Claude Code interaction trajectories in training-friendly formats.

  • Works in 8 steps: Determine whether the run was successful. → Choose success or failure file. → Summarize the turns into concise… → …
  • Saving successful runs
  • SKILL.md covers Purpose, Default File Strategy, Recommended Fields and Conversation Shape, plus 15 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Hermes Traj is an agent skill from AlexAI-MCP/hermes-CCC. 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.

Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in AI & LLM Engineering, covering Fine-tuning. The repository describes itself as: Hermes Agent ported to Claude Code Channel — 46 native skills, no OAuth, no external process. The licence is MIT.

When your agent uses it

  • Saving successful runs
  • Evaluation traces
  • Compact datasets for later QA and fine-tuning analysis

Example prompts

  • “/hermes-traj”

Workflow steps

8 steps, taken from the first numbered list in SKILL.md.

  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.

What it can do on your machine

Read from SKILL.md and the folder at commit 8107e89. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are json).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Hermes Traj loads about 1.6k tokens when it runs. Until then it costs about 57 tokens; SKILL.md has 652 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~57
When it runs · the whole SKILL.md, loaded when a task matches
~1.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from AlexAI-MCP/hermes-CCC at commit 8107e89, republished under its MIT licence (© AlexAI-MCP). 652 words, ~1,574 tokens.

Download SKILL.mdSave it as .claude/skills/hermes-traj/SKILL.md (or your agent's skills folder).
name
hermes-traj
description
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.
version
0.1.0
author
OpenAI Codex
license
MIT
metadata.category
telemetry
metadata.ported_from
NousResearch Hermes Agent
metadata.tags
trajectories, dataset, qa, fine-tuning
metadata.tools
filesystem, json, shell
metadata.maturity
beta

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.
  • 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.
Show full SKILL.md (250 more words)Show less

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.

© AlexAI-MCP, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/hermes-traj of AlexAI-MCP/hermes-CCC.

Open the folder on GitHubat commit 8107e89

Compare with similar skills

Hermes Traj next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Hermes Traj compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Hermes Traj this skillAlexAI-MCP/hermes-CCC135—~1.6kAutomated safety check: PassMIT
Sentence-Transformers Training Routerhuggingface/skills11k1 repos~2.6kAutomated safety check: PassApache-2.0
Train RlOpenPipe/ART11k—~2.4kAutomated safety check: PassApache-2.0
Qwopus27b Rl TrainingR6410418/Jackrong-llm-finetuning-guide1.7k—~830Automated safety check: PassApache-2.0
Dataset Evaluationawslabs/agent-plugins9161 repos~1.3kAutomated safety check: PassApache-2.0
Train SftOpenPipe/ART11k—~2.9kAutomated safety check: PassApache-2.0

Similar skills

  • Official

    Routes a sentence-transformers training task to the right model type and required reference docs and example scripts, covering bi-encoders, rerankers, sparse and multi-vector models.

    11k GitHub starsUsed in 1 repo~2.6k tokens
    AI & LLM EngineeringAuto-check passed
  • Train Rl

    OpenPipe/ART

    RL training reference for the ART framework. An agent skill from OpenPipe/ART.

    11k GitHub stars~2.4k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Qwopus27b Rl Training

    R6410418/Jackrong-llm-finetuning-guide

    Prepare, validate, launch-plan, monitor, resume, and stop configurable Qwopus 27B reinforcement-learning workflows for GRPO or GSPO.

    1.7k GitHub stars~830 tokensUpdated 3 mo ago
    AI & LLM EngineeringAuto-check passed
  • Dataset Evaluation

    awslabs/agent-plugins

    Official

    Validates dataset formatting and quality for SageMaker model fine-tuning (SFT, DPO, or RLVR).

    916 GitHub starsUsed in 1 repo~1.3k tokens
    AI & LLM EngineeringAuto-check passed
  • Train Sft

    OpenPipe/ART

    SFT training reference for the ART framework. An agent skill from OpenPipe/ART.

    11k GitHub stars~2.9k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Fine Tuning With Trl

    Orchestra-Research/AI-Research-SKILLs

    Fine-tune LLMs using reinforcement learning with TRL - SFT for instruction tuning, DPO for preference alignment, PPO/GRPO for reward optimization, and reward model training.

    13k GitHub starsUsed in 6 repos~2.9k tokens
    AI & LLM EngineeringAuto-check passed

More from AlexAI-MCP/hermes-CCC

All 44 skills in this repo
  • GitHub Code Review

    AlexAI-MCP/hermes-CCC

    Review GitHub pull requests with a findings-first engineering mindset.

    135 GitHub stars~1.3k tokensUpdated 6 mo ago
    Auto-check passed
  • GitHub PR Workflow

    AlexAI-MCP/hermes-CCC

    Run a disciplined GitHub pull request workflow from branch creation through merge.

    135 GitHub stars~1.4k tokensUpdated 6 mo ago
    Auto-check passed
  • Hermes Memory

    AlexAI-MCP/hermes-CCC

    Manage durable project memory for Claude Code. An agent skill from AlexAI-MCP/hermes-CCC.

    135 GitHub stars~1.7k tokensUpdated 6 mo ago
    Auto-check passed
  • Hermes Route

    AlexAI-MCP/hermes-CCC

    Route Claude Code work by complexity, risk, and tool needs. An agent skill from AlexAI-MCP/hermes-CCC.

    135 GitHub stars~1.9k tokensUpdated 6 mo ago
    Auto-check passed
  • Hermes Skill

    AlexAI-MCP/hermes-CCC

    Create, improve, inventory, and audit Claude Code skills. An agent skill from AlexAI-MCP/hermes-CCC.

    135 GitHub stars~1.7k tokensUpdated 6 mo ago
    Auto-check passed
  • Subagent Driven Development

    AlexAI-MCP/hermes-CCC

    Decompose Claude Code work into parallel subagent-friendly streams when the environment permits delegation.

    135 GitHub stars~1.6k tokensUpdated 6 mo ago
    Auto-check passed

Questions about Hermes Traj

What does Hermes Traj do?

Capture Claude Code interaction trajectories in training-friendly formats. Hermes Traj is an agent skill from AlexAI-MCP/hermes-CCC. Capture Claude Code interaction trajectories in training-friendly formats.

When should I use Hermes Traj?

Hermes Traj fits situations like: saving successful runs; evaluation traces; compact datasets for later QA and fine-tuning analysis.

How do I install Hermes Traj in Claude Code?

Run `npx skills add AlexAI-MCP/hermes-CCC --skill hermes-traj -a claude-code`. Or copy the skill folder (skills/hermes-traj in AlexAI-MCP/hermes-CCC) into .claude/skills/hermes-traj in your project. Claude Code loads it when a task matches its description.

How do I install Hermes Traj in Codex?

Run `npx skills add AlexAI-MCP/hermes-CCC --skill hermes-traj -a codex`. Or copy the skill folder (skills/hermes-traj in AlexAI-MCP/hermes-CCC) into .agents/skills/hermes-traj in your project. Codex loads it when a task matches its description.

Can I use Hermes Traj in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add AlexAI-MCP/hermes-CCC --skill hermes-traj -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/hermes-traj, .gemini/skills/hermes-traj, .github/skills/hermes-traj and .opencode/skills/hermes-traj in your project.

What does Hermes Traj need to run?

SKILL.md names no scripts, command-line tools or credentials: Hermes Traj is instructions for the agent only.

Does Hermes Traj access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Hermes Traj safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Hermes Traj use?

Hermes Traj is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Hermes Traj use?

About 1.6k tokens (SKILL.md is roughly 6.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Hermes Traj?

Skills that share tags, products or a category with Hermes Traj: Sentence-Transformers Training Router (huggingface/skills, 11k stars), Train Rl (OpenPipe/ART, 11k stars), Qwopus27b Rl Training (R6410418/Jackrong-llm-finetuning-guide, 1.7k stars) and Dataset Evaluation (awslabs/agent-plugins, 916 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Hermes Traj?

AlexAI-MCP (a GitHub user) maintains it in AlexAI-MCP/hermes-CCC, which has 135 GitHub stars. The repository holds 44 skills in this directory. The repository was last updated on April 8, 2026.

Source: AlexAI-MCP/hermes-CCC on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.