Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

ai-sdk-development

Skill by m3ue

Guides coding assistants in building with the Laravel AI SDK (laravel/ai). It covers agents, images, audio, transcription, embeddings, reranking, vector stores and provider failover for Laravel projects.

  • Score 83
  • 908 stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install ai-sdk-development

Built from the published package, never by AI.

git clone --depth 1 https://github.com/m3ue/m3u-editor /tmp/m3u-editor && mkdir -p ~/.claude/skills && cp -r /tmp/m3u-editor/.claude/skills/ai-sdk-development ~/.claude/skills/ai-sdk-development

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install ai-sdk-development in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill gives an AI assistant the working rules and code patterns for the Laravel AI SDK, the official first-party AI package for Laravel. It covers agents, chatbots, text, images, audio and TTS, transcription, embeddings, reranking, files and vector stores. It tells the assistant to search the documentation first and not to guess at APIs. It also shows the namespace, entry-point classes, optional interfaces, testing helpers and provider support by capability.

The skill is aimed at developers working on Laravel applications that use the SDK. It lists providers including OpenAI, Anthropic, Gemini, Azure, Groq, xAI, DeepSeek, Mistral, Ollama, ElevenLabs, Cohere, Jina and VoyageAI. It is meant for work on ai-sdk features, not for Prism PHP or other AI packages used directly.

Written from the project's SKILL.md and checked against it.

What it can do

  • AgentsBuilds agent classes that implement the Agent interface and use the Promptable trait.
  • Conversation memoryExplains manual history via Conversational and automatic persistence via RemembersConversations.
  • Structured outputDefines JSON schemas through the HasStructuredOutput interface for agent responses.
  • Images and audioShows Image::of() and Audio::of() generation with storage and voice options.
  • Transcription and embeddingsCovers speech-to-text with Transcription and vector generation with Embeddings.
  • RerankingShows how to rank documents against a query with Reranking::of().
  • Vector storesCreates stores with Stores::create() and adds files to them.
  • Tools and provider toolsAdds custom tools via HasTools and built-in WebSearch, WebFetch and FileSearch tools.
  • FailoverPasses a list of providers so a prompt can fall back to another provider.
  • Testing helpersShows fake() and assertion methods for agents, images, audio, embeddings and stores.

What you need

  • Laravel project
  • Composer to install laravel/ai

Try asking

  • Create an agent that scores customer feedback as JSON with a 1 to 10 score.
  • Add conversation memory to my chatbot agent using RemembersConversations.
  • Generate an image with Image::of() and store it on the default disk.

Good to know

  • The source describes the package as new, so the skill asks the assistant to check current docs first.
  • Calling a capability a provider does not support throws a LogicException.
  • The skill says not to call Prism directly and to use the SDK's agents and entry-point classes instead.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/ai-sdk-development/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md12 KB

Alternatives to ai-sdk-development

All alternatives →

Compare with agent-reproduce-align, google_contacts or m06-error-handling

ai-sdk-development: common questions

What is the Laravel AI SDK?

The source describes it as the official first-party AI package for Laravel, with a unified API across multiple AI providers.

Which providers does it support for text generation?

The source lists OpenAI, Anthropic, Gemini, Azure, Groq, xAI, DeepSeek, Mistral and Ollama for text.

Should I use Prism PHP with this skill?

No. The source says to use the SDK's agents and entry-point classes, not Prism::text() directly, because the SDK wraps Prism internally.

How do I install ai-sdk-development?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is ai-sdk-development free?

The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.

Is ai-sdk-development safe to use?

It scores 83 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to ai-sdk-development?

Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.

ai-sdk-development Install

Add to stack

Loading.