Agent skill · AI & Agents

Effect AI

This skill should be used when the user asks about "Effect AI", "@effect/ai", "LLM integration", "AI tool use", "AI execution planning", "building AI agents", "AI providers", "structured AI output", "AI completions", "Effect OpenAI", "Effect Anthropic", or needs to understand how Effect integrates with AI/LLM services.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill effect-ai --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 7 KB
Bundled scripts: none
Version: 1.0.0
Path: skills/ai-llm/effect-ai/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Effect AI ## Overview Effect AI (`@effect/ai`) provides type-safe integration with AI/LLM services: - **Provider abstraction** - Unified API for OpenAI, Anthropic, etc. - **Tool use** - Type-safe function calling with Schema - **Execution planning** - Multi-step AI workflows - **Structured output** - Schema-validated responses ## Installation ```bash npm install @effect/ai @effect/ai-openai # or npm install @effect/ai @effect/ai-anthropic ``` ## Basic Usage ### Creating a Provider ```typescript import { AiChat } from "@effect/ai" import { OpenAiChat } from "@effect/ai-openai" import { Effect, Layer } from "effect" const OpenAiLive = OpenAiChat.layer({ apiKey: Config.redacted("OPENAI_API_KEY"), model: "gpt-4" }) import { AnthropicChat } from "@effect/ai-anthropic" const AnthropicLive = AnthropicChat.layer({ apiKey: Config.redacted("ANTHROPIC_API_KEY"), model: "claude-3-opus-20240229" }) ``` ### Simple Completion ```typescript const program = Effect.gen(function* () { const ai = yield* AiChat.AiChat const response = yield* ai.generateText({ prompt: "Explain functional programming in one sentence." }) return response.text }) const result = yield* program.pipe( Effect.provide(OpenAiL

What's inside
Steps it walks through
  1. Overview
  2. Installation
  3. Basic Usage
  4. Creating a Provider
  5. Simple Completion
  6. Chat with Messages
  7. Tool Use
  8. Defining Tools with Schema
  9. Using Tools in Chat
  10. Multiple Tools
  11. Structured Output
  12. Execution Planning
  13. Streaming Responses
  14. Provider Configuration
Ships with 1 file
  • metadata.json
Commands it runs
npm install @effect/ai @effect/ai-openai
or
npm install @effect/ai @effect/ai-anthropic
More from claude-skill-registry
All skills →
About this skill
What does the Effect AI skill do?

This skill should be used when the user asks about "Effect AI", "@effect/ai", "LLM integration", "AI tool use", "AI execution planning", "building AI agents", "AI providers", "structured AI output", "AI completions", "Effect OpenAI", "Effect Anthropic", or needs to understand how Effect integrates with AI/LLM services.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill effect-ai --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going