Demo Hello
What this skill contains
- •
SKILL.md: this file (metadata + instructions) - •
scripts/hello.js: minimal “hello world” script - •
scripts/summarize-text.js: reads a file or stdin and outputs a markdown summary (stats + top frequent words)
Use
Quick demo (hello)
Run the bundled script to show deterministic output:
bash
node scripts/hello.js --name "Taotao"
Real-ish demo (summarize a log/text file)
Summarize a file:
bash
node scripts/summarize-text.js --file ./some.log --top 12
Or pipe stdin:
bash
cat ./some.log | node scripts/summarize-text.js --top 12
How to use this skill as a template
- •Copy
skills/demo-hello/and rename the folder. - •Update the YAML frontmatter
name+description. - •Add one deterministic script in
scripts/that:- •accepts CLI args
- •produces stable output
- •can be run by the agent to avoid “LLM guessing”
- •Keep SKILL.md short; put longer docs into
references/if needed.