Prism skill
The developing-with-prism skill teaches an agent to write Prism code, a Laravel LLM package: text, structure, tools, streaming.
- 2,430 ★ on the repository
- Last commit
Minimal access
Why this level
- The skill only adds instructions, but code built with Prism sends requests to paid third-party APIs and uses their keys.
Install
- Works in
In your terminal, with SkillFoxx CLI
npx skillfoxx add skills/prism-php-prismDetects the agents on your machine, shows the access level and pins the version.
Other ways to install
Access and checks
How we reviewMinimal accessThe tool runs nothing and makes no network calls.
- The skill only adds instructions, but code built with Prism sends requests to paid third-party APIs and uses their keys.
This is third-party code. Review the repository files before installing.
What it does
Prism is a Laravel package with a unified interface to LLM providers. The repository ships the `developing-with-prism` skill for Laravel Boost, which gives an agent working patterns for text generation, structured output through schemas, Server-Sent Events streaming, tool and function calling, embeddings, images and audio. Providers include OpenAI, Anthropic, Gemini, Mistral, Groq, XAI, DeepSeek, OpenRouter, Ollama, VoyageAI and ElevenLabs. The skill makes the agent write `Prism::text()->using(...)` in a consistent style instead of inventing methods. The rest is documented at prismphp.com.
Who it is for. Laravel developers adding LLM features to an application who want the agent to know the current Prism API.
Good fit when
- A Laravel application needs a chat with a streamed reply through `asEventStreamResponse()`.
- A model answer must follow an `ObjectSchema` and be parsed safely.
- The agent must call an application function through `Tool::as('get_weather')`.
- The provider must change from OpenAI to Anthropic without rewriting the rest of the code.
Not a fit when
- The project is not on Laravel: the package and skill are built for it.
- You only need general prompting advice: the skill covers the Prism API.
- You need guarantees of freshness: providers and models change, so check the documentation.
Example request
Add a chat route to the Laravel app that streams an Anthropic reply through Prism and show the code using `asEventStreamResponse()`.Limitations
The skill is meant for a Laravel project with the Prism package installed and works through Laravel Boost. Prism itself calls paid third-party APIs that need their own keys and sends them your requests. Examples in the skill show model names as of writing, so take current names from the providers. The Prism authors are not affiliated with Laravel but follow its code of conduct. The license is MIT.
How to disable. Remove the package with `composer remove prism-php/prism` and the `developing-with-prism` skill from your project's Laravel Boost skills folder.
FAQ
What is Prism?
A Laravel package with a unified interface for working with LLMs: text, multi-step conversations, tools and many providers.
Where does the skill live?
In the repository at `resources/boost/skills/developing-with-prism/`, next to a `references/` folder about relay.
Which providers are supported?
The skill names OpenAI, Anthropic, Gemini, Mistral, Groq, XAI, DeepSeek, OpenRouter, Ollama, VoyageAI and ElevenLabs.
What can Prism do besides text?
Schema-based structured output, SSE streaming, tool calling, embeddings, image generation and audio processing.
Where is the documentation?
At prismphp.com, which the repository README links to while only briefly describing the package.
Discussion
No questions or reviews yet.
Related
SkillsA coding agent plugin that runs the lifecycle from idea to pull request and accumulates project knowledge between tasks.
Agent Skills (AsyrafHussin)
Agent Skills
24 skills for Laravel, PHP, React and TypeScript: code rules, testing, security, technical debt and documentation.
A Composer package that teaches an AI agent to audit a Laravel app from evidence and return findings as a structured report.
Empryo is a coding agent for desktop, terminal and CI that maps your repository, edits code by symbol name and runs its own checks
A Composer plugin that ships AI skills as dependencies, pulls them from vendor and Git and syncs to a project folder.
Four Builder Methods skills: PRD with milestone prompts, skill builder, React and Tailwind design system, favicon set
README in short
The README briefly presents Prism as a Laravel package for working with LLMs and points to the documentation site. The skill itself sits in `resources/boost/skills/`.