foodlz

Procedural knowledge skills for the Laravel AI SDK. Teach your AI agents how to behave, not just what to do.

19
0
89% credibility
Found May 23, 2026 at 19 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
PHP
AI Summary

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

1
🤖 You have an AI assistant that needs guidance

Your AI customer support bot needs to follow specific policies, tone guidelines, and procedures when helping users.

2
📦 You add skills to your project

With one simple command, you install the skills package into your Laravel application and it's ready to use.

3
✍️ You write your first skill

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.

4
🔗 You connect the skill to your AI

You tell your AI assistant to use your new skill with a simple attribute on your agent class—no complex setup required.

5
Choose how your AI learns
📋
Always included

The guidance is always part of your AI's instructions, like a rulebook it always follows.

🎯
On-demand

Your AI calls the skill only when it decides the guidance is relevant to the current conversation.

📚
Smart lookup

Your AI asks what skills are available and fetches the ones it needs—great for agents with many skills.

Your AI now follows your guidance perfectly

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.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 19 to 19 stars Sign Up Free
Repurpose This Repo

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 Repurpose
AI-Generated Review

What is laravel-ai-skills?

This is a PHP package that adds "skills" to AI agents in Laravel. Think of it as a way to teach your AI how to behave, not just what to do. Instead of stuffing tone guides and policies into system prompts (and paying for those tokens on every request), you create discrete skill objects that the model calls when relevant. It works with the Laravel AI SDK and supports loading guidance from Markdown files, Blade views, or even database records.

Why is it gaining traction?

The key insight here is separating procedural knowledge from actions. The Laravel AI SDK treats agents as collections of tools, but tools are for doing things, not for providing guidance. This package fills that gap with a clean abstraction. Three delivery modes let you balance token costs against latency. The `make:skill` command scaffolds everything, and the `Prompt` value object handles variable substitution across files, inline text, and Blade templates. Context injection means you can personalize skill content per user or request without redeploying.

Who should use this?

Customer support teams building AI agents that need tone guides and escalation policies will benefit most. Developers running high-volume agents with many skills can use Lite mode to cut down on tool bloat. Anyone frustrated by bloated system prompts that repeat the same instructions on every single API call will find this useful. Teams wanting non-developers to manage skill content through Markdown files or admin panels will appreciate the flexibility.

Verdict

This is a clever solution to a real problem, but at 19 stars it is still early-stage. The documentation is thorough and the testing utilities are solid, but with a credibility score of 0.9%, treat this as experimental infrastructure. Worth exploring if you are deep in the Laravel AI ecosystem and need better knowledge management, but validate thoroughly before production use.

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.