PHPackages                             anilcancakir/laravel-ai-sdk-skills - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. anilcancakir/laravel-ai-sdk-skills

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

anilcancakir/laravel-ai-sdk-skills
==================================

A skill system for Laravel AI SDK agents. Define reusable AI capabilities with SKILL.md files.

v1.1.0(2mo ago)151.1k—2.5%1MITPHPPHP ^8.2CI passing

Since Feb 11Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/anilcancakir/laravel-ai-sdk-skills)[ Packagist](https://packagist.org/packages/anilcancakir/laravel-ai-sdk-skills)[ Docs](https://github.com/anilcancakir/laravel-ai-sdk-skills)[ RSS](/packages/anilcancakir-laravel-ai-sdk-skills/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (7)Versions (4)Used By (0)

[![Laravel AI SDK Skills](/art/banner.jpeg)](/art/banner.jpeg)

[![Build Status](https://github.com/anilcancakir/laravel-ai-sdk-skills/actions/workflows/tests.yml/badge.svg)](https://github.com/anilcancakir/laravel-ai-sdk-skills/actions)[![Total Downloads](https://camo.githubusercontent.com/a04395d9c4277990c28cd5b787005c8d14240cfe108c055be99194eda99c6569/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616e696c63616e63616b69722f6c61726176656c2d61692d73646b2d736b696c6c73)](https://packagist.org/packages/anilcancakir/laravel-ai-sdk-skills)[![Latest Stable Version](https://camo.githubusercontent.com/ded45287e52ad8a9f28ea233e6a45a3d555f4bc01bbcacf27033d696bf98421c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616e696c63616e63616b69722f6c61726176656c2d61692d73646b2d736b696c6c73)](https://packagist.org/packages/anilcancakir/laravel-ai-sdk-skills)[![License](https://camo.githubusercontent.com/2ec623571f91177b731300962797300ff33dd7251bdeb3ac6c56e01298fae60d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f616e696c63616e63616b69722f6c61726176656c2d61692d73646b2d736b696c6c73)](https://packagist.org/packages/anilcancakir/laravel-ai-sdk-skills)

Laravel AI SDK Skills
=====================

[](#laravel-ai-sdk-skills)

This package extends the Laravel AI SDK with a high-performance skill system. Skills are reusable capability modules that provide instructions, tools, and context to your AI agents through a **Progressive Disclosure** mechanism.

Instead of embedding all logic in your agent class or bloating the context window with unused instructions, you define skills as separate markdown files. Each skill encapsulates its own instructions and tools. Agents discover what's available and load only what they need during the conversation.

For a detailed walkthrough with real-world examples, check out the [announcement article on Medium](https://medium.com/@anilcan/level-up-your-laravel-ai-agents-with-modular-skills-39da3fe9fe4b).

Installation
------------

[](#installation)

Install the package via composer:

```
composer require anilcancakir/laravel-ai-sdk-skills
```

The service provider registers automatically. You should publish the configuration file to customize discovery paths and modes:

```
php artisan vendor:publish --provider="AnilcanCakir\LaravelAiSdkSkills\SkillsServiceProvider"
```

Quick Start
-----------

[](#quick-start)

Let's look at how quickly you can add a new capability to your agent. First, generate a new skill:

```
php artisan skills:make doc-writer --description="Writes technical documentation"
```

This creates `resources/skills/doc-writer/SKILL.md`. Now, add the `Skillable` trait to your agent and register the skill:

```
