Composer Agent Skill Plugin banner
netresearch netresearch

Composer Agent Skill Plugin

Development community

Description

Composer plugin enabling universal Agent Skill distribution and management for PHP projects

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

Composer AI Agent Skill Plugin

A Composer plugin for **AI agent skills** in PHP projects. Skills are **skill dependencies** of your repo: you declare them through **one or more** of the mechanisms below (they are equivalent in the sense that everything flows into the same discovery, trust, and **`AGENTS.md`** pipeline—you may **combine** them). Versioning and publishing differ (semver packages vs pinned git lock), not whether the path is “official.”

[![CI](https://github.com/netresearch/composer-agent-skill-plugin/actions/workflows/ci.yml/badge.svg)](https://github.com/netresearch/composer-agent-skill-plugin/actions/workflows/ci.yml) [![Tests](https://img.shields.io/badge/tests-164%20passing-success)](tests/) [![PHPStan](https://img.shields.io/badge/PHPStan-level%2010%20(max)-success)](phpstan.neon) [![PHP Version](https://img.shields.io/badge/php-%5E8.4-blue)](composer.json) [![Symfony](https://img.shields.io/badge/symfony-5.4%20%7C%206.4%20%7C%207.4%20%7C%208.0-blue)](composer.json) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)

Features

  • Three ways to bring skills in — see How skills enter your project: (1) composer require a type: ai-agent-skill package, (2) composer require any package that lists skills under extra.ai-agent-skill, (3) declare GitHub or in-repo paths under extra.ai-agent-skills with composer.skills.lock and composer skills … (Direct sources).
  • Automatic discovery: Finds skills from installed packages (legacy type and universal extra form).
  • AGENTS.md generation: Creates XML skill index compatible with openskills
  • CLI commands: composer list-skills, composer read-skill, trust helpers, composer skills:* for direct sources, and composer outdated appends direct-skill rows (text) or points to **`composer skills:outdat