Agent skill

URL Slug Generator

by kostja94 in kostja94/marketing-skills

When the user wants to create, optimize, or validate URL slugs for content pages.

MITAuto-check passed

Install URL Slug Generator

skills CLI
$ npx skills add kostja94/marketing-skills --skill url-slug-generator -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install kostja94/marketing-skills url-slug-generator --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/kostja94/marketing-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/components/utility/url-slug .claude/skills/url-slug-generator && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
url-slug-generator
GitHub stars
1k
Token cost
~1.2k tokens
SKILL.md length
461 words
Files
1
Skills in repo
102
Repo updated
First seen
Licence
MIT

At a glance

When the user wants to create, optimize, or validate URL slugs for content pages.

  • Works in 5 steps: Extract primary keyword from title or… → Summarize in 3–5 words (don't copy full… → Remove stop words (the, a, and, or)… → …
  • Wants to create
  • SKILL.md covers Scope, Best Practices, Slug Generation Workflow and Examples, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

URL Slug Generator is an agent skill from kostja94/marketing-skills. When the user wants to create, optimize, or validate URL slugs for content pages. Also use when the user mentions "URL slug," "URL path," "blog URL," "article URL," "short URL," "clean slug," "permalink," "slug optimization," "URL structure," "SEO-friendly URL," "create URL slug," or "SEO slug." For site-wide URL policy, use url-structure.

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: Agent Skills for Marketing — SEO, Social, Influencer & More. 160+ open-source skills for SEO, content, 40+ page types, paid ads, channels, and strategies. Add project context… The licence is MIT.

When your agent uses it

  • Wants to create
  • Validate URL slugs for content pages
  • The user mentions URL slug
  • Slug optimization

Example prompts

  • “URL slug,”
  • “URL path,”
  • “blog URL,”
  • “/url-slug-generator”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Extract primary keyword from title or target keyword
  2. Summarize in 3–5 words (don't copy full title)
  3. Remove stop words (the, a, and, or) unless needed for readability
  4. Lowercase, hyphenate, validate length < 60 chars
  5. Check uniqueness — no duplicate slugs site-wide

What it can do on your machine

Read from SKILL.md and the folder at commit 8dd89c5. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • alignify.co

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

URL Slug Generator loads about 1.2k tokens when it runs. Until then it costs about 90 tokens; SKILL.md has 461 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~90
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from kostja94/marketing-skills at commit 8dd89c5, republished under its MIT licence (© kostja94). 461 words, ~1,158 tokens.

Download SKILL.mdSave it as .claude/skills/url-slug-generator/SKILL.md (or your agent's skills folder).
name
url-slug-generator
description
When the user wants to create, optimize, or validate URL slugs for content pages. Also use when the user mentions "URL slug," "URL path," "blog URL," "article URL," "short URL," "clean slug," "permalink," "slug optimization," "URL structure," "SEO-friendly URL," "create URL slug," or "SEO slug." For site-wide URL policy, use url-structure.
metadata.version
1.0.1

Components: URL Slug

Guides creation of SEO-friendly URL slugs for blog posts, articles, and content pages. Research on 11.8M Google results shows shorter URLs tend to rank higher; position #1 URLs average 50–60 characters.

When invoking: On first use, if helpful, open with 1–2 sentences on what this skill covers, then provide the main output. On subsequent use or when the user asks to skip, go directly to the main output.

Scope

  • URL slug: The path segment after the base (e.g., ai-people-search in /blog/ai-people-search)
  • Applies to: Blog posts, articles, guides, category pages, product pages

Best Practices

Length
GuidelineTarget
Slug lengthUnder 60 characters total (including path prefix)
Word count3–5 words
PrincipleShorter = easier to read, share, remember; less truncation in SERPs; see serp-features

Example: "The Complete Guide to AI Search Engine for Finding People" → ai-people-search (3 words) or ai-search-finding-people (4 words), not ai-search-engine-finding-people-speed-discovery-outreach (9 words, 51 chars).

Format
RuleDoAvoid
SeparatorsHyphens (-)Underscores (_), spaces, periods
CaseLowercase onlyMixed case (causes duplicate content)
CharactersLetters (a-z), numbers (0-9), hyphensSpecial chars
Stop wordsRemove when possible: the, a, and, or, toKeep when needed: "how-to"
Content
RuleGuideline
Primary keywordInclude near start; one focus per URL
DescriptiveClear what page is about from slug alone
No keyword stuffingOne keyword mention is enough
No datesOmit unless time-specific (news, annual roundups)
Non-ASCII Characters
ScenarioRule
Accented lettersConvert to ASCII: é→e, ü→u, ñ→n, ç→c
Non-Latin scriptsUse UTF-8 percent-encoding if required; prefer ASCII for compatibility
Examplejalapeno not jalapeño; cafe not café
Common Mistakes
  • Copy-pasting full title: Summarize instead — long title → short slug
  • Auto-generated IDs: /post/12847 — always customize
  • Tracking params in slug: UTM, session IDs — use query params separately
  • Changing without redirect: Always 301 from old to new slug
Show full SKILL.md (168 more words)Show less

Slug Generation Workflow

  1. Extract primary keyword from title or target keyword
  2. Summarize in 3–5 words (don't copy full title)
  3. Remove stop words (the, a, and, or) unless needed for readability
  4. Lowercase, hyphenate, validate length < 60 chars
  5. Check uniqueness — no duplicate slugs site-wide

Examples

Title / Topic❌ Too long✅ Recommended
AI Search Engine for Finding People: Speed vs. Discoveryai-search-engine-finding-people-speed-discovery-outreachai-people-search or ai-search-finding-people
The Ultimate SEO Checklist for 2025the-ultimate-seo-checklist-for-2025seo-checklist-2025
How to Increase Website Traffichow-to-increase-the-traffic-to-your-websiteincrease-website-traffic
Best Running Shoes for Marathon Trainingbest-running-shoes-for-marathon-training-in-2025best-running-shoes-2025

Output Format

When creating or auditing a slug:

  • Recommended slug (3–5 words)

  • Character count (slug only)

  • Primary keyword included

  • Alternatives if multiple valid options

  • Reference: Alignify URL optimization

  • url-structure: URL hierarchy, site structure; references this skill for slug conventions
  • canonical-tag: When changing slugs, set up 301 redirects
  • article-page-generator: Article URL slugs
  • blog-page-generator: Blog post URL slugs
  • glossary-page-generator: Glossary term slugs
  • products-page-generator: Product page slugs
  • customer-stories-page-generator: Case study page slugs
  • resources-page-generator: Resource page slugs
  • features-page-generator: Per-feature page slugs

© kostja94, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/components/utility/url-slug of kostja94/marketing-skills.

Open the folder on GitHubat commit 8dd89c5

Compare with similar skills

URL Slug Generator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

URL Slug Generator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
URL Slug Generator this skillkostja94/marketing-skills1k—~1.2kAutomated safety check: PassMIT
Generative Engine Optimizationtech-leads-club/agent-skills7k—~2.5kAutomated safety check: PassMIT
Generatealirezarezvani/claude-skills28k1 repos~1.1kAutomated safety check: PassMIT
SQL Optimizationgithub/awesome-copilot40k2 repos~2.3kAutomated safety check: PassMIT
Fal Generatenexu-io/open-design100k—~306Automated safety check: PassApache-2.0
Video Generationbytedance/deer-flow84k3 repos~1.4kAutomated safety check: PassMIT

Similar skills

  • Generative Engine Optimization

    tech-leads-club/agent-skills

    Makes a page or site easier for AI answer engines to find, understand, trust and quote, using metadata, structured data, an llms.txt file and clear page structure.

    7k GitHub stars~2.5k tokensUpdated yesterday
    Marketing & SEOAuto-check passed
  • Generate

    alirezarezvani/claude-skills

    Generate Playwright tests. An agent skill from alirezarezvani/claude-skills.

    28k GitHub starsUsed in 1 repo~1.1k tokens
    Testing & QAAuto-check passed
  • SQL Optimization

    github/awesome-copilot

    Official

    Universal SQL performance optimization assistant for comprehensive query tuning, indexing strategies, and database performance analysis across all SQL databases (MySQL, PostgreSQL, SQL Server…

    40k GitHub starsUsed in 2 repos~2.3k tokens
    DatabasesAuto-check passed
  • Fal Generate

    nexu-io/open-design

    Generate images and videos using fal.ai AI models. An agent skill from nexu-io/open-design.

    100k GitHub stars~306 tokensUpdated yesterday
    Media & CreativeAuto-check passed
  • Video Generation

    bytedance/deer-flow

    Generates short videos from a structured JSON prompt, optionally guided by a reference image used as the first or last frame.

    84k GitHub starsUsed in 3 repos~1.4k tokens
    Media & CreativeAuto-check passed
  • Agent skill for performance-optimizer - invoke with $agent-performance-optimizer

    74k GitHub starsUsed in 2 repos~3.6k tokens
    Auto-check passed

More from kostja94/marketing-skills

All 102 skills in this repo
  • Grokipedia Recommendations

    kostja94/marketing-skills

    When the user wants to add recommendations, links, or content to Grokipedia.

    1k GitHub starsUsed in 1 repo~4.2k tokens
    Auto-check passed
  • AI Traffic Tracking

    kostja94/marketing-skills

    When the user wants to track AI search traffic in GA4 or GSC.

    1k GitHub stars~959 tokensUpdated 5 days ago
    Auto-check passed
  • Analytics Tracking

    kostja94/marketing-skills

    When the user wants to set up, audit, or optimize analytics tracking (GA4, events, conversions).

    1k GitHub stars~1.5k tokensUpdated 5 days ago
    Auto-check passed
  • Brand Visual Generator

    kostja94/marketing-skills

    When the user wants to define, audit, or apply visual identity (typography, colors, spacing, design tokens, frontend aesthetics).

    1k GitHub stars~3k tokensUpdated 5 days ago
    Auto-check passed
  • Canonical Tag

    kostja94/marketing-skills

    When the user wants to configure canonical URLs, fix duplicate content, or consolidate URL signals.

    1k GitHub stars~1.2k tokensUpdated 5 days ago
    Auto-check passed
  • Content Strategy

    kostja94/marketing-skills

    When the user wants to plan content for SEO, create content calendar, or build topic clusters.

    1k GitHub stars~1.8k tokensUpdated 5 days ago
    Auto-check passed

Questions about URL Slug Generator

What does URL Slug Generator do?

When the user wants to create, optimize, or validate URL slugs for content pages. URL Slug Generator is an agent skill from kostja94/marketing-skills. When the user wants to create, optimize, or validate URL slugs for content pages.

When should I use URL Slug Generator?

URL Slug Generator fits situations like: wants to create; validate URL slugs for content pages; the user mentions URL slug; slug optimization.

How do I install URL Slug Generator in Claude Code?

Run `npx skills add kostja94/marketing-skills --skill url-slug-generator -a claude-code`. Or copy the skill folder (skills/components/utility/url-slug in kostja94/marketing-skills) into .claude/skills/url-slug-generator in your project. Claude Code loads it when a task matches its description.

How do I install URL Slug Generator in Codex?

Run `npx skills add kostja94/marketing-skills --skill url-slug-generator -a codex`. Or copy the skill folder (skills/components/utility/url-slug in kostja94/marketing-skills) into .agents/skills/url-slug-generator in your project. Codex loads it when a task matches its description.

Can I use URL Slug Generator in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add kostja94/marketing-skills --skill url-slug-generator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/url-slug-generator, .gemini/skills/url-slug-generator, .github/skills/url-slug-generator and .opencode/skills/url-slug-generator in your project.

What does URL Slug Generator need to run?

SKILL.md names no scripts, command-line tools or credentials: URL Slug Generator is instructions for the agent only.

Does URL Slug Generator access the network?

SKILL.md names 1 domain. As links in the text: alignify.co. This is read from the text; nothing was executed.

Is URL Slug Generator safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does URL Slug Generator use?

URL Slug Generator is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does URL Slug Generator use?

About 1.2k tokens (SKILL.md is roughly 4.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to URL Slug Generator?

Skills that share tags, products or a category with URL Slug Generator: Generative Engine Optimization (tech-leads-club/agent-skills, 7k stars), Generate (alirezarezvani/claude-skills, 28k stars), SQL Optimization (github/awesome-copilot, 40k stars) and Fal Generate (nexu-io/open-design, 100k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains URL Slug Generator?

kostja94 (a GitHub user) maintains it in kostja94/marketing-skills, which has 1,025 GitHub stars. The repository holds 102 skills in this directory. The repository was last updated on October 6, 2026.

Source: kostja94/marketing-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.