enacthello-js
A simple JavaScript greeting tool
When & Why to Use This Skill
This Claude skill serves as a foundational JavaScript-based greeting utility designed for the Enact framework. It provides a clear, functional example of how to integrate Node.js scripts into Claude's agentic workflows, helping developers understand tool execution, parameter handling, and environment configuration.
Use Cases
- Environment Verification: Use as a 'Hello World' test to ensure the Enact framework and Node.js environment are correctly configured.
- Boilerplate Template: Serve as a starting point or reference code for developers building more complex JavaScript-based tools for Claude agents.
- Educational Demonstration: Illustrate the basic mechanics of passing input parameters (like 'name') from a Claude prompt to a local script execution.
| name | "enact/hello-js" |
|---|---|
| version | "1.0.2" |
| description | "A simple JavaScript greeting tool" |
| from | "node:22-alpine" |
| command | "node ./hello.js ${name}" |
Hello JS Tool
A simple example tool that demonstrates using JavaScript with Enact.
Usage
This tool takes an optional name parameter and returns a friendly greeting.
Examples
# Default greeting
enact run examples/hello-js
# Output: Hello, World! 👋
# Custom name
enact run examples/hello-js --input name=Alice
# Output: Hello, Alice! 👋