Skill creator

From HybridAIOne/hybridclaw · View interactive version

Skill creator is an AI agent skill from the GitHub repository HybridAIOne/hybridclaw. Create and update SKILL.md-based skills with strong trigger metadata, lean docs, and reliable init, validate, package, and publish workflows.

How to use this skill

Skill file

Skill Creator

Build high-quality skills that are clear to trigger, cheap in context, and reliable in execution.

Core Principles

1) Concise is a hard requirement

Assume the model already knows general concepts. Include only information that improves outcomes for this specific skill.

2) Set the right degrees of freedom

Pick guidance strictness by task fragility:

Use low freedom when consistency and safety matter; allow higher freedom when multiple valid approaches exist.

3) Design for progressive disclosure

Skills should load in layers:

  1. Frontmatter name + description (always loaded)
  2. SKILL.md body (loaded on trigger)
  3. references/, scripts/, assets/ (loaded only when needed)

Target sizes:

Anatomy of a Skill

Required:

Recommended:

Optional:

For API-backed skills, prefer deterministic *.cjs scripts that provide an

easy CLI over the external API. The script should own endpoint selection,

methods, payload shaping, URL encoding, write-tier classification, and secret

reference construction, then emit gateway-ready JSON for the model to pass to

tools such as http_request. The model should run the CLI and use its emitted

request objects instead of handcrafting API calls from memory.

What Goes Where

Use this taxonomy to keep skills maintainable:

CLIs for skills that call external services

Keep references one level deep from SKILL.md links. Avoid deep reference chains.

What Not to Include

Do not add process clutter that does not improve runtime behavior, such as:

Keep only files that help another agent execute the task.

Skill Discovery Notes

Many runtimes resolve skills from multiple roots. Document your effective precedence so users know where overrides win.

Common locations:

If precedence differs in your runtime, state the exact order in project docs and keep this skill focused on authoring quality.

To install a skill someone hands you (a folder or a .zip), run hybridclaw skill import <path>. It runs the security scanner before installing. Never unzip or copy it into a skills folder yourself.

Skill Creation Workflow

Follow this sequence unless there is a clear reason to skip a step.

Step 1: Gather concrete usage examples

Identify 3-6 realistic prompts that should trigger the skill.

Ask focused questions, for example:

Step 2: Plan reusable artifacts

For each example, identify repeatable parts and place them in the right resource type.

Examples:

Step 3: Initialize scaffold

Use the initializer for consistent structure:

python3 scripts/init_skill.py <skill-name> --path <skills-dir> --resources scripts,references,assets

For UI metadata, provide deterministic interface values:

python3 scripts/init_skill.py <skill-name> --path <skills-dir> \
  --interface display_name="..." \
  --interface short_description="..." \
  --interface default_prompt="Use $<skill-name> to ..."

Step 4: Implement and refine

  1. Build scripts and references first.
  2. Write SKILL.md as an execution guide, not an essay.
  3. Link to references only where decisions require them.
  4. Delete placeholder/example files that are not used.

Step 5: Validate

Run structural and metadata checks:

python3 scripts/quick_validate.py <path/to/skill>

If UI metadata is used, regenerate and compare:

python3 scripts/generate_openai_yaml.py <path/to/skill>

Step 6: Package and test (if distributing)

Create a .skill archive with path and symlink safety checks:

python3 scripts/package_skill.py <path/to/skill>

Run packaging regression tests:

python3 scripts/test_package_skill.py

Writing Style Guide

Use imperative voice and explicit constraints.

Good:

Weak:

Prefer:

Avoid:

Validation Checklist

Before calling a skill complete, verify:

  1. Frontmatter description clearly states what it does and when to use it.
  2. Skill name uses lowercase skill-id characters (a-z, 0-9, -, .) and

is <= 64 characters.

  1. SKILL.md contains concise workflow guidance and links to deep docs.
  2. Scripts execute successfully on representative inputs.
  3. quick_validate.py passes.
  4. Packaging (if needed) rejects unsafe paths and symlinks.
  5. agents/openai.yaml is present and aligned when UI metadata is required.

Common Mistakes

Review Workflow

Run a second pass focused on execution quality:

  1. Simulate real user prompts.
  2. Check whether the skill triggers correctly.
  3. Confirm instructions are sufficient without hidden assumptions.
  4. Tighten wording where ambiguity causes drift.

Use references/workflows.md and references/output-patterns.md for reusable review patterns and output contracts.

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.