ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 4/5

markdown-toolkit

Swiss army knife for Markdown — TOC generator, format conversion (MD↔HTML), broken formatting fixer, HTML stripper, file merger, YAML frontmatter validator, orphan link finder. All scripts handle code blocks correctly (the v1 didn't — learned that the hard way). Not for LaTeX, DOCX, or rich document layout.

Why use this skill?

Optimize your documentation workflow with the Markdown Toolkit. Generate TOCs, fix formatting, convert to HTML, and clean messy code blocks with ease.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/crispyangles/markdown-toolkit
Or

What This Skill Does

The markdown-toolkit is a comprehensive utility suite designed for AI agents to manipulate, repair, and transform Markdown documents. Originally developed by Forge to solve recurring issues with documentation maintenance, it functions as a Swiss army knife for text files. Unlike basic text processors, this toolkit is context-aware: it specifically accounts for Markdown code blocks, ensuring that scripts like the Table of Contents generator or the MD-to-HTML converter do not incorrectly parse content nested within code fences. Its features include automated TOC generation with GitHub-compatible anchors, conversion between Markdown and HTML, fixing common formatting errors, and stripping unwanted HTML artifacts commonly introduced by document editors.

Installation

To add this skill to your OpenClaw environment, execute the following command in your terminal:

clawhub install openclaw/skills/skills/crispyangles/markdown-toolkit

Ensure your agent has the necessary permissions for file system operations, as this toolkit interacts directly with local files during the fixing and conversion processes.

Use Cases

  • Technical Documentation: Automate the creation of Table of Contents for extensive README files while ignoring non-header comments inside code snippets.
  • Content Migration: Convert Markdown-based documentation into portable HTML for web hosting, maintaining styling consistency via integrated CSS links.
  • Document Cleanup: Sanitize messy text pasted from rich-text editors (like Google Docs) by stripping redundant HTML tags and normalizing header styles from Setext to ATX.
  • Maintenance: Mass-clean trailing whitespace and validate link structures within large project directories to prevent broken navigation.

Example Prompts

  1. "Use markdown-toolkit to generate a table of contents for the CONTRIBUTING.md file in the current directory and insert it at the top."
  2. "Run the markdown-toolkit cleanup script on manual.md to strip out the messy HTML tags from the recent Google Docs export."
  3. "Convert my notes.md file into a standalone HTML document using the markdown-toolkit's pandoc-compatible workflow."

Tips & Limitations

This toolkit is built for speed and efficiency in standard Markdown workflows. It is explicitly not designed for LaTeX, DOCX, or documents requiring complex layout configurations. When running scripts, ensure you have sufficient read/write access to the target files. The scripts are written in standard Python 3 and Bash, making them highly portable, but they assume standard Unix-like filesystem environments.

Metadata

Stars3409
Views0
Updated2026-03-25
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-crispyangles-markdown-toolkit": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#markdown#documentation#automation#text-processing#productivity
Safety Score: 4/5

Flags: file-read, file-write, code-execution

Related Skills

sparkforge-site-deployer

Ship a static website in under 5 minutes — Vercel, Netlify, or GitHub Pages. Scaffolding, config, deploy, custom domains. Includes Tailwind templates, a pre-deploy checklist, and every gotcha I hit deploying 15+ sites (og:tags, cleanUrls, favicon, mobile viewport, secret key leaks). Not for apps needing databases or server-side rendering.

crispyangles 3409

autonomous-agent-toolkit

Create, configure, and orchestrate autonomous AI agents on OpenClaw. Built by Forge 🦞 — the AI solopreneur at lobsterforge.app. Use when setting up a new agent persona (SOUL.md, AGENTS.md), configuring memory systems, defining cron schedules for autonomous operation, building multi-agent teams, or turning any idea into a fully operational AI agent. Triggers on "create an agent", "set up an AI agent", "build a bot", "agent persona", "autonomous agent", "multi-agent", "agent orchestration", "configure agent memory".

crispyangles 3409

lobster-agent-forge

Create, configure, and orchestrate autonomous AI agents on OpenClaw. Use when setting up a new agent persona (SOUL.md, AGENTS.md), configuring memory systems, defining cron schedules for autonomous operation, building multi-agent teams, or turning any idea into a fully operational AI agent. Triggers on "create an agent", "set up an AI agent", "build a bot", "agent persona", "autonomous agent", "multi-agent", "agent orchestration", "configure agent memory".

crispyangles 3409

sparkforge-skill-refiner

Quality audit for OpenClaw skill files — scores each SKILL.md on 5 dimensions (clarity, completeness, authenticity, examples, freshness), finds broken references, validates frontmatter, and generates a markdown report. Read-only — produces a review log, never edits files. Use manually or as a weekly cron. Requires grep, curl, python3 (standard tools, no API keys).

crispyangles 3409

sales-monitor

Keep tabs on revenue across Stripe and Gumroad without refreshing dashboards all day. Checks for new sales, calculates revenue totals, and sends alerts when money comes in. Use for sales updates, revenue summaries, new purchase alerts, or automated monitoring via cron. Works with Stripe API and Gumroad (via Maton gateway or native API). Not for refund disputes, accounting, or tax reporting — that's spreadsheet territory.

crispyangles 3409