Install
openclaw skills install @nierob-cmd/skill-factoryCreates, evaluates, and improves production-ready Agent Skills for ClawHub. Chooses the simplest architecture for each task, including single skills, references, scripts, routers, and skill families, then validates triggers, portability, security, dependencies, and publication readiness.
openclaw skills install @nierob-cmd/skill-factoryA universal engineering workflow for creating high-quality Agent Skills intended for reuse and publication.
The factory chooses the simplest architecture that reliably solves the requested problem. A router + variants is one option, not the default.
Build the smallest self-contained skill that solves the real task, then validate it as if an unknown user installed it.
Do not add architecture merely because it is available.
Use this skill when the user wants to:
Do not use this as the primary workflow when:
Extract:
Ask only the minimum questions required. If the user explicitly says to proceed, make reasonable assumptions and mark them.
Select one:
Use for one coherent workflow with limited branching.
Use when the core workflow is stable but detailed domain knowledge, examples, schemas, or long instructions would unnecessarily inflate SKILL.md.
Use when deterministic computation, transformation, parsing, validation, or repeatable tool work is better implemented as code.
Use when there are 2–6 clearly distinguishable variants with materially different procedures.
Routing must be based on observable signals such as file type, explicit user intent, operation, domain, or other hard evidence.
Use when multiple independently useful skills share a domain but should remain separately invocable.
Do not force unrelated capabilities into one skill.
Define:
The description is a contract. It must accurately disclose the capability and important trigger conditions. Do not hide major behavior in the body that a user or agent could not reasonably infer from the description.
Keep SKILL.md focused on the information needed during execution.
Prefer:
Avoid:
For a router family, every variant must remain independently understandable and directly invocable.
Use:
references/ for detailed knowledge that is useful but not needed on every invocation;scripts/ for deterministic/repeatable computation or transformations;assets/ only for actual runtime assets.Every supporting file must have a clear purpose and be reachable from SKILL.md.
Before calling the skill publish-ready, create a small realistic evaluation set.
Minimum recommended set:
Positive cases should represent realistic user requests, not trivial keyword matches.
Hard negatives should look plausible but belong to another capability.
For each case determine:
Tune the description and trigger wording against these cases.
Check:
For variant families, additionally verify that each variant can be invoked directly.
Pretend the skill was installed by an unknown user on an unknown compatible environment.
Look for:
Either remove the dependency or document it clearly.
Inspect the complete package for:
Do not silently remove behavior that is essential to the requested capability. Flag it and explain the risk.
Before declaring the skill publish-ready, verify:
SKILL.md;Only then report:
PUBLISH-READY
If a blocker remains, report:
NOT READY
and list the blockers.
When a router architecture is selected:
When improving an existing published skill:
name;When the user asks to build a skill, produce:
Do not claim a skill is publish-ready if the quality gate was not actually checked.
Prefer:
one coherent task → one skill
large knowledge → references
deterministic repeated work → scripts
2–6 materially different modes → router + variants
unrelated capabilities → separate skills
The goal is reliability and reuse, not maximum file count.
For the rationale behind architecture selection, trigger evaluation, progressive disclosure, portability, and publication quality, see:
references/skill-mechanics.md