Download the PHP package neuron-core/agent-skills without Composer

On this page you can find all versions of the php package neuron-core/agent-skills. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package agent-skills

Neuron AI Skills

Tests

[!IMPORTANT] Get early access to new features, exclusive tutorials, and expert tips for building AI agents in PHP. Join a community of PHP developers pioneering the future of AI development. Subscribe to the newsletter

Before moving on, support the Neuron AI community giving a GitHub star ⭐️. Thank you!

Add Agent Skills to your Neuron AI agents with SkillToolkit. Combine your own skills with community packages and make them available to the agent through a single toolkit.

The library handles skill discovery and provides tools for loading instructions and supporting resources when needed. It follows the open Agent Skills specification and supports local directories, PDO databases and custom storage.

Installation

Requires PHP 8.1+.

Agent Skills Neuron AI
2.x (current) 4.x
1.x 4.x
0.x 3.x

Quick Start

Find community skills on skills.sh and install one from your application's root:

The Skills CLI requires Node.js/npm and installs caveman into .agents/skills. Create an agent and register that directory, replacing your-api-key with your OpenAI API key:

How Skills Work

The agent starts with only the name and description of each skill. When a skill is relevant, it loads the full instructions on demand:

Tool Purpose
skill Load a skill's instructions by its declared name.
skill_resource Read one supporting file, such as references/guide.md, from that skill.
skill_script_prepare Make the skill's files available in a local directory before running its scripts.

Skills can include scripts. The toolkit does not execute them: register an execution tool such as Neuron's BashTool alongside it.

Filesystem skills run from their original directory. Skills from other storages are copied to a new directory under sys_get_temp_dir(); the toolkit does not delete these copies.

Multiple Sources

Pass several storages to combine bundled skills, CLI-installed skills and database skills:

If two skills declare the same name, the agent gets the one from the first storage. Its instructions and files always come from that source, with no fallback to another skill with the same name.

Skills are discovered on first use and then cached. Recreate the toolkit to pick up newly added skills.

Database Storage

DatabaseSkillStorage reads skills from an existing PDO connection. Each row stores one file of a skill; the complete skill document goes at path SKILL.md. You create and populate the table, for example:

Accessing Skills Directly

Share a SkillRepository between the toolkit and other features, such as slash commands or a skill picker:

Other frontmatter fields are preserved and available through loadFrontmatter().

Custom Storage

Implement SkillStorageInterface to load skills from another backend:

Throw RuntimeException for missing or unreadable files. If the files are already on the local disk, also implement LocalSkillStorageInterface so scripts run from the original directory instead of a temporary copy. StoragePaths helps validate identifiers and normalize paths.

Error Handling

Invalid or unreadable skills are skipped; inspect $skills->diagnostics() to see why. Tools report read failures to the agent. When accessing skills directly, catch RuntimeException.

Runnable Examples

The examples include interactive demos with filesystem, database and mixed storages, including skills that run scripts.

Contributing

Report bugs and propose changes through GitHub Issues and pull requests. Development requires PDO and pdo_sqlite:

Neither command requires an API key.

License

MIT.


All versions of agent-skills with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
neuron-core/neuron-ai Version ^4.0
symfony/polyfill-intl-normalizer Version ^1.31
symfony/polyfill-mbstring Version ^1.31
symfony/yaml Version ^6.4 || ^7.0 || ^8.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package neuron-core/agent-skills contains the following files

Loading the files please wait ...