Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add fanqingxuan/awesome-skills --skill hyperfgit clone --depth 1 https://github.com/fanqingxuan/awesome-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/fanqingxuan/awesome-skills/hyperf)<a href="https://agentmods.dev/skills/fanqingxuan/awesome-skills/hyperf"><img src="https://agentmods.dev/badge/skills/fanqingxuan/awesome-skills/hyperf/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/fanqingxuan/awesome-skills/hyperf"><img src="https://agentmods.dev/badge/skills/fanqingxuan/awesome-skills/hyperf.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00109 | $0.00730 |
| Opus 5.5 | $0.00044 | $0.00292 |
| Sonnet 5.5 | $0.00022 | $0.00146 |
| Haiku 4.5 | $0.00011 | $0.00073 |
Grade A, and why
hyperf scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 125 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Hyperf 3.1 开发指南
Hyperf 3.1 框架开发助手,专注于控制器、模型、命令行工具的快速开发。
常用命令
# 生成控制器
php bin/hyperf.php gen:controller UserController
# 生成模型
php bin/hyperf.php gen:model User
# 生成命令
php bin/hyperf.php gen:command ImportCommand
# 生成中间件
php bin/hyperf.php gen:middleware AuthMiddleware
# 生成请求验证类
php bin/hyperf.php gen:request UserRequest
# 启动服务
php bin/hyperf.php start
快速示例
控制器
<?php
declare(strict_types=1);
namespace App\Controller;
use Hyperf\HttpServer\Annotation\Controller;
use Hyperf\HttpServer\Annotation\GetMapping;
#[Controller(prefix: "/api/users")]
class UserController extends AbstractController
{
#[GetMapping("")]
public function index()
{
return $this->response->json(['code' => 0, 'data' => []]);
}
}
模型
<?php
declare(strict_types=1);
namespace App\Model;
use Hyperf\DbConnection\Model\Model;
class User extends Model
{
protected ?string $table = 'users';
protected array $fillable = ['name', 'email'];
}
命令
<?php
declare(strict_types=1);
namespace App\Command;
use Hyperf\Command\Command as HyperfCommand;
use Hyperf\Command\Annotation\Command;
#[Command]
class ImportDataCommand extends HyperfCommand
{
protected ?string $name = 'import:data';
public function handle()
{
$this->info('Processing...');
}
}
服务类
<?php
declare(strict_types=1);
namespace App\Service;
use App\Model\User;
class UserService
{
public function create(array $data): User
{
return User::create($data);
}
}
官方文档参考
详细文档请参考 references/zh-cn/ 目录下的官方文档:
What ships with it
60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/zh-cn/amqp.md 15 KB
- references/zh-cn/annotation.md 12 KB
- references/zh-cn/aop.md 6.9 KB
- references/zh-cn/async-queue.md 16 KB
- references/zh-cn/awesome-components.md 12 KB
- references/zh-cn/cache.md 7.9 KB
- references/zh-cn/changelog/1.0.md 21 KB
- references/zh-cn/changelog/1.1.md 47 KB
- references/zh-cn/changelog/2.0.md 43 KB
- references/zh-cn/changelog/2.1.md 23 KB
- references/zh-cn/changelog/2.2.md 20 KB
- references/zh-cn/changelog/3.0.md 40 KB
- references/zh-cn/changelog/3.1.md 55 KB
- references/zh-cn/circuit-breaker.md 2.7 KB
- references/zh-cn/command.md 12 KB
- references/zh-cn/communication.md 904 B
- references/zh-cn/component-guide/configprovider.md 6.0 KB
- references/zh-cn/component-guide/create.md 913 B
- references/zh-cn/component-guide/intro.md 4.4 KB
- references/zh-cn/config-center.md 10 KB
- references/zh-cn/config.md 11 KB
- references/zh-cn/constants.md 3.8 KB
- references/zh-cn/consul.md 3.8 KB
- references/zh-cn/contribute.md 2.1 KB
- references/zh-cn/controller.md 2.6 KB
- references/zh-cn/coroutine-server.md 2.0 KB
- references/zh-cn/coroutine.md 21 KB
- references/zh-cn/crontab.md 10 KB
- references/zh-cn/dag.md 11 KB
- references/zh-cn/db/db.md 4.2 KB
- references/zh-cn/db/event.md 7.3 KB
- references/zh-cn/db/gen.md 8.6 KB
- references/zh-cn/db/migration.md 19 KB
- references/zh-cn/db/model-cache.md 8.1 KB
- references/zh-cn/db/model.md 18 KB
- references/zh-cn/db/mutators.md 14 KB
- references/zh-cn/db/paginator.md 1.4 KB
- references/zh-cn/db/querybuilder.md 21 KB
- references/zh-cn/db/quick-start.md 14 KB
- references/zh-cn/db/relationship.md 14 KB
- references/zh-cn/db/resource.md 23 KB
- references/zh-cn/devtool.md 1.5 KB
- references/zh-cn/di.md 15 KB
- references/zh-cn/distributed-transaction.md 17 KB
- references/zh-cn/donate.md 1.2 KB
- references/zh-cn/eco/box.md 4.8 KB
- references/zh-cn/elasticsearch.md 1.6 KB
- references/zh-cn/enterprise-service.md 278 B
- references/zh-cn/etcd.md 410 B
- references/zh-cn/event.md 6.5 KB
- references/zh-cn/exception-handler.md 5.7 KB
- references/zh-cn/filesystem.md 9.7 KB
- references/zh-cn/graphql.md 2.3 KB
- references/zh-cn/grpc.md 4.9 KB
- references/zh-cn/guzzle.md 5.3 KB
- references/zh-cn/imgs/alipay.jpg 151 KB
- references/zh-cn/imgs/grafana.png 186 KB
- references/zh-cn/imgs/hyperf-events.svg 34 KB
- references/zh-cn/imgs/snowflake.jpeg 29 KB
- references/zh-cn/imgs/wechat.jpg 99 KB
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 125 lines · 109 tokens per session scan A 6017aca28c6c
hyperf is a skill published in the GitHub repository fanqingxuan/awesome-skills (30 stars, last pushed 6mo ago), licensed MIT. It adds 109 tokens to every session and 730 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
hyperf compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| hyperffanqingxuan/awesome-skills | Skill | 30 | 6mo ago | MIT | A | 109 | Claude Code, Codex |
| laravel-specialistJeffallan/claude-skills | Skill | 12k | 7d ago | MIT | A | 86 | Claude Code |
| php-proJeffallan/claude-skills | Skill | 12k | 7d ago | MIT | A | 107 | Claude Code |
| craftcmsmichtio/craftcms-claude-skills | Skill | 88 | 2d ago | MIT | A | 70 | Claude Code |
| llamaindex-developmentMindrally/skills | Skill | 297 | 29d ago | Apache-2.0 | A | 32 | Claude Code |
| drupal-developmentMindrally/skills | Skill | 297 | 29d ago | Apache-2.0 | A | 25 | Claude Code |
| laravel-developmentMindrally/skills | Skill | 297 | 29d ago | Apache-2.0 | A | 21 | Claude Code |