skills$openclaw/publisher
tunaissacoding1.9kā˜…

by tunaissacoding

publisher – OpenClaw Skill

publisher is an OpenClaw Skills integration for writing workflows. Make your skills easy to understand and impossible to ignore

1.9k stars10.0k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026writing

Skill Snapshot

namepublisher
descriptionMake your skills easy to understand and impossible to ignore OpenClaw Skills integration.
ownertunaissacoding
repositorytunaissacoding/publisher
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @tunaissacoding/publisher
last updatedFeb 7, 2026

Maintainer

tunaissacoding

tunaissacoding

Maintains publisher in the OpenClaw Skills directory.

View GitHub profile
File Explorer
5 files
.
scripts
publish.sh
6.7 KB
_meta.json
456 B
README.md
6.8 KB
SKILL.md
4.5 KB
SKILL.md

name: publisher description: Make your skills easy to understand and impossible to ignore

publisher

Professional documentation and publishing for Clawdbot skills

Generate adoption-optimized READMEs and publish to GitHub + ClawdHub with one command.


āš ļø Requirements

  • bash
  • jq (for JSON parsing)
  • gh CLI (GitHub operations)
  • clawdhub CLI (publishing)
  • git

šŸ“‹ What It Does

Automates the complete publishing workflow:

Documentation Generation

  1. Reads your SKILL.md to understand what the skill does
  2. Generates 3 one-liner options using proven patterns
  3. Creates a README following GitHub best practices:
    • Problem/solution upfront
    • Inverted pyramid structure
    • Emoji headers for scannability
    • Bold outcomes
    • Under 15% text highlighting
  4. Updates SKILL.md frontmatter with chosen description

Publishing

  1. Creates GitHub repository (if doesn't exist)
  2. Pushes code to GitHub
  3. Publishes to ClawdHub with auto-detected version

šŸš€ Installation

clawdhub install skill-publisher

šŸ’” Usage

cd ~/clawd/skills/your-skill
skill-publisher

The script will:

  1. Show 3 one-liner options (choose or write your own)
  2. Generate README preview
  3. Ask for approval
  4. Publish to GitHub + ClawdHub

šŸŽÆ One-Liner Generation Patterns

The tool generates options using three proven patterns:

Pattern A: Continuous Benefit

Keep [thing] [desired state] [timeframe]

Example: "Keep your Claude access token fresh 24/7"

Pattern B: Elimination

[Do thing] without [pain point]

Example: "Build cross-device tools without hardcoding paths"

Pattern C: Automation

Automatically [action] [thing] [when]

Example: "Automatically refresh tokens before they expire"


šŸ“š README Structure Generated

Follows the framework from GitHub's documentation best practices:

Essential Sections (above the fold)

  • Title + subtitle
  • The problem: (1 sentence)
  • This tool: (1 sentence)
  • šŸ“‹ Requirements
  • ⚔ What It Does (outcome first, then features)
  • šŸš€ Installation
  • šŸ”§ How It Works (result first, then process)

Optional Sections (collapsible)

  • Configuration options
  • Troubleshooting
  • For Developers
  • Implementation details

šŸ”§ How It Works

Phase 1: Analysis

  • Reads SKILL.md frontmatter (if exists)
  • Extracts key information: name, description, requirements
  • Parses scripts for dependencies

Phase 2: One-Liner Generation

Analyzes your SKILL.md description and generates 3 options:

  • Pattern A: Continuous benefit format
  • Pattern B: Pain point elimination format
  • Pattern C: Automation format

Shows you all 3, lets you choose or write custom.

Phase 3: README Generation

Uses the template from ~/clawd/templates/README-template.md:

  • Fills in title, problem, solution
  • Extracts requirements from SKILL.md
  • Generates "What It Does" from description
  • Creates installation steps
  • Builds "How It Works" with examples

Phase 4: Publishing

  1. Checks for gh CLI (guides setup if missing)
  2. Reads VERSION file for version number
  3. Creates GitHub repo (using gh repo create)
  4. Commits and pushes all files
  5. Publishes to ClawdHub with clawdhub publish

šŸ“ File Structure Expected

your-skill/
ā”œā”€ā”€ SKILL.md           # Required: skill description
ā”œā”€ā”€ VERSION            # Required: version number (e.g., "1.0.0")
ā”œā”€ā”€ scripts/           # Optional: your scripts
│   └── main.sh
ā”œā”€ā”€ README.md          # Generated by this tool
└── .gitignore         # Optional

āš™ļø Configuration

No configuration needed. The tool auto-detects everything from:

  • SKILL.md (name, description, requirements)
  • VERSION (version number)
  • scripts/ (code examples, dependencies)

šŸ› Troubleshooting

"gh: command not found"

Install GitHub CLI:

brew install gh
gh auth login

"SKILL.md not found"

Create a minimal SKILL.md:

---
name: your-skill
description: Brief description of what it does
---

# your-skill

More details about your skill here.

"VERSION file not found"

Create a VERSION file:

echo "1.0.0" > VERSION

šŸ“– References


License

MIT

README.md

publisher

Make your skills easy to understand and impossible to ignore.

The problem: Your skills get lost in the noise because people don't understand what they do or why they matter.

This tool: Generates clear, compelling descriptions that make people want to download your skills, then publishes everywhere with one command.


šŸ“‹ Requirements

  • bash
  • jq (brew install jq)
  • gh CLI (brew install gh)
  • clawdhub CLI (npm install -g clawdhub)
  • git

⚔ What It Does

Your skills become easy to understand and impossible to ignore.

The tool:

  • Generates compelling one-liners that explain your skill's value
  • Creates clear, scannable descriptions following proven patterns
  • Makes installation and setup obvious
  • Publishes to GitHub and ClawdHub automatically

One command turns technical skills into must-have tools.


šŸš€ Installation

clawdhub install publisher

First-Time Setup

Requirements:

# Install dependencies
brew install jq gh
npm install -g clawdhub

# Authenticate GitHub CLI
gh auth login

That's it! The tool handles the rest.

What Happens

The installation:

  • Adds the skill-publisher command to your PATH
  • Validates all dependencies are installed
  • Checks GitHub authentication

šŸ”§ How It Works

Result: People understand your skill's value immediately and want to download it.

The process:

  1. Analyzes your SKILL.md to extract the core value proposition
  2. Generates 3 one-liner options using proven patterns:
    • Pattern A: Continuous benefit ("Keep X fresh 24/7")
    • Pattern B: Elimination ("Do X without Y")
    • Pattern C: Automation ("Automatically X when Y")
  3. Creates clear descriptions that explain:
    • What problem it solves (the WHY)
    • What it does (the outcome)
    • How to install (the steps)
    • How it works (the process)
  4. Publishes to GitHub (creates repo if needed)
  5. Publishes to ClawdHub with version from VERSION file

Smart workflow:

  • Detects existing GitHub repos (won't duplicate)
  • Asks for approval before overwriting README
  • Auto-detects version from VERSION file
  • Handles git initialization if needed

Example:

cd ~/clawd/skills/my-skill
publisher

Output:

šŸ“ Generating one-liner options...

A) Keep your thing updated automatically 24/7
B) Update things without manual intervention
C) Automatically sync data when changes occur

Choose one-liner (A/B/C/D): A

āœ… Chosen: Keep your thing updated automatically 24/7
šŸ“„ Generating README.md...
šŸ“¤ Publish to GitHub and ClawdHub? (y/n): y

šŸ™ Creating GitHub repository...
āœ… Published successfully!

šŸ“ GitHub: https://github.com/user/my-skill
šŸ“ ClawdHub: https://clawdhub.com/skills/my-skill


šŸ“š Additional Information

Everything below is optional. The skill works out-of-the-box for most users.

This section contains:

  • One-liner generation patterns
  • README structure details
  • File structure requirements
  • Troubleshooting

You don't need to read this for initial use.


<details> <summary><b>One-Liner Generation Patterns</b></summary> <br>

The tool generates 3 options using proven patterns:

Pattern A: Continuous Benefit

Keep [thing] [desired state] [timeframe]

Examples:

  • "Keep your Claude access token fresh 24/7"
  • "Keep your backups synced automatically"
  • "Keep dependencies up to date daily"

Pattern B: Elimination

[Do thing] without [pain point]

Examples:

  • "Build cross-device tools without hardcoding paths"
  • "Deploy skills without manual git commands"
  • "Test code without manual setup"

Pattern C: Automation

Automatically [action] [thing] [when]

Examples:

  • "Automatically refresh tokens before expiry"
  • "Automatically backup workspace daily"
  • "Automatically update skills on schedule"

Validation (good one-liners have):

  • āœ… Specific (not generic)
  • āœ… Benefit-focused (what it does FOR YOU)
  • āœ… Outcome-oriented (the result you get)
  • āœ… User-focused (not technical jargon)
</details> <details> <summary><b>README Structure Generated</b></summary> <br>

Follows GitHub's documentation best practices:

Essential Sections

  • Title + subtitle
  • The problem: (explains pain point)
  • This tool: (how it solves it)
  • ⚔ What It Does (value proposition first)
  • šŸ› ļø Getting Ready (OS + Homebrew installs + external tools)
  • šŸš€ Installation (the skill itself + verification)
  • šŸ”§ How It Works (result → process)

Optional Sections (collapsible)

  • Configuration options
  • Troubleshooting
  • For Developers
  • For Developers

Key features:

  • Inverted pyramid (conclusion first)
  • Bold outcomes for scannability
  • One idea per bullet
  • Under 15% text highlighting
  • Emojis for visual hierarchy
</details> <details> <summary><b>File Structure Required</b></summary> <br>

Your skill directory should have:

your-skill/
ā”œā”€ā”€ SKILL.md           # Required: with frontmatter
ā”œā”€ā”€ VERSION            # Required: semantic version
ā”œā”€ā”€ scripts/           # Optional: your code
│   └── main.sh
ā”œā”€ā”€ README.md          # Generated by this tool
└── .gitignore         # Optional

SKILL.md frontmatter:

---
name: your-skill
description: Brief description here
---

VERSION file:

1.0.0
</details> <details> <summary><b>Troubleshooting</b></summary> <br>

"gh: command not found"

Install and authenticate GitHub CLI:

brew install gh
gh auth login

"Permission denied (publickey)"

GitHub authentication failed.

Re-run:

gh auth refresh -s repo

"SKILL.md not found"

Create a SKILL.md with frontmatter:

---
name: my-skill
description: What it does
---

# my-skill

Longer description here.

"VERSION file not found"

Create a VERSION file:

echo "1.0.0" > VERSION

"Repository already exists"

If the repo exists on GitHub but not locally:

gh repo clone username/skill-name
cd skill-name
skill-publisher
</details> <details> <summary><b>For Developers</b></summary> <br>

Architecture

Phase 1: Analysis

  • Parses SKILL.md frontmatter (YAML)
  • Extracts name, description
  • Reads VERSION file

Phase 2: One-Liner Generation

  • Applies 3 pattern formulas
  • Lets user choose or write custom
  • Updates SKILL.md frontmatter

Phase 3: README Generation

  • Uses template structure
  • Fills in skill-specific content
  • Validates formatting (emojis, bold, structure)

Phase 4: Publishing

  • Checks for existing GitHub repo
  • Creates repo if needed (via gh)
  • Pushes code
  • Publishes to ClawdHub (via clawdhub)

Future Enhancements (v1.1.0+)

  • Full README generation from SKILL.md
  • LLM-powered one-liner generation
  • Automatic changelog generation
  • Multiple platform support (npm, etc.)
</details>

License

MIT

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

- bash - `jq` (for JSON parsing) - `gh` CLI (GitHub operations) - `clawdhub` CLI (publishing) - git ---

Configuration

No configuration needed. The tool auto-detects everything from: - `SKILL.md` (name, description, requirements) - `VERSION` (version number) - `scripts/` (code examples, dependencies) ---

FAQ

How do I install publisher?

Run openclaw add @tunaissacoding/publisher in your terminal. This installs publisher into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/tunaissacoding/publisher. Review commits and README documentation before installing.