Skip to content

Skills

effect-uai ships a bundle of agent skills for AI coding agents (Claude Code, Cursor, Continue, …). One main skill covers the philosophy, primitives, and provider wiring; fourteen recipe sub-skills each carry one loop-body pattern. The agent only loads a skill when its description matches your prompt.

Install

Via the skills.sh CLI:

Terminal window
npx skills add betalyra/effect-uai

Cherry-pick a single skill instead:

Terminal window
npx skills add betalyra/effect-uai/tree/main/skills/effect-uai-model-retry

What loads when

The main skill (effect-uai) loads on broad signals like “I’m building an AI agent in Effect”. Recipe sub-skills load on specific scenarios:

When you ask for…Skill
An agent that can call toolseffect-uai-basic-usage
Typed JSON output / fill a formeffect-uai-structured-output
Stream typed objects as the model writes themeffect-uai-streaming-structured-output
Human approval for sensitive tool callseffect-uai-tool-call-approval
Show progress while a tool runseffect-uai-streaming-tool-output
Long-lived chat agent with a queueeffect-uai-agentic-loop
Retry rate limits / 5xx with exponential backoffeffect-uai-model-retry
Fall back from one provider to anothereffect-uai-multi-model-fallback
Summarize history when it gets too longeffect-uai-auto-compaction
Pause the loop between turns and resume latereffect-uai-pause-resume
Stop button / abort the current responseeffect-uai-mid-stream-abort
Compare answers from multiple models side-by-sideeffect-uai-multi-model-compare
Models judge each other and pick a winnereffect-uai-model-council
Stream the output as SSE / JSONLeffect-uai-modify-output-stream

Source and per-skill bodies live in skills/.