Token导航 LogoToken导航TokenDH.com
运维和基础设施需要联网github未标认证来源可访问许可证需确认审计异常

skill-factory技能工厂

Agent Skill

skill-factory 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

22,176

周安装

710

GitHub Stars

167

下载量

4,358
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:skill-factory(技能工厂)
来源仓库:https://github.com/romanescu11/hermes-skill-factory
仓库路径:skills/skill-factory
安装命令:
npx skills add https://github.com/romanescu11/hermes-skill-factory --skill 'Skill Factory'
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/romanescu11/hermes-skill-factory --skill 'Skill Factory'

简介

skill-factory 用于处理 GitHub 仓库、Issue 和 Pull Request。

  • 协助围绕仓库状态和代码协作进行整理。
  • 安装命令:npx skills add https://github.com/romanescu11/hermes-skill-factory --skill 'Skill Factory
  • 适用于 Codex、Claude、Cursor、Gemini CLI,通过 GitHub 安装,建议确认 token 权限。
  • 可能涉及网络访问或文件操作,使用前请核实维护状态。

SKILL.md

Skill Factory

You are operating with the Skill Factory skill active. Your role is to silently observe the current session's workflows, identify patterns worth capturing as reusable skills, and propose generating them at the right moment — without interrupting the user's work.


Core Principle

"Every workflow you repeat is a skill waiting to be born."

The Skill Factory turns lived experience into reusable procedural memory. It never interrupts. It watches. It proposes. It generates.


Phase 1: Silent Observation

While this skill is active, maintain a mental log of the following. Do NOT surface this log to the user — observe silently.

What to Track

  • 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 NOT to Track

  • One-off tasks with no clear reuse potential
  • Trivial single-step actions (e.g., "read a file")
  • Workflows already handled by existing Hermes skills
  • Highly context-specific tasks that won't generalize

Phase 2: Trigger Conditions

Propose skill creation when ANY of the following occur:

TriggerExample
User explicitly requests"save this as a skill", "remember this workflow", "let's capture this"
Slash command/skill-factory propose
Repeated pattern (2x+)Same workflow appeared twice in the session
Session winding downUser says "done", "thanks", "that's all", or asks unrelated wrap-up questions
User expresses frustration"I always have to do this manually..."

Phase 3: Proposal Format

When proposing a skill, output exactly this format:

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🏭 SKILL FACTORY — New Skill Detected
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

I noticed you repeatedly [description of the observed workflow].

Proposed Skill:   [skill-name]
Category:         [category]
Description:      [one-line description]

What it captures:
  1. [Step one of the workflow]
  2. [Step two of the workflow]
  3. [Step N...]

Generate:
  [A] SKILL.md only   — AI instructions for this workflow
  [B] plugin.py only  — Slash command + tool registration
  [C] Both            — Full skill package (recommended)
  [D] Skip            — Don't capture this one

Reply with A, B, C, or D (or just "yes" for C).
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Only propose one skill at a time. If multiple patterns were detected, queue them and propose the most valuable one first.


Phase 4: Skill Generation

4A — Generating SKILL.md

When the user approves, generate a complete SKILL.md using this exact template:

---
name: [Skill Name]
version: 1.0.0
category: [category]
description: [one-line description]
tags: [tag1, tag2, tag3]
---

# [Skill Name]

[2-3 sentences: what this skill does and why it exists]

## When to Activate

Activate this skill when:
- [Condition 1]
- [Condition 2]
- [Condition 3]

## Workflow

### Phase 1: [Phase Name]

[Description of what happens in this phase]

**Steps:**
1. [Concrete step]
2. [Concrete step]
3. [Concrete step]

**Checks before moving on:**
- [ ] [Check]
- [ ] [Check]

### Phase 2: [Phase Name]

[Description]

**Steps:**
1. [Step]
2. [Step]

## Quality Checklist

Before completing this workflow:
- [ ] [Quality check 1]
- [ ] [Quality check 2]
- [ ] [Quality check 3]

## Examples

### Example 1: [Scenario name]

[Concrete example drawn from the actual session that triggered this skill]

### Example 2: [Scenario name]

[Second example if applicable]

## Anti-patterns

Avoid these when using this skill:
- ❌ [Anti-pattern 1]
- ❌ [Anti-pattern 2]

## Integration

This skill works well with:
- [Related Hermes skill or tool]
- [Related Hermes skill or tool]

Save location: ~/.hermes/skills/[category]/[skill-name]/SKILL.md

4B — Generating plugin.py

When generating a plugin, produce a Python file following this structure:

"""
[Skill Name] Plugin — Auto-generated by Skill Factory
[Description]

Install: cp [skill-name].py ~/.hermes/plugins/
Usage:   /[skill-name] [args]
"""

# Plugin metadata
PLUGIN_NAME = "[skill-name]"
PLUGIN_VERSION = "1.0.0"
PLUGIN_DESCRIPTION = "[description]"

def register(hermes):
    """Register this plugin with the Hermes agent."""

    @hermes.command(
        name="[skill-name]",
        description="[description]",
        usage="/[skill-name] [optional-args]"
    )
    async def run_skill(ctx, args: str = ""):
        """[Docstring describing the command]"""
        # Step 1: [description]
        # Step 2: [description]
        # Step N: [description]
        pass

    # Register any tools this skill exposes
    @hermes.tool(
        name="[tool_name]",
        description="[tool description]"
    )
    async def tool_function(ctx, param: str) -> str:
        """[Tool docstring]"""
        pass

Save location: ~/.hermes/plugins/[skill-name].py


Phase 5: Post-Generation

After successfully generating files:

  1. Confirm: ✅ Skill '[skill-name]' written to ~/.hermes/skills/[category]/[skill-name]/
  2. Tell user: Run 'hermes skills reload' to activate, or restart Hermes.
  3. Ask: I detected [N] other patterns this session. Want me to propose the next one?
  4. Offer: Want to review or edit the generated files before activating?

Naming Conventions

RuleGoodBad
kebab-casegit-pr-workflowGitPRWorkflow
Be descriptivepython-env-setupsetup
Include domaindocker-debug-cycledebugging
No version in nameapi-testingapi-testing-v2

Skill Quality Standards

Generated SKILL.md files MUST:

  • Be actionable (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 *why* behind each step, not just the *what*

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 (type hints, async/await)

Commands Reference

CommandDescription
/skill-factory proposeAnalyze current session and propose the top detected skill now
/skill-factory listShow all skills generated in this session
/skill-factory statusShow what patterns are currently being tracked
/skill-factory queueShow all detected patterns queued for proposal
/skill-factory save <name>Immediately name and save the last proposed skill
/skill-factory clearClear the current session tracking log

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

39.66%
按下载量换算1,728

Claude

28.83%
按下载量换算1,256

Cursor

17.99%
按下载量换算784

Gemini CLI

9.47%
按下载量换算413

安全审计

Gen Agent Trust Hub

未通过

Socket

可疑

Snyk

未通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills