← Back to Skills Marketplace
string-utils
by
jpengcheng523-netizen
· GitHub ↗
· v1.0.0
· MIT-0
127
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install jpeng-string-utils
Description
Provides string manipulation and transformation operations for working with text. Use when you need to transform, format, or manipulate strings.
README (SKILL.md)
String Utils
Provides string manipulation and transformation operations.
Usage
const str = require('./skills/string-utils');
// Case conversion
const camel = str.toCamelCase('hello world'); // helloWorld
const snake = str.toSnakeCase('helloWorld'); // hello_world
const kebab = str.toKebabCase('helloWorld'); // hello-world
// Trimming and padding
const trimmed = str.trim(' hello '); // 'hello'
const padded = str.padLeft('5', 3, '0'); // '005'
// Truncation
const short = str.truncate('hello world', 8); // 'hello...'
// Slug generation
const slug = str.slugify('Hello World!'); // 'hello-world'
// Escape/unescape
const escaped = str.escapeHtml('\x3Cdiv>'); // '<div>'
Features
- Case conversion (camelCase, snake_case, kebab-case, PascalCase, etc.)
- Trimming and padding
- Truncation with ellipsis
- Slug generation
- HTML escape/unescape
- URL encoding/decoding
- Template interpolation
- String similarity
Usage Guidance
This skill appears to be a harmless string-manipulation library and requests no credentials or network access. Before installing or using it in production: 1) review and run the full index.js file locally — the provided excerpt ends with a truncated export (module.exports appears incomplete in the excerpt), which may cause runtime errors; 2) check that SKILL.md's require path matches how your agent will load the module (SKILL.md uses './skills/string-utils' while package.json/main points to index.js); 3) run the included test script (npm test or node -e "require('./index.js').main()") in a sandbox to confirm behavior; and 4) prefer a vetted package source (registry or repo with history) if you need production-grade reliability. These are quality and correctness issues rather than security red flags.
Capability Analysis
Type: OpenClaw Skill
Name: jpeng-string-utils
Version: 1.0.0
The skill bundle provides a comprehensive set of standard string manipulation utilities (case conversion, padding, truncation, HTML escaping, etc.) in index.js. The code is well-documented, lacks external dependencies, and contains no evidence of data exfiltration, malicious execution, or prompt injection.
Capability Assessment
Purpose & Capability
Name, description, and included code implement string transformations (case conversion, trimming, slugify, escape/unescape, similarity, etc.), which is proportionate to the stated purpose.
Instruction Scope
The SKILL.md usage examples and the code implement the same string APIs. The SKILL.md example uses require('./skills/string-utils') while package.json/main point to index.js — a path mismatch but not a security issue. The runtime instructions do not request files, env vars, network calls, or other system access beyond typical local module usage.
Install Mechanism
No install spec or external downloads are present; the skill is instruction/code-only and does not pull artifacts from external URLs or registries.
Credentials
The skill declares no required environment variables, credentials, or config paths and the code does not reference process.env or other secrets-related APIs.
Persistence & Privilege
always is false and the skill does not request persistent system-wide changes, nor does it modify other skills' configuration. Autonomous invocation is allowed (platform default) but not combined with other concerning factors.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install jpeng-string-utils - After installation, invoke the skill by name or use
/jpeng-string-utils - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of jpeng-string-utils.
- Provides utilities for string case conversion (camelCase, snake_case, kebab-case, etc.)
- Includes trimming, padding, and truncation with ellipsis.
- Supports slug generation and HTML escape/unescape.
- Adds URL encoding/decoding, template interpolation, and string similarity features.
Metadata
Frequently Asked Questions
What is string-utils?
Provides string manipulation and transformation operations for working with text. Use when you need to transform, format, or manipulate strings. It is an AI Agent Skill for Claude Code / OpenClaw, with 127 downloads so far.
How do I install string-utils?
Run "/install jpeng-string-utils" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is string-utils free?
Yes, string-utils is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does string-utils support?
string-utils is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created string-utils?
It is built and maintained by jpengcheng523-netizen (@jpengcheng523-netizen); the current version is v1.0.0.
More Skills