guikingone / agent-skills
A library that integrate agent skills standard
0.3.0
2026-03-18 17:05 UTC
Requires
- php: >=8.3
- symfony/clock: ^7.4|^8.0
- symfony/filesystem: ^7.4|^8.0
- symfony/finder: ^7.4|^8.0
- symfony/http-client: ^7.4|^8.0
- symfony/string: ^7.4|^8.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.94
- laravel/ai: ^0.3
- neuron-core/neuron-ai: ^3.2
- phpstan/phpstan: ^2.1
- phpstan/phpstan-deprecation-rules: ^2.0
- phpstan/phpstan-phpunit: ^2.0
- phpunit/phpunit: ^11.5
- rector/rector: ^2.3
- symfony/ai-agent: ^0.6.0
- symfony/config: ^7.4|^8.0
- symfony/console: ^7.4
- symfony/dependency-injection: ^7.4|^8.0
Suggests
- laravel/ai: Required for the Laravel AI bridge
- neuron-core/neuron-ai: Required for the Neuron AI bridge
- symfony/ai-agent: Required for the Symfony AI bridge
This package is auto-updated.
Last update: 2026-03-18 17:23:46 UTC
README
Make sure Composer is installed globally, as explained in the installation chapter of the Composer documentation.
composer require guikingone/agent-skills
Quick start - Standalone
require_once dirname(__DIR__) . '/vendor/autoload.php'; $loader = new FilesystemSkillLoader([ __DIR__ . '/.skills', ]); $skill = $loader->loadSkill('twig-component'); assert($skill instanceof SkillInterface); # Agent call with the loaded skill
Quick start - Symfony
If symfony/flex is not installed, manually update the config/bundles.php:
// config/bundles.php return [ // ... AgentSkills\Bridge\Symfony\AI\AgentSkillsBundle::class => ['all' => true], ];
Then configure skills in config/packages/agent_skills.yaml:
# config/packages/agent_skills.yaml agent_skills: skills: enabled: true agents: my_agent: directories: - '%kernel.project_dir%/skills' active_skills: - 'twig-component' - 'symfony-console' include_index: true
Quick start - Laravel
Install the package alongside laravel/ai:
composer require guikingone/agent-skills laravel/ai
The AgentSkillsServiceProvider is auto-discovered by Laravel. If auto-discovery is disabled,
register it manually in bootstrap/providers.php:
return [ // ... AgentSkills\Bridge\Laravel\AI\AgentSkillsServiceProvider::class, ];
Publish and configure config/agent-skills.php:
php artisan vendor:publish --tag=agent-skills-config
// config/agent-skills.php return [ 'skills' => [ 'enabled' => true, 'agent' => \App\Agents\MyAgent::class, 'directories' => [ resource_path('skills'), ], 'active_skills' => [ 'twig-component', 'symfony-console', ], 'include_index' => true, ], ];