skill-writerWrite high-quality agent skills (SKILL.md files) for ClawdHub/MoltHub. Use when creating a new skill from scratch, structuring skill content, writing effective frontmatter and descriptions, choosing section patterns, or following best practices for agent-consumable technical documentation.
Install via ClawdBot CLI:
clawdbot install gitgoodordietrying/skill-writerWrite well-structured, effective SKILL.md files for the ClawdHub registry. Covers the skill format specification, frontmatter schema, content patterns, example quality, and common anti-patterns.
A skill is a single Markdown file with YAML frontmatter. The agent loads it on demand and follows its instructions.
---
name: my-skill-slug
description: One-sentence description of when to use this skill.
metadata: {"clawdbot":{"emoji":"🔧","requires":{"anyBins":["tool1","tool2"]},"os":["linux","darwin","win32"]}}
---
# Skill Title
One-paragraph summary of what this skill covers.
## When to Use
- Bullet list of trigger scenarios
## Main Content Sections
### Subsection with examples
Code blocks, commands, patterns...
## Tips
- Practical advice bullets
name (required)The skill's slug identifier. Must match what you publish with.
name: my-skill
Rules:
csv-pipeline, git-workflowsnpx molthub@latest search "your-slug"description (required)The single most important field. This is what:
# GOOD: Specific triggers and scope
description: Write Makefiles for any project type. Use when setting up build automation, defining multi-target builds, managing dependencies between tasks, creating project task runners, or using Make for non-C projects (Go, Python, Docker, Node.js). Also covers Just and Task as modern alternatives.
# BAD: Vague, no triggers
description: A skill about Makefiles.
# BAD: Too long (gets truncated in search results)
description: This skill covers everything you need to know about Makefiles including variables, targets, prerequisites, pattern rules, automatic variables, phony targets, conditional logic, multi-directory builds, includes, silent execution, and also covers Just and Task as modern alternatives to Make for projects that use Go, Python, Docker, or Node.js...
Pattern for effective descriptions:
[What it does]. Use when [trigger 1], [trigger 2], [trigger 3]. Also covers [related topic].
metadata (required)JSON object with the clawdbot schema:
metadata: {"clawdbot":{"emoji":"🔧","requires":{"anyBins":["make","just"]},"os":["linux","darwin","win32"]}}
Fields:
emoji: Single emoji displayed in registry listingsrequires.anyBins: Array of CLI tools the skill needs (at least one must be available)os: Array of supported platforms: "linux", "darwin" (macOS), "win32" (Windows)Choose requires.anyBins carefully:
# Good: lists the actual tools the skill's commands use
"requires": {"anyBins": ["docker", "docker-compose"]}
# Bad: lists generic tools every system has
"requires": {"anyBins": ["bash", "echo"]}
# Good for skills that work via multiple tools
"requires": {"anyBins": ["make", "just", "task"]}
Always include this immediately after the title paragraph. It tells the agent (and the user) the specific scenarios where this skill applies.
## When to Use
- Automating build, test, lint, deploy commands
- Defining dependencies between tasks (build before test)
- Creating a project-level task runner
- Replacing long CLI commands with short targets
Rules:
Organize by task, not by concept. The agent needs to find the right command for a specific situation.
## GOOD: Organized by task
## Encode and Decode
### Base64
### URL Encoding
### Hex
## BAD: Organized by abstraction
## Theory of Encoding
## Encoding Types
## Advanced Topics
Every section should have at least one code block. Skills without code blocks are opinions, not tools.
`
## GOOD: Concrete, runnable examplebash
echo -n "Hello, World!" | base64
## BAD: Abstract description
Base64 encoding converts binary data to ASCII text using a 64-character alphabet...`
Code block best practices:
bash, python, javascript, yaml, sql, etc.)foo/bar (use myapp, api-server, real IP formats)If a skill applies across languages, use consistent section structure:
## Hashing
### Bashbash
echo -n "Hello" | sha256sum
### JavaScriptjavascript
const crypto = require('crypto');
crypto.createHash('sha256').update('Hello').digest('hex');
### Pythonpython
import hashlib
hashlib.sha256(b"Hello").hexdigest()
Order: Bash first (most universal), then by popularity for the topic.
End every skill with a Tips section. These are the distilled wisdom — the things that save hours of debugging.
## Tips
- The number one Makefile bug: using spaces instead of tabs for indentation.
- SHA-256 is the standard for integrity checks. MD5 is fine for dedup but broken for cryptographic use.
- Never schedule critical cron jobs between 1:00-3:00 AM if DST applies.
Rules:
For skills about a specific tool or command family.
---
name: tool-name
description: [What tool does]. Use when [scenario 1], [scenario 2].
metadata: {"clawdbot":{"emoji":"🔧","requires":{"anyBins":["tool-name"]}}}
---
# Tool Name
[One paragraph: what it does and why you'd use it.]
## When to Use
- [4-6 scenarios]
## Quick Reference
[Most common commands with examples]
## Common Operations
### [Operation 1]
### [Operation 2]
## Advanced Patterns
### [Pattern 1]
## Troubleshooting
### [Common error and fix]
## Tips
For skills about patterns in a specific language or framework.
---
name: pattern-name
description: [Pattern] in [language/framework]. Use when [scenario 1], [scenario 2].
metadata: {"clawdbot":{"emoji":"📐","requires":{"anyBins":["runtime"]}}}
---
# Pattern Name
## When to Use
## Quick Reference
[Cheat sheet / syntax summary]
## Patterns
### [Pattern 1 — with full example]
### [Pattern 2 — with full example]
## Cross-Language Comparison (if applicable)
## Anti-Patterns
[What NOT to do, with explanation]
## Tips
For skills about multi-step processes.
---
name: workflow-name
description: [Workflow description]. Use when [scenario 1], [scenario 2].
metadata: {"clawdbot":{"emoji":"🔄","requires":{"anyBins":["tool1","tool2"]}}}
---
# Workflow Name
## When to Use
## Prerequisites
[What needs to be set up first]
## Step-by-Step
### Step 1: [Action]
### Step 2: [Action]
### Step 3: [Action]
## Variations
### [Variation for different context]
## Troubleshooting
## Tips
# BAD
## Error Handling
Error handling is important for robust applications. You should always
handle errors properly to prevent unexpected crashes...
# GOOD
## Error Handlingbash
set -euo pipefail
trap 'rm -f "$TMPFILE"' EXIT
# BAD: Only useful for one specific case
---
name: react-useeffect-cleanup
description: How to clean up useEffect hooks in React
---
# GOOD: Broad enough to be a real reference
---
name: react-hooks
description: React hooks patterns. Use when working with useState, useEffect, useCallback, useMemo, custom hooks, or debugging hook-related issues.
---
If any section goes more than 10 lines without a code block, it's too text-heavy. Break it up with examples.
If your skill mentions another tool or concept that has its own skill, note it:
# For Docker networking issues, see the `container-debug` skill.
# For regex syntax details, see the `regex-patterns` skill.
Verify every command works on current tool versions. Common traps:
docker-compose (v1) vs. docker compose (v2)pip vs. pip3, python vs. python3require) vs. ESM (import)| Metric | Target | Too Short | Too Long |
|---|---|---|---|
| Total lines | 300-550 | < 150 | > 700 |
| Sections | 5-10 | < 3 | > 15 |
| Code blocks | 15-40 | < 8 | > 60 |
| Tips | 5-10 | < 3 | > 15 |
A skill under 150 lines probably lacks examples. A skill over 700 lines should be split into two skills.
Before publishing, verify:
TODO, FIXME, example.com used as real URLsnpx molthub@latest search "your-slug" returns no exact matchrequires.anyBins lists real dependencies — tools the skill's commands actually invoke# Publish a new skill
npx molthub@latest publish ./skills/my-skill \
--slug my-skill \
--name "My Skill" \
--version 1.0.0 \
--changelog "Initial release"
# Update an existing skill
npx molthub@latest publish ./skills/my-skill \
--slug my-skill \
--name "My Skill" \
--version 1.1.0 \
--changelog "Added new section on X"
# Verify it's published
npx molthub@latest search "my-skill"
description field is your skill's search ranking. Spend more time on it than any single content section. Include the specific verbs and nouns users would search for.bash code blocks for commands, even in language-specific skills. The agent often operates via shell, and bash blocks signal "run this."--help already provides. Focus on patterns, combinations, and the non-obvious things that --help doesn't teach.Generated Mar 1, 2026
A development team at a tech startup needs to create standardized skill documentation for their internal tools and workflows. Using Skill Writer, they can quickly generate SKILL.md files that ensure consistency across all team members, making it easier for new hires to understand and use the tools. This reduces onboarding time and improves collaboration by providing clear, agent-consumable instructions.
A DevOps engineer in a cloud services company wants to automate the creation of skills for CI/CD pipelines, infrastructure as code, and monitoring tools. Skill Writer helps structure these skills with precise frontmatter and code examples, enabling agents to execute commands reliably. This enhances automation efficiency and reduces manual errors in deployment processes.
Maintainers of an open-source project on platforms like GitHub need to document their project's usage and contribution guidelines as skills for community members. Skill Writer assists in crafting well-organized SKILL.md files with clear triggers and examples, making the project more accessible and easier to contribute to. This fosters community engagement and project growth.
Instructors at a coding bootcamp are developing interactive learning materials that include hands-on exercises and command-line tutorials. Skill Writer enables them to create structured skills with step-by-step instructions and code blocks, helping students practice real-world scenarios. This improves learning outcomes by providing actionable, agent-friendly documentation.
An IT support team in a large corporation aims to build a knowledge base of troubleshooting skills for common issues like network diagnostics or software installations. Skill Writer helps format these skills with specific triggers and practical examples, allowing agents to quickly resolve user problems. This reduces support ticket resolution times and increases team productivity.
Offer Skill Writer as a free tool for basic skill creation, with premium features like advanced templates, collaboration tools, and analytics for skill usage. Revenue is generated through subscription tiers for teams and enterprises, targeting developers and organizations needing scalable documentation solutions. This model encourages adoption while monetizing value-added services.
Sell Skill Writer as a licensed software package to large companies for internal use, with custom integrations, dedicated support, and training services. Revenue comes from one-time license fees or annual contracts, focusing on industries like finance or healthcare with strict compliance needs. This model provides stable income and long-term client relationships.
Operate a marketplace where users can publish and sell their skills, with Skill Writer as the creation tool. Revenue is generated through transaction fees on sales and affiliate commissions from promoting related tools or platforms. This model leverages community content creation and drives ecosystem growth around agent skills.
💬 Integration Tip
Integrate Skill Writer with existing CI/CD tools or documentation platforms to automate skill generation and updates, ensuring skills stay current with project changes.
Write persuasive copy for landing pages, emails, ads, sales pages, and marketing materials. Use when you need to write headlines, CTAs, product descriptions, ad copy, email sequences, or any text meant to drive action. Covers copywriting formulas (AIDA, PAS, FAB), headline writing, emotional triggers, objection handling in copy, and A/B testing. Trigger on "write copy", "copywriting", "landing page copy", "headline", "write a sales page", "ad copy", "email copy", "persuasive writing", "how to write [marketing text]".
Write compelling UX copy, marketing content, and product messaging. Use when writing button labels, error messages, landing pages, emails, CTAs, empty states, tooltips, or any user-facing text.
Use when you have a spec or requirements for a multi-step task, before touching code
You are a Writing Team Lead managing specialized writers via MCP tools. Please ANALYZE the writing task and then:1. if exist references, create a detailed co...
Creates high-quality, SEO-optimized content that ranks in search engines. Applies on-page SEO best practices, keyword optimization, and content structure for...
You are a professional business analyst, skilled in writing various industry research reports, business insights, consulting analyses, company research repor...