Token导航 LogoToken导航TokenDH.com
研究检索external-serviceclawhub未标认证来源可访问clear审计通过

kernelgen-flagos内核根 flagos

Agent Skill

kernelgen-flagos 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

4,260

周安装

174

GitHub Stars

公开资料未说明

下载量

1,364
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:kernelgen-flagos(内核根 flagos)
来源仓库:https://github.com/wbavon/kernelgen-flagos
安装命令:
openclaw skills install kernelgen-flagos
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install kernelgen-flagos

简介

统一 GPU 内核算子生成器,自动识别 FlagGems/vLLM/Python 项目类型。

  • 适用于深度学习推理加速与自定义算子优化开发场景。
  • 分派生成任务至对应后端,提升模型部署效率与硬件利用率。
  • 需 CUDA 环境与正确驱动版本支持,建议 NVIDIA GPU ≥10 系列。
  • 生成代码需人工审核后集成进主工程,避免直接替换引发崩溃。

SKILL.md

name
kernelgen-flagos
description
>
argument-hint
<operator_name> [--func-type <type>]
user-invokable
true
compatibility
Python 3.8+, PyTorch with CUDA, Triton
metadata
version
1.0.0
author
flagos-ai
category
gpu-kernel-generation
tags
[kernelgen, triton, gpu, mcp, operator-generation, flaggems, vllm, feedback]
allowed-tools

kernelgen-flagos — Unified GPU Operator Generation Skill

This is a unified entry point that bundles four sub-skills into one:

Sub-skill filePurpose
kernelgen-general.mdGenerate GPU kernels for any Python/Triton repository
kernelgen-for-flaggems.mdSpecialized generation for FlagGems repositories
kernelgen-for-vllm.mdSpecialized generation for vLLM repositories
kernelgen-submit-feedback.mdSubmit bug reports and feedback via GitHub or email

All sub-skill files are located in the same directory as this SKILL.md file.


Routing Protocol — Follow This BEFORE Doing Anything Else

Phase 1: Detect Repository Type

Use the Glob tool to check for project identity files in the current working directory:

Glob: pyproject.toml
Glob: setup.py
Glob: setup.cfg

Then use the Read tool to read whichever file exists. Determine the project name from the file contents (e.g., name = "flag_gems" in pyproject.toml, or name='vllm' in setup.py).

Also use the Glob tool to check for characteristic directory structures:

FlagGems indicators (match ANY):

  • src/flag_gems/ directory exists
  • Project name is flag_gems or flag-gems or FlagGems
  • import flag_gems appears in test files

vLLM indicators (match ANY):

  • vllm/ directory exists at the repo root (with vllm/__init__.py)
  • Project name is vllm
  • csrc/ directory exists alongside vllm/

Phase 2: Dispatch to Sub-skill

Based on the detection result, use the Read tool to read the appropriate sub-skill file from this skill's directory, then follow the instructions in that file exactly.

To locate the sub-skill files: They are in the same directory as this SKILL.md. Use the Glob tool to find the path:

Glob: **/skills/kernelgen-flagos/kernelgen-general.md

Then use the Read tool to read the matched path.

Decision Table

Detection ResultAction
FlagGems repository detectedRead kernelgen-for-flaggems.md and follow it
vLLM repository detectedRead kernelgen-for-vllm.md and follow it
Neither detected (or unknown)Read kernelgen-general.md and follow it
User reports a bug or requests feedback submissionRead kernelgen-submit-feedback.md and follow it

Important rules:

  1. Always detect first, dispatch second. Never skip detection.
  2. Read the entire sub-skill file before starting execution — do not partially read it.
  3. Follow the sub-skill instructions exactly as if they were the main SKILL.md. All steps,

rules, and protocols in the sub-skill apply fully.

  1. Do not mix sub-skills. Once you dispatch to a sub-skill, follow it to completion.
  2. If the user explicitly requests a specific sub-skill (e.g., "use the FlagGems version"),

honor that request regardless of auto-detection results.

  1. CRITICAL — MCP is mandatory: ALL operator code generation MUST go through the

mcp__kernelgen-mcp__generate_operator MCP tool. NEVER generate Triton kernels, PyTorch wrappers, or operator implementations yourself. If MCP is not configured, not reachable, or fails after all retries, STOP and report the issue — do NOT fall back to writing code manually.

Phase 3: Feedback Handling

At any point during the workflow, if the user reports a bug, says something is broken, or asks to submit feedback about the skill:

  1. Use the Read tool to read kernelgen-submit-feedback.md from this skill's directory.
  2. Follow the feedback submission workflow described in that file.
  3. After feedback is submitted, ask the user if they want to continue with the operator

generation workflow or stop.


Quick Reference for Users

# Generate a kernel operator (auto-detects repo type)
/kernelgen-flagos relu

# Generate with explicit function type
/kernelgen-flagos rms_norm --func-type normalization

# The skill will automatically:
# - Detect if you're in a FlagGems repo → use FlagGems-specific workflow
# - Detect if you're in a vLLM repo → use vLLM-specific workflow
# - Otherwise → use the general-purpose workflow

If you encounter any issues during generation, just say "submit feedback" or "report a bug" and the skill will guide you through the feedback submission process.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

92.01%
按下载量换算1,255

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills