← Back to Skills Marketplace
ohernandez-dev-blossom

Case Convert

by Omar Hernandez · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
174
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install case-convert
Description
Convert text between different case styles. Use when the user asks to convert text to camelCase, snake_case, kebab-case, PascalCase, UPPERCASE, lowercase, Ti...
README (SKILL.md)

Case Converter

Convert text between 15 different case styles simultaneously.

Input

  • The text to convert
  • Optionally, the target case style (if not specified, show all 15)

Output

  • The converted text in the requested case style(s)
  • If no target specified, show all 15 transformations

Instructions

Apply each transformation exactly as follows:

  1. lowercases.toLowerCase() Example: hello world example

  2. UPPERCASEs.toUpperCase() Example: HELLO WORLD EXAMPLE

  3. Title Case — Capitalize each word EXCEPT articles/prepositions when not first: Small words (keep lowercase unless first): a, an, and, as, at, but, by, for, in, nor, of, on, or, so, the, to, up, yet, via, with Always capitalize: first word of the string, first word after ., !, ? Example: Hello World Example (but: The Art of War)

  4. Sentence case — Lowercase everything; capitalize first letter of each sentence (after ., !, ? followed by whitespace, and the very first character) Example: Hello world example. Another sentence.

  5. camelCase — Remove non-word characters (replace with space), trim, lowercase, then uppercase the first letter of every subsequent word, remove all spaces Example: helloWorldExample

  6. PascalCase — Same as camelCase but also capitalize the very first letter Example: HelloWorldExample

  7. snake_case — Lowercase, remove non-word non-space characters, replace spaces with _, collapse consecutive _ Example: hello_world_example

  8. kebab-case — Lowercase, remove non-word non-space characters, replace spaces with -, collapse consecutive - Example: hello-world-example

  9. CONSTANT_CASE — Uppercase, remove non-word non-space characters, replace spaces with _, collapse consecutive _ Example: HELLO_WORLD_EXAMPLE

  10. dot.case — Lowercase, remove non-word non-space characters, replace spaces with ., collapse consecutive . Example: hello.world.example

  11. path/case — Lowercase, remove non-word non-space characters, replace spaces with /, collapse consecutive / Example: hello/world/example

  12. iNVERSE cASE — For each character: if uppercase → lowercase, if lowercase → uppercase, else unchanged Example: hELLO wORLD eXAMPLE

  13. aLtErNaTe CaSe — For each character at index i: if i is even → lowercase, if i is odd → uppercase Example: hElLo wOrLd eXaMpLe

  14. esreveR — Reverse the entire string character by character Example: elpmaxE dlroW olleH

  15. SpOnGeBoB cAsE — Iterate through alphabetic characters only, alternating upper/lower (non-alphabetic characters pass through unchanged, but do NOT advance the alternation counter) Example: hElLo WoRlD eXaMpLe

Options

  • target — specific case name (if omitted, output all 15)
  • batchMode — if true, apply the transformation to each line independently

Examples

Request: "Convert 'hello world' to camelCase"

Output: helloWorld


Request: "Convert 'USER_LOGIN_COUNT' to all cases"

Output:

  • lowercase: user_login_count
  • UPPERCASE: USER_LOGIN_COUNT
  • Title Case: User_login_count
  • Sentence case: User_login_count
  • camelCase: userLoginCount
  • PascalCase: UserLoginCount
  • snake_case: user_login_count
  • kebab-case: user-login-count
  • CONSTANT_CASE: USER_LOGIN_COUNT
  • dot.case: user.login.count
  • path/case: user/login/count
  • iNVERSE cASE: user_login_count
  • aLtErNaTe CaSe: uSeR_lOgIn_cOuNt
  • esreveR: TNUOC_NIGOL_RESU
  • SpOnGeBoB cAsE: uSeR_lOgIn_cOuNt

Request: "snake_case this: 'My Component Name'"

Output: my_component_name

Error Handling

  • If input is empty, return an empty string for all cases
  • If target case style is not recognized, list all 15 available styles and ask which one the user wants
  • For very long inputs (>10,000 characters), process normally but note the length
Usage Guidance
This skill appears coherent and low-risk: it only describes how to transform text and asks for no credentials or installs. Before relying on it, test it with representative inputs (underscores, dots, punctuation, and Unicode) because some transformation rules are ambiguous and at least one example appears inconsistent (e.g., how underscores are handled in Title/Sentence case). If you need deterministic behavior for edge cases, ask the author to clarify rules for separators, Unicode handling, and how batchMode treats blank lines. Autonomous invocation is normal here but, as always, only enable skills you trust.
Capability Analysis
Type: OpenClaw Skill Name: case-convert Version: 1.0.0 The skill bundle is a straightforward text transformation utility for converting strings between various case formats (e.g., camelCase, snake_case). It contains no executable code, network requests, or instructions that could lead to data exfiltration or unauthorized system access, and is entirely aligned with its stated purpose in SKILL.md.
Capability Assessment
Purpose & Capability
Name/description (case conversion) match the SKILL.md instructions: the document provides 15 explicit text transformations and options (target, batchMode). No unrelated binaries, environment variables, or config paths are requested.
Instruction Scope
SKILL.md is self-contained and does not instruct reading files, env vars, network calls, or other system data. However, several transformation definitions contain ambiguous or inconsistent details that could lead to surprising outputs (e.g., inconsistent phrasing 'remove non-word characters (replace with space)' vs 'remove non-word non-space characters', and the example for Title/Sentence case on 'USER_LOGIN_COUNT' retains underscores rather than showing them treated as separators). These are correctness/usability concerns rather than security issues.
Install Mechanism
No install spec and no code files — instruction-only skill (lowest install risk). Nothing is written to disk or downloaded by the skill itself.
Credentials
The skill requires no environment variables, credentials, or config paths. The requested surface is minimal and appropriate for a pure text-transformation utility.
Persistence & Privilege
always is false and the skill does not request elevated or persistent privileges or modification of other skills/configuration. Autonomous invocation is allowed by default, which is normal for skills.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install case-convert
  3. After installation, invoke the skill by name or use /case-convert
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of case-convert skill. - Converts text between 15 different case styles, including camelCase, snake_case, kebab-case, PascalCase, UPPERCASE, lowercase, Title Case, and more. - Supports converting a single string or each line individually (batchMode). - Provides helpful error handling, including style suggestions and long input notices. - If no target style is given, outputs all 15 transformations at once.
Metadata
Slug case-convert
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is Case Convert?

Convert text between different case styles. Use when the user asks to convert text to camelCase, snake_case, kebab-case, PascalCase, UPPERCASE, lowercase, Ti... It is an AI Agent Skill for Claude Code / OpenClaw, with 174 downloads so far.

How do I install Case Convert?

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

Is Case Convert free?

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

Which platforms does Case Convert support?

Case Convert is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Case Convert?

It is built and maintained by Omar Hernandez (@ohernandez-dev-blossom); the current version is v1.0.0.

💬 Comments