hocvt / laravel-boost-as-skills
Exposes all Laravel Boost MCP tools as an agent skill and provides a boost:tool CLI command for agent use without MCP.
Package info
github.com/vuthaihoc/laravel-boost-as-skills
pkg:composer/hocvt/laravel-boost-as-skills
Requires
- php: ^8.2
- illuminate/console: ^11.0|^12.0|^13.0
- illuminate/support: ^11.0|^12.0|^13.0
- laravel/boost: ^1.0|^2.0
This package is auto-updated.
Last update: 2026-07-17 08:13:56 UTC
README
Exposes all Laravel Boost MCP tools as an agent skill and provides a boost:tool Artisan command — so AI agents can call Boost tools via the command line without needing MCP active.
Installation
composer require hocvt/laravel-boost-as-skills --dev
Laravel's auto-discovery will register the service provider automatically.
Then run Boost's install or update command to publish the skill:
# First install php artisan boost:install # Or if you already have Boost installed, discover new skills php artisan boost:update --discover
What this package provides
1. boost:tool Artisan Command
A CLI bridge for all Boost MCP tools, enabling agent use without an active MCP connection:
php artisan boost:tool application-info php artisan boost:tool database-schema --summary php artisan boost:tool database-query --query="SELECT id, email FROM users LIMIT 5" php artisan boost:tool get-absolute-url --path=/dashboard php artisan boost:tool search-docs --queries='["livewire wire:model"]' php artisan boost:tool read-log-entries --entries=10 php artisan boost:tool last-error php artisan boost:tool browser-logs --entries=20 php artisan boost:tool tinker --code='User::count()' php artisan boost:tool record-rule --glob="app/Models/**" --title="..." --note="..." php artisan boost:tool database-connections
Run php artisan boost:tool --help or pass any unknown tool name to see all available tools.
2. laravel-boost Agent Skill
The package ships a resources/boost/skills/laravel-boost/SKILL.md file that Boost auto-discovers. This skill teaches AI agents:
- When and how to use each Boost tool
- CLI syntax for every tool option
- Best practices (e.g. always run
database-schema --summaryfirst, then filter)
Available Tools
| Tool | Description |
|---|---|
application-info |
PHP/Laravel versions + all installed packages |
browser-logs |
Last N entries from storage/logs/browser.log |
database-connections |
List configured DB connections |
database-query |
Execute read-only SQL (SELECT, SHOW, EXPLAIN…) |
database-schema |
Tables, columns, indexes, foreign keys |
get-absolute-url |
Resolve absolute URL from path or named route |
last-error |
Last backend error/exception from logs |
read-log-entries |
Last N entries from storage/logs/laravel.log |
record-rule |
Write a durable project rule to .ai/ |
search-docs |
Search version-specific Laravel ecosystem docs |
tinker |
Execute PHP in app context (requires config opt-in) |
Requirements
- PHP 8.2+
- Laravel 11, 12, or 13
laravel/boostinstalled
License
MIT