Agent skill

AI For Science Generator

by ascend-ai-coding in ascend-ai-coding/awesome-ascend-skills

GENERator DNA 序列生成模型的昇腾 NPU 迁移 Skill,适用于将基于 HuggingFace Transformers 的 Causal LM 从 CUDA 迁移到华为 Ascend NPU,覆盖环境搭建、依赖安装、代码适配、多进程处理和 sequence recovery 验证。

No licenceAuto-check passedAI & LLM Engineering

Install AI For Science Generator

skills CLI
$ npx skills add ascend-ai-coding/awesome-ascend-skills --skill ai-for-science-generator -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ascend-ai-coding/awesome-ascend-skills ai-for-science-generator --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ascend-ai-coding/awesome-ascend-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/ai-for-science/models/generator .claude/skills/ai-for-science-generator && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
ai-for-science-generator
GitHub stars
174
Token cost
~827 tokens
SKILL.md length
115 words
Files
3 (incl. scripts, references)
Skills in repo
70
Repo updated
First seen
Licence
None found

At a glance

GENERator DNA 序列生成模型的昇腾 NPU 迁移 Skill,适用于将基于 HuggingFace Transformers 的 Causal LM 从 CUDA 迁移到华为 Ascend NPU,覆盖环境搭建、依赖安装、代码适配、多进程处理和 sequence recovery 验证。

  • Works in 6 steps: 环境初始化 → 创建 Conda 环境 → 安装依赖 → …
  • AI & LLM Engineering work in your project
  • SKILL.md covers 前置条件, 迁移步骤, 配套脚本 and 参考资料
  • Runs Python scripts from its folder; calls pip, conda and python; reaches repo.huaweicloud.com and hf-mirror.com

What it does

AI For Science Generator is an agent skill from ascend-ai-coding/awesome-ascend-skills. GENERator DNA 序列生成模型的昇腾 NPU 迁移 Skill,适用于将基于 HuggingFace Transformers 的 Causal LM 从 CUDA 迁移到华为 Ascend NPU,覆盖环境搭建、依赖安装、代码适配、多进程处理和 sequence recovery 验证。

Its SKILL.md is about 830 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts and reference files (for example `references/runtime-adaptation.md` and `scripts/validate_generator_env.py`).

It sits in AI & LLM Engineering. It works with CUDA and Transformers. The repository describes itself as: A comprehensive knowledge base for Huawei Ascend NPU development, structured as distributed Agent Skills. https://ascend-ai-coding.github.io/awesome-ascend-skills/.

When your agent uses it

  • AI & LLM Engineering work in your project

Example prompts

  • “/ai-for-science-generator”

Requirements

  • Python 3

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. 环境初始化
  2. 创建 Conda 环境
  3. 安装依赖
  4. 代码适配
  5. 验证
  6. 注意事项

What it can do on your machine

Read from SKILL.md and the folder at commit 62a4ecb. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • pip
    • conda
    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • repo.huaweicloud.com
    • hf-mirror.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

AI For Science Generator loads about 827 tokens when it runs, and up to ~987 if it reads all its reference files. Until then it costs about 44 tokens; SKILL.md has 115 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~44
When it runs · the whole SKILL.md, loaded when a task matches
~827
With references · SKILL.md plus every file in references/, read only if the agent opens them
~987

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 115 words (~827 tokens).

name
ai-for-science-generator
keywords
ai-for-science, generator, dna, causal-lm, transformers, ascend

Read the full SKILL.md on GitHub

Files

SKILL.md and 2 other files (scripts, references) in skills/ai-for-science/models/generator of ascend-ai-coding/awesome-ascend-skills.

  • SKILL.md
  • references/runtime-adaptation.md
  • scripts/validate_generator_env.py

Open the folder on GitHubat commit 62a4ecb

Compare with similar skills

AI For Science Generator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

AI For Science Generator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
AI For Science Generator this skillascend-ai-coding/awesome-ascend-skills174—~827Automated safety check: PassNone
Sglang Prod Incident Triagesgl-project/sglang37k3 repos~2.1kAutomated safety check: PassApache-2.0
Paddle BuildPaddlePaddle/Paddle24k—~1kAutomated safety check: PassApache-2.0
Paddle Design CompilerPaddlePaddle/Paddle24k—~3.6kAutomated safety check: PassApache-2.0
Fastllm Triton Opsztxz16/fastllm5.1k—~1.8kAutomated safety check: PassApache-2.0
Cuda Index Widthpytorch/pytorch104k—~1.6kAutomated safety check: PassCustom licence

Similar skills

  • Sglang Prod Incident Triage

    sgl-project/sglang

    Replay-first debug flow for SGLang serving problems. An agent skill from sgl-project/sglang.

    37k GitHub starsUsed in 3 repos~2.1k tokens
    AI & LLM EngineeringAuto-check passed
  • Paddle Build

    PaddlePaddle/Paddle

    A skill your agent uses when needing to compile, rebuild, or install Paddle from source after code changes.

    24k GitHub stars~1k tokensUpdated 8 days ago
    AI & LLM EngineeringAuto-check passed
  • Paddle Design Compiler

    PaddlePaddle/Paddle

    A skill your agent uses when working with Paddle 3.0 compiler full pipeline: SOT (Symbolic Opcode Translator) for bytecode-level dy2st graph capture, PIR (Paddle IR) for SSA-based intermediate…

    24k GitHub stars~3.6k tokensUpdated 8 days ago
    AI & LLM EngineeringAuto-check passed
  • Fastllm Triton Ops

    ztxz16/fastllm

    Guide for adding Triton-backed CUDA operators to FastLLM. An agent skill from ztxz16/fastllm.

    5.1k GitHub stars~1.8k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • Cuda Index Width

    pytorch/pytorch

    Choose 32-bit vs 64-bit index math in PyTorch CUDA kernels. An agent skill from pytorch/pytorch.

    104k GitHub stars~1.6k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Official

    Runs evaluations of Hugging Face Hub models on local hardware with inspect-ai or lighteval, and helps choose between vLLM, Transformers and accelerate backends.

    11k GitHub starsUsed in 2 repos~1.6k tokens
    AI & LLM EngineeringAuto-check passed

More from ascend-ai-coding/awesome-ascend-skills

All 70 skills in this repo
  • Ascend Dmi

    ascend-ai-coding/awesome-ascend-skills

    当用户需要对华为昇腾 NPU 进行硬件层面的管理、测试或诊断时使用此 skill。典型场景: - 查看 NPU 卡的状态、温度、利用率 - 测试内存带宽(h2d/d2h/d2d/p2p) - 跑算力/功耗基准测试(TFLOPS、TOPS) - 诊断 NPU 硬件故障或做健康检查 - 对 NPU 卡做压力测试(aicore、内存) - 复位/恢复卡住或异常的 NPU 卡 典型用户问题(即使不提…

    174 GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Ascendc

    ascend-ai-coding/awesome-ascend-skills

    End-to-end AscendC custom operator development for Ascend NPU in an ascend-kernel (csrc/ops + build.sh + torchnpu PyTorch custom op) project.

    174 GitHub stars~3.5k tokensUpdated today
    Auto-check passed
  • Atc Model Converter

    ascend-ai-coding/awesome-ascend-skills

    Complete toolkit for Huawei Ascend NPU model conversion and end-to-end inference adaptation.

    174 GitHub stars~4.6k tokensUpdated today
    Auto-check passed
  • External Cannbot Ops Pypto Op Develop

    ascend-ai-coding/awesome-ascend-skills

    当需要编写 PyPTO 算子实现时使用此 skill。基于需求规格、设计方案和参考实现,生成完整可运行的 PyPTO 算子实现与配套测试、文档。Triggers: 实现算子、写 kernel、编写实现、写 impl、算子编码、开始编码、code the op、写 test、生成测试、写实现代码、op develop、kernel 实现。

    174 GitHub stars~2.1k tokensUpdated today
    Auto-check passed
  • External Gitcode Ascend Megatron Change Analyzer

    ascend-ai-coding/awesome-ascend-skills

    Analyze official Megatron-LM commits, PRs, and branch change sets to identify feature evolution, candidate breaking changes, and migration-relevant events.

    174 GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • External Gitcode Ascend Megatron Commit Tracker

    ascend-ai-coding/awesome-ascend-skills

    Track and normalize change requests against the official Megatron-LM repository by branch, PR, commit, commit range, or time window.

    174 GitHub stars~1.1k tokensUpdated today
    Auto-check passed

Questions about AI For Science Generator

What does AI For Science Generator do?

GENERator DNA 序列生成模型的昇腾 NPU 迁移 Skill,适用于将基于 HuggingFace Transformers 的 Causal LM 从 CUDA 迁移到华为 Ascend NPU,覆盖环境搭建、依赖安装、代码适配、多进程处理和 sequence recovery 验证。. AI For Science Generator is an agent skill from ascend-ai-coding/awesome-ascend-skills.

When should I use AI For Science Generator?

AI For Science Generator fits situations like: AI & LLM Engineering work in your project.

How do I install AI For Science Generator in Claude Code?

Run `npx skills add ascend-ai-coding/awesome-ascend-skills --skill ai-for-science-generator -a claude-code`. Or copy the skill folder (skills/ai-for-science/models/generator in ascend-ai-coding/awesome-ascend-skills) into .claude/skills/ai-for-science-generator in your project. Claude Code loads it when a task matches its description.

How do I install AI For Science Generator in Codex?

Run `npx skills add ascend-ai-coding/awesome-ascend-skills --skill ai-for-science-generator -a codex`. Or copy the skill folder (skills/ai-for-science/models/generator in ascend-ai-coding/awesome-ascend-skills) into .agents/skills/ai-for-science-generator in your project. Codex loads it when a task matches its description.

Can I use AI For Science Generator in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ascend-ai-coding/awesome-ascend-skills --skill ai-for-science-generator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ai-for-science-generator, .gemini/skills/ai-for-science-generator, .github/skills/ai-for-science-generator and .opencode/skills/ai-for-science-generator in your project.

What does AI For Science Generator need to run?

Going by SKILL.md and its folder, AI For Science Generator needs Python for the scripts in its folder and the command-line tools its instructions call (pip, conda and python). Our summary lists: Python 3.

Does AI For Science Generator access the network?

SKILL.md names 2 domains. In commands or code: repo.huaweicloud.com and hf-mirror.com; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.

Is AI For Science Generator safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does AI For Science Generator use?

No licence was found for AI For Science Generator or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does AI For Science Generator use?

About 827 tokens (SKILL.md is roughly 3.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 160 tokens, read only when the agent opens those files.

What are the alternatives to AI For Science Generator?

Skills that share tags, products or a category with AI For Science Generator: Sglang Prod Incident Triage (sgl-project/sglang, 37k stars), Paddle Build (PaddlePaddle/Paddle, 24k stars), Paddle Design Compiler (PaddlePaddle/Paddle, 24k stars) and Fastllm Triton Ops (ztxz16/fastllm, 5.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains AI For Science Generator?

ascend-ai-coding (a GitHub organization) maintains it in ascend-ai-coding/awesome-ascend-skills, which has 174 GitHub stars. The repository holds 70 skills in this directory. The repository was last updated on October 8, 2026.

Source: ascend-ai-coding/awesome-ascend-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.