Install
openclaw skills install case-convertConvert text between different case styles. Use when the user asks to convert text to camelCase, snake_case, kebab-case, PascalCase, UPPERCASE, lowercase, Title Case, CONSTANT_CASE, dot.case, path/case, Sentence case, inverse case, alternate case, or any other case format.
openclaw skills install case-convertConvert text between 15 different case styles simultaneously.
Apply each transformation exactly as follows:
lowercase — s.toLowerCase()
Example: hello world example
UPPERCASE — s.toUpperCase()
Example: HELLO WORLD EXAMPLE
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)
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.
camelCase — Remove non-word characters (replace with space), trim, lowercase, then uppercase the first letter of every subsequent word, remove all spaces
Example: helloWorldExample
PascalCase — Same as camelCase but also capitalize the very first letter
Example: HelloWorldExample
snake_case — Lowercase, remove non-word non-space characters, replace spaces with _, collapse consecutive _
Example: hello_world_example
kebab-case — Lowercase, remove non-word non-space characters, replace spaces with -, collapse consecutive -
Example: hello-world-example
CONSTANT_CASE — Uppercase, remove non-word non-space characters, replace spaces with _, collapse consecutive _
Example: HELLO_WORLD_EXAMPLE
dot.case — Lowercase, remove non-word non-space characters, replace spaces with ., collapse consecutive .
Example: hello.world.example
path/case — Lowercase, remove non-word non-space characters, replace spaces with /, collapse consecutive /
Example: hello/world/example
iNVERSE cASE — For each character: if uppercase → lowercase, if lowercase → uppercase, else unchanged
Example: hELLO wORLD eXAMPLE
aLtErNaTe CaSe — For each character at index i: if i is even → lowercase, if i is odd → uppercase
Example: hElLo wOrLd eXaMpLe
esreveR — Reverse the entire string character by character
Example: elpmaxE dlroW olleH
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
target — specific case name (if omitted, output all 15)batchMode — if true, apply the transformation to each line independentlyRequest: "Convert 'hello world' to camelCase"
Output: helloWorld
Request: "Convert 'USER_LOGIN_COUNT' to all cases"
Output:
user_login_countUSER_LOGIN_COUNTUser_login_countUser_login_countuserLoginCountUserLoginCountuser_login_countuser-login-countUSER_LOGIN_COUNTuser.login.countuser/login/countuser_login_countuSeR_lOgIn_cOuNtTNUOC_NIGOL_RESUuSeR_lOgIn_cOuNtRequest: "snake_case this: 'My Component Name'"
Output: my_component_name