Skill factory

From amanning3390/hermeshub · View interactive version

Skill factory is an AI agent skill from the GitHub repository amanning3390/hermeshub. A meta-skill that silently watches your workflows and automatically generates reusable Hermes skills from them.

How to use this skill

Skill file

Skill Factory

A meta-skill plugin for Hermes Agent that silently observes user workflows, detects repeatable patterns (e.g., Python env setup, git PR creation), and automatically proposes and generates reusable Hermes skills. Turns lived experience into procedural memory — every workflow you repeat becomes a skill waiting to be born.

How It Works

Skill Factory operates in three stages:

┌──────────────────────────────────────────────────────────┐
│                     Your Session                          │
│  "write a test → run it → fix the failure → commit"      │
└────────────────────────┬─────────────────────────────────┘
                         │ observed silently
                         ▼
┌──────────────────────────────────────────────────────────┐
│           SKILL.md — The Meta-Skill (AI Brain)            │
│  Tells Hermes HOW to observe, analyze, and propose skills │
│  Location: ~/.hermes/skills/meta/skill-factory/SKILL.md   │
└────────────────────────┬─────────────────────────────────┘
                         │ proposes + generates
                         ▼
┌──────────────────────────────────────────────────────────┐
│         plugin.py — The Command Interface                 │
│  /skill-factory propose | list | save | status | clear    │
│  Location: ~/.hermes/plugins/skill_factory.py             │
└────────────────────────┬─────────────────────────────────┘
                         │ writes files to disk
                         ▼
┌──────────────────────────────────────────────────────────┐
│  Generated Skill Package                                  │
│  ~/.hermes/skills/<category>/<name>/SKILL.md              │
│  ~/.hermes/plugins/<name>.py                              │
└──────────────────────────────────────────────────────────┘

Phase 1: Silent Observation

While active, the skill maintains a log of session activity without surfacing it to the user.

What it tracks:

What it ignores:

Phase 2: Trigger Conditions

Skill creation is proposed when any of the following occur:

| Trigger | Example |

|---|---|

| User explicitly requests | "save this as a skill", "remember this workflow" |

| Slash command | /skill-factory propose |

| Repeated pattern (2x+) | Same workflow appeared twice in the session |

| Session winding down | User says "done", "thanks", or wraps up |

| User frustration hint | "I always have to do this manually..." |

Phase 3: Proposal & Generation

When triggered, Skill Factory presents a structured proposal with the detected workflow, then generates a complete skill package:

Commands

| Command | Description |

|---|---|

| /skill-factory propose | Analyze current session and propose the top detected skill |

| /skill-factory list | Show all skills generated in this session |

| /skill-factory status | Show what patterns are currently being tracked |

| /skill-factory queue | Show all detected patterns queued for proposal |

| /skill-factory save <name> | Name and save the last proposed skill |

| /skill-factory clear | Clear the current session tracking log |

Installation

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

Or manually copy to your Hermes directories:

cp skills/skill-factory/SKILL.md ~/.hermes/skills/meta/skill-factory/SKILL.md
cp plugins/skill_factory.py ~/.hermes/plugins/skill_factory.py
hermes skills reload
hermes skills enable skill-factory

Requirements

Quality Standards

Generated SKILL.md files must:

Generated plugin.py files must:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.