golemcloud/golem/golem-call-tool-moonbit
- community
Checking that the SKILL.md file is still in the repository.
Calls a generated typed Golem tool client from MoonBit. Use when invoking built-in or MCP imported tools, a tool provider, or handling typed tool errors.
Install
npx vskill@latest install golemcloud/golem/golem-call-tool-moonbitSKILL.md
Call a Golem tool from MoonBit
Call an existing tool through a generated client
Load golem-generating-tool-clients for built-in releases and MCP imports. Add the tool to the MoonBit component's dependencies.tools and configure its runtime binding separately. golem build automatically generates the client without an explicit bridge selection. Add the generated module as a local dependency, then import "bash-tool-guest-client/client" @bash in the consumer's moon.pkg. Call the built-in bash release 0.2.1 inside an async agent method:
Handle the actual tool error as appropriate for the agent, and check the script's exit code in the successful result. Bash returns stdout and stderr as strings. For output attachments, the generated method starts a TypedToolInvocation synchronously; use its collect() helper from async code to drain outputs and check result, stdout, and stderr outcomes independently.
Call from a definition owned by the application
#derive.tool generates <Tool>Client in golem_tool_clients.mbt:
Call generated tool methods from an async fn; MoonBit has no await keyword. Use new_for(name) when targeting another registration name. Generated signatures preserve custom errors and stream capabilities; handle the returned @tool.ToolError[E] rather than assuming every failure is a domain error. Always call drop() when finished, and never edit the generated client.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckinggolem-skills/skills/moonbit/golem-call-tool-moonbit/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/golemcloud/golem/golem-call-tool-moonbit)