Effect tools and middleware
SkillDev toolsLets your agent define Golem tools and wrap them with reusable Effect-based middleware.
Use Effect tools and middleware in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add Effect tools and middleware and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the Effect tools and middleware skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; Ahel provides instructions and does not run this skill.
No other account needed.
Add Ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
About this skill
Defines and calls Golem tools and attaches Effect-native typed or universal middleware. Use for tool providers, clients, and middleware composition.
What this skill tells your AI
The instructions your AI receives, as published by golemcloud/golem in golem-skills/skills/effect/golem-tools-middleware-effect/SKILL.md and read by Ahel’s review.
Build a definition with Tool.toolDefinition(name).body(...). A provider finishes it with .implement({ camelCaseName: handler }); a caller uses Tool.client(definition). Handlers and clients return Effects and stream stdin/stdout/stderr with independent Effect Stream values. Drain both outputs concurrently when both are declared.
Use Middleware.typed({ name, parameters: Middleware.NoParameters, presented, handler }) when the presented tool shape is known. Use the universal middleware API only when every tool must be intercepted. Forward input, output, permission cards, and streams at most once; capability handles are affine.
The default world supports ordinary, standalone-middleware, and combined components. Standalone middleware can be attached and deployed independently; unused agent and tool discovery returns empty lists.
Signals
- GitHub stars
- 2k
- Forks
- 210
- Last commit
- Oct 2026
Advanced
- Item type
- skill
- Key
golem-tools-middleware-effect- Source
- github.com/golemcloud/golem