coquibot/coqui-toolkit-mod-manager
Composer 安装命令:
composer require coquibot/coqui-toolkit-mod-manager
包简介
Coqui Mods manager integration — discover, install, and manage mods from agentcoqui.com
README 文档
README
Coqui Mods manager toolkit — browse, install, update, and manage skills and toolkits from agentcoqui.com.
Installation
composer require coquibot/coqui-toolkit-mod-manager
The toolkit is auto-discovered by Coqui via extra.php-agents.toolkits in composer.json. No additional configuration needed.
Credentials
| Key | Required | Description |
|---|---|---|
COQUI_MODS_API_TOKEN |
Optional | API token from agentcoqui.com — enables authenticated read context here and is reused by the mod-publish toolkit for write actions |
COQUI_MODS_URL |
Optional | Custom API base URL (default: https://agentcoqui.com/api/v1) |
Set credentials via the Coqui credentials tool:
credentials(action: "set", key: "COQUI_MODS_API_TOKEN", value: "cqs_...")
Most read operations work without authentication. Publish, delete, account, collections, reviews, notifications, and other social write actions now live in coquibot/coqui-toolkit-mod-publish.
Tools
The toolkit provides three tools plus the self-registering /mods REPL command.
mods_skills — Skill Discovery & Installation
| Action | Parameters | Description |
|---|---|---|
search |
query, limit?, cursor? |
Search skills by keyword |
list |
limit?, cursor?, sort?, tag? |
Browse all skills with filters |
details |
owner, name |
Full skill information |
versions |
owner, name |
Version history |
reviews |
owner, name |
Community reviews |
file |
owner, name, path |
View a specific file from a skill |
install |
owner, name, version?, force? |
Download and install a skill |
update |
name |
Update an installed skill to latest |
log_install |
owner, name |
Log an install event for analytics |
mods_toolkits — Toolkit Discovery & Installation
| Action | Parameters | Description |
|---|---|---|
search |
query, limit?, page? |
Search toolkits by keyword |
list |
limit?, cursor?, sort?, tags? |
Browse all toolkits with cursor pagination |
popular |
limit?, page? |
Browse popular toolkits |
details |
owner, name or package |
Full toolkit information |
reviews |
owner, name |
Community reviews |
install |
package, version? |
Install via Composer |
update |
package |
Update via Composer |
mods — Management & Discovery
| Action | Parameters | Description |
|---|---|---|
installed |
type? (all/skills/toolkits) |
List all installed content |
disable |
name |
Deactivate without removing |
enable |
name |
Reactivate disabled content |
remove |
name, purge? |
Uninstall (purge=true deletes permanently) |
tags |
type? (all/skills/toolkits) |
Browse available tags |
search_all |
query, limit?, cursor? |
Unified search across skills and toolkits |
health |
— | Check API health status |
Identifier convention: Names containing / are treated as toolkits (Composer packages). Names without / are treated as skills (directory names).
/mods — REPL Command
The package also owns the external /mods slash command in Coqui's REPL.
Supported flows:
/mods search <query>/mods install <owner/name|vendor/package>/mods remove <identifier>/mods installed/mods update <identifier>
Standalone Usage
<?php use CoquiBot\ModManager\ModManagerToolkit; // From environment variables $toolkit = ModManagerToolkit::fromEnv(); // Or with explicit configuration $toolkit = new ModManagerToolkit( urlResolver: static fn() => 'https://agentcoqui.com/api/v1', tokenResolver: static fn() => getenv('COQUI_MODS_API_TOKEN') ?: '', workspaceDir: '/path/to/.workspace', ); // Get tools foreach ($toolkit->tools() as $tool) { echo $tool->name() . ': ' . $tool->description() . "\n"; } // Execute a tool directly $tool = $toolkit->tools()[0]; // mods_skills $result = $tool->execute(['action' => 'search', 'query' => 'code review']); echo $result->content;
Gated Operations
The following operations require user confirmation (unless --auto-approve is enabled):
mods_skills: install, updatemods_toolkits: install, updatemods: disable, enable, remove
Development
# Install dependencies composer install # Run tests composer test # Static analysis composer analyse
Architecture
src/
├── Api/
│ └── ModClient.php # HTTP client for all API endpoints
├── Config/
│ └── ModRegistry.php # Constants, excluded packages, helpers
├── Installer/
│ ├── SkillInstaller.php # Skill lifecycle (ZIP download/extract)
│ └── ToolkitInstaller.php # Toolkit lifecycle (Composer-based)
├── Tool/
│ ├── ModsSkillsTool.php # mods_skills tool
│ ├── ModsToolkitsTool.php # mods_toolkits tool
│ └── ModsManageTool.php # mods tool
├── Command/
│ └── ModsCommandHandler.php # /mods REPL command handler
└── ModManagerToolkit.php # ToolkitInterface entry point
License
MIT
coquibot/coqui-toolkit-mod-manager 适用场景与选型建议
coquibot/coqui-toolkit-mod-manager 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 37 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 05 月 12 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「marketplace」 「skills」 「mods」 「php-agents」 「coqui」 「toolkits」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 coquibot/coqui-toolkit-mod-manager 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 coquibot/coqui-toolkit-mod-manager 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 coquibot/coqui-toolkit-mod-manager 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Spatie's coding guidelines as AI skills for Laravel Boost and skills.sh
Read MODS metadata into PHP objects that offer some convenient data extraction methods
A skill system for Laravel AI SDK agents. Define reusable AI capabilities with SKILL.md files.
A symfony/console command for listing and introspecting AI skills files of a project.
PHP Client for the CurseForge API.
PHP Client for the Modrinth API. This client is based on the openapi spec.
统计信息
- 总下载量: 37
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 44
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-05-12