foodlz / laravel-ai-skills
PublicProcedural knowledge skills for the Laravel AI SDK. Teach your AI agents how to behave, not just what to do.
Laravel AI Skills is a package that helps developers teach their AI assistants how to behave—not just what to do. Instead of writing endless instructions, you create 'skills' containing guidance like tone guides, policies, and procedures. These skills can live in simple text files, templates, or even a database. When your AI needs guidance, it calls the relevant skill and receives the knowledge. The package offers three ways to deliver skills: always included (Full), available on-demand (OnDemand), or smart lookup (Lite). It includes caching for performance, testing helpers for quality assurance, and easy commands to scaffold new skills. Non-developers can edit skill content directly since it lives in plain text files.
How It Works
Your AI customer support bot needs to follow specific policies, tone guidelines, and procedures when helping users.
With one simple command, you install the skills package into your Laravel application and it's ready to use.
You create a skill that contains your guidance—maybe a tone guide that says 'always be friendly and concise'—saved as a simple Markdown file that anyone on your team can edit.
You tell your AI assistant to use your new skill with a simple attribute on your agent class—no complex setup required.
The guidance is always part of your AI's instructions, like a rulebook it always follows.
Your AI calls the skill only when it decides the guidance is relevant to the current conversation.
Your AI asks what skills are available and fetches the ones it needs—great for agents with many skills.
When a user asks about refunds, your AI automatically follows your refund policy. When composing replies, it uses your tone guide. Everything works exactly as you taught it.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.