← Back to Skills Marketplace
darbling

Slug Generator

by darbling · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
60
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install slug-generator
Description
Generate URL-friendly slugs from text. 将任意文本转换为SEO友好的URL别名,支持中英文混合、自动去除特殊字符。适合博客、电商、CMS系统。URL slug maker, permalink generator, URL safe string.
Usage Guidance
This skill appears safe and coherent for local use: it runs only a contained Python script and doesn't access network or secrets. Before using in production, note functional issues (incomplete hard-coded PINYIN_MAP, characters not in the map are dropped, and the CLI flag names in SKILL.md don't exactly match the script: use --upper or --title rather than --uppercase). If you need robust Chinese->pinyin conversion or full Unicode normalization, consider replacing the hand-rolled map with a maintained pinyin library and add tests for edge cases.
Capability Analysis
Type: OpenClaw Skill Name: slug-generator Version: 1.0.0 The skill bundle is a straightforward utility for generating URL-friendly slugs from text, including basic Chinese-to-pinyin conversion. The Python script (scripts/slug.py) uses standard libraries for string manipulation and regex processing without any network access, file system interaction, or sensitive data exposure. No malicious intent or prompt injection risks were identified.
Capability Assessment
Purpose & Capability
Name/description match the included code and runtime instructions. The Python script implements slug generation (including a hard-coded Chinese->pinyin map) and the SKILL.md shows examples consistent with that purpose.
Instruction Scope
Instructions are limited to running the local script and contain no file-system, network, or credential access. Minor documentation/flag mismatch: SKILL.md examples use '--uppercase' while the script accepts '--upper' and '--title'. Also the script's to_pinyin behavior drops characters not in the hard-coded map (functional limitation, not a security issue).
Install Mechanism
No install spec and no remote downloads. This is an instruction-only skill with a small bundled script, so nothing is written to disk beyond the included file.
Credentials
The skill requires no environment variables, credentials, or config paths — proportional to its stated purpose.
Persistence & Privilege
always is false and the skill does not attempt to persist configuration or modify other skills or system settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install slug-generator
  3. After installation, invoke the skill by name or use /slug-generator
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of Slug Generator. - Generate URL-friendly slugs from text, supporting both Chinese (with pinyin conversion) and English. - Automatically removes special and invalid characters. - Offers multiple output formats: lowercase, uppercase, and title case. - Custom separator support for flexible slug formatting. - Suitable for blogs, e-commerce, and CMS systems.
Metadata
Slug slug-generator
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Slug Generator?

Generate URL-friendly slugs from text. 将任意文本转换为SEO友好的URL别名,支持中英文混合、自动去除特殊字符。适合博客、电商、CMS系统。URL slug maker, permalink generator, URL safe string. It is an AI Agent Skill for Claude Code / OpenClaw, with 60 downloads so far.

How do I install Slug Generator?

Run "/install slug-generator" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Slug Generator free?

Yes, Slug Generator is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Slug Generator support?

Slug Generator is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Slug Generator?

It is built and maintained by darbling (@darbling); the current version is v1.0.0.

💬 Comments