hermes-skill-factory

A meta-skill plugin for Nous Research's Hermes AI agent that watches your workflows and automatically turns them into reusable skills. Every time you work with Hermes and solve something β€” setting up a project, debugging code, creating a PR β€” that workflow disappears at the end of the session. You have to explain it again next time.

β˜… 39 Python Updated 3/18/2026
View on GitHub β†’

🏭 Skill Factory

The meta-skill that creates skills. Your AI watches your workflows and turns them into reusable Hermes skills β€” automatically.

Built for Nous Research's Hermes Agent (v2026.3+).


What It Does

Every time you solve a problem with Hermes, you're performing a workflow worth repeating. Skill Factory watches silently, detects patterns, and at the right moment asks:

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🏭 SKILL FACTORY β€” New Skill Detected
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

I noticed you repeatedly set up a Python environment,
installed dependencies, and ran tests in the same order.

Proposed Skill:   python-env-setup
Category:         software-development
Description:      Reproducible Python project setup workflow

What it captures:
  1. Create venv and activate
  2. Upgrade pip and install dependencies
  3. Run pytest to verify environment

Generate: [A] SKILL.md  [B] plugin.py  [C] Both  [D] Skip
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Say C and it writes both files immediately:


Installation

Requirements: Hermes Agent v2026.3+

git clone https://github.com/your-username/hermes-skill-factory
cd hermes-skill-factory
bash install.sh

Or manually:

# Install the meta-skill
mkdir -p ~/.hermes/skills/meta/skill-factory
cp skills/skill-factory/SKILL.md ~/.hermes/skills/meta/skill-factory/

# Install the plugin
cp plugins/skill_factory.py ~/.hermes/plugins/

Then activate:

hermes skills reload
hermes skills enable skill-factory

Usage

Once installed, Skill Factory runs in the background during every session.

Command What it does
/skill-factory propose Analyze the session and propose the top detected skill now
/skill-factory list List all skills generated this session
/skill-factory status Show how many patterns are being tracked
/skill-factory queue Show all detected patterns queued for proposal
/skill-factory save <name> Save the last proposal with a custom name
/skill-factory clear Clear the current session log

Tip: You can also just tell Hermes naturally:


What Gets Generated

SKILL.md

A complete skill definition following Hermes' native skill format:

---
name: Python Env Setup
category: software-development
description: Reproducible Python project setup
tags: [python, venv, testing]
---

# Python Env Setup

## When to Activate
...

## Workflow
### Phase 1: Environment
1. python -m venv .venv
2. source .venv/bin/activate
...

## Examples
...

plugin.py

A scaffolded Hermes plugin with a slash command:

def register(hermes):
    @hermes.command(name="python-env-setup", ...)
    async def run_skill(ctx, args=""):
        # Step 1: Create venv
        # Step 2: Install deps
        # Step 3: Run tests
        ...

Repo Structure

hermes-skill-factory/
β”œβ”€β”€ skills/
β”‚   └── skill-factory/
β”‚       └── SKILL.md          # The meta-skill (core AI instructions)
β”œβ”€β”€ plugins/
β”‚   └── skill_factory.py      # Plugin: /skill-factory commands
β”œβ”€β”€ templates/
β”‚   β”œβ”€β”€ SKILL_TEMPLATE.md     # Template for generated skills
β”‚   └── PLUGIN_TEMPLATE.py    # Template for generated plugins
β”œβ”€β”€ examples/
β”‚   └── generated/
β”‚       └── git-pr-workflow/  # Example of a Skill Factory output
β”‚           └── SKILL.md
β”œβ”€β”€ docs/
β”‚   └── how-it-works.md       # Architecture deep-dive
└── install.sh                # One-command installer

How It Works

See docs/how-it-works.md for a full breakdown.

TL;DR:

  1. SKILL.md teaches the Hermes AI how to observe, detect, and propose skills
  2. skill_factory.py provides the /skill-factory commands and file generation
  3. You work normally β€” Skill Factory watches silently and proposes at the right moment

Examples

The examples/generated/ directory contains real example outputs from Skill Factory:


Contributing

PRs welcome. If you've generated a great skill using Skill Factory, consider adding it to examples/generated/ with a PR.


License

MIT