Define

Define a word or explain a term, with meaning, part of speech, and usage. Uses a free dictionary API for English words (no API key) and explains technical/jargon terms directly. Use when users ask 'what does X mean', 'define X', the meaning of a word, or to clarify jargon/acronyms. Triggers on mentions of define, definition, meaning of, what does mean, synonym, jargon, acronym, 什么意思, 定义, 含义, 解释一下这个词.

microclaw 6f43e2a 1.4 KB Updated

File contents

Define

Give a crisp definition first, then a usage example. Match the register to the asker.

English dictionary word (free API)

curl -s "https://api.dictionaryapi.dev/api/v2/entries/en/serendipity" \
  | python3 -c "
import sys,json
d=json.load(sys.stdin)[0]
for m in d.get('meanings',[]):
    pos=m.get('partOfSpeech','')
    for dfn in m.get('definitions',[])[:2]:
        print(f'({pos}) {dfn.get(\"definition\")}')
"

Technical / jargon / acronyms

For domain terms (programming, finance, science) or acronyms, explain directly and plainly:

  • one-sentence definition,
  • why it matters / where it's used,
  • a short concrete example.

Guidance

  • Lead with the most common meaning; mention others only if relevant.
  • Give one natural example sentence — that's what makes a definition click.
  • For non-English words or translation, use the translate skill.
  • Keep it short unless the user asks to go deep on etymology/nuance.

microclaw/microclaw/tree/main/crates/microclaw-engine/skills/built-in/define commit 6f43e2a3ed

Frequently asked questions

npx skillmds@latest add microclaw/define