技能 Factory
- 作者仓库星标 191
- 许可证 MIT
- 作者仓库 hermeshub
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:
- Repeated actions — any command, sequence, or approach used more than once
- Multi-step workflows — sequences of 3+ steps that accomplish a coherent goal
- Tool combinations — two or more tools used together in a consistent pattern
- Domain patterns — how the user approaches problems specific to their domain
- Fixes and workarounds — recurring debugging patterns or solutions
What it ignores:
- One-off tasks with no reuse potential
- Trivial single-step actions
- Workflows already handled by existing Hermes skills
- Highly context-specific tasks that won't generalize
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:
- SKILL.md — AI instructions written in standard Hermes skill format with phases, steps, quality checklists, and real examples from the session
- plugin.py — A slash command that triggers the workflow directly, with hooks and tool registrations scaffolded from the detected pattern
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
- Hermes Agent v2026.3+
- Python 3.10+
- No external dependencies
Quality Standards
Generated SKILL.md files must:
- Be actionable with concrete steps, not vague guidance
- Include at least one real example from the triggering session
- Define clear trigger conditions
- Stay under 600 lines
- Capture the reasoning behind each step, not just the mechanics
Generated plugin.py files must:
- Include a docstring with install and usage instructions
- Register at minimum one slash command
- Handle errors gracefully
- Be idiomatic Python with type hints and async/await
- 流狐分类
- 通用 · meta · automation · skills
- 作者声明 Agent
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 100 / 100 · 启发式扫描,不代表运行安全
- 作者 / 版本 / 许可
- @amanning3390 · v1.0.0 · MIT
- 流狐 Token 估算
- 低消耗
- 流狐接入估算
- 即装即用
- 是否需要外部 API Key
- 未发现要求
- 检测到的系统要求
- 未声明
- 底层运行要求
- Python >=3.10
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- 检测到的网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
作者没有在当前 SKILL.md 中定义固定输出样例。 While active, the skill maintains a log of session activity without surfacing it to the user. What it tracks: Repeated actions — any command, sequence, or approach used more than once
Skill creation is proposed when any of the following occur: Trigger · Example User explicitly requests · "save this as a skill", "remember this workflow"
When triggered, Skill Factory presents a structured proposal with the detected workflow, then generates a complete skill package: SKILL.md — AI instructions written in standard Hermes skill format with phases, steps, quality checklists, and real examples from…
# 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 │
└──────────────────────────────────────────────────────────┘
```
… 作者原文负责流程事实;流狐只索引当前章节、要点、文件与命令。
章节 -> How It Works → Phase 1: Silent Observation → Phase 2: Trigger Conditions → Phase 3: Proposal & Generation → Commands → Installation
要点 -> What it tracks · What it ignores · SKILL.md · plugin.py
文件/命令 -> /skill-factory propose · /skill-factory list · /skill-factory status · /skill-factory queue · /skill-factory save <name> · /skill-factory clear
内容 SHA-256 -> 8175b10c05c7
方法与流程
适用与边界
原文中的明确线索
/skill-factory propose、/skill-factory list、/skill-factory status、/skill-factory queue、/skill-factory save <name>、/skill-factory clear