Character Count by @evandataforge
Count string length deterministically for text with hard limits. Use this skill when a post, reply, caption, commit message, or other text must stay within a...
π Tips & Best Practices
Count the exact final text, including spaces, punctuation, hashtags, and URLs.
Do not add or remove characters after counting unless you count again.
Use printf '%s' instead of echo to avoid introducing a trailing newline.
If the script receives no text, treat that as a calling error and fix the invocation before proceeding. π Constraints
Never estimate character counts manually.
Always count the final text exactly as it will be posted or saved.
If the text is too long, rewrite it and count again.
Prefer the JSON output mode for deterministic downstream use.
Do not describe the result as platform-accurate unless the target platform uses plain string length. βΈ Show full description clawhub install character-countCopy
π§ͺ Use this skill with your agent Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.
π Can't find the right skill?
Search 60,000+ AI agent skills β free, no login needed.
Search Skills β