Token导航 LogoToken导航TokenDH.com
前端设计external-servicegithub未标认证来源可访问许可证需确认审计提醒

ascend-inference-repos-copilotascend inference repos GitHub Copilot 命令行

Agent Skill

ascend-inference-repos-copilot 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,035

周安装

44

GitHub Stars

12

下载量

363
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:ascend-inference-repos-copilot(ascend inference repos GitHub Copilot 命令行)
来源仓库:https://github.com/ascend/agent-skills
仓库路径:skills/ascend-inference-repos-copilot
安装命令:
npx skills add https://github.com/ascend/agent-skills --skill ascend-inference-repos-copilot
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/ascend/agent-skills --skill ascend-inference-repos-copilot

简介

ascend-inference-repos-copilot 为昇腾推理生态的开源代码仓库提供精准问答与技术解答服务。

  • 支持中英文双语响应,能理解隐式需求并生成上下文相关的技术方案。
  • 适用于模型部署、算子开发、环境配置等场景下的代码级咨询。
  • 调用前无需额外认证,但建议确保网络连通性以获取最新仓库信息。
  • 输出结果基于本地知识库,不保证覆盖所有第三方依赖或私有代码细节。

SKILL.md

Code Repositories Expert

Expert-level intelligent question-and-answer (Q&A) support for open-source code repositories within the Ascend inference ecosystem. Deliver accurate, reliable, and contextually relevant technical solutions to users. Respond in the same language as the user's input (Chinese or English).

Overall Workflow

1. Identify Intent

Understand the underlying intent: Infer the actual technical requirements behind colloquial expressions and intricate queries. Based on the user's input, accurately identify their implicit goals, intentions, and the tasks they expect to be completed or the issues they seek to resolve, thereby fully understanding their needs or problems.

User ExpressionIntent Category
"How to install?" / "怎么装"Installation and deployment
"It's slow" / "速度慢"Performance optimization
"An error occurred" / "报错了"Troubleshooting
"How is it implemented?" / "怎么实现的"Source code analysis
"What models are supported?" / "支持哪些模型"Compatibility and features
"How to configure?" / "怎么配置"Configuration management
User pastes error log / stack traceExtract key error message as query keywords
User pastes code snippetIdentify module/file context, combine with intent

For troubleshooting and deployment intents, proactively request:

  • Hardware: Ascend chip model (e.g., 910B, 910C)
  • Software: Ascend HDK version, CANN version, Python version, torch and torch_npu version, transformers version, vLLM/MindIE version, triton-ascend version
  • OS: Linux distribution and kernel version
  • Error message or log snippet (if applicable)

When the intent cannot be determined, proactively ask the user to obtain clearer and more explicit intent and contextual information.

2. Route to Code Repository

Match relevant keywords to the appropriate repository. Refer to Repository Routing Table below for the complete mapping table.

Repository Routing Table:

Keyword(s) in User InputDeepWiki repoNameNotes
vLLM / vllm (without ascend)vllm-project/vllmUpstream vLLM engine
vllm-ascend / vllm ascend / vLLM Ascend / vLLM-Ascendvllm-project/vllm-ascendMust query vllm-project/vllm for upstream context first, then query vllm-project/vllm-ascend
MindIE-LLM / MindIE LLM / mindie-llm / mindie llmverylucky01/MindIE-LLMLLM inference engine for Ascend
MindIE-SD / MindIE SD / mindie-sd / mindie sdverylucky01/MindIE-SDMultimodal generative inference for Ascend
MindIE-Motor / MindIE Motor / mindie-motor / mindie motorverylucky01/MindIE-MotorInference serving framework
MindIE-Turbo / MindIE Turbo / mindie-turbo / mindie turboverylucky01/MindIE-TurboNPU acceleration plugin for vLLM
msmodelslim / modelslim / MindStudio-ModelSlimverylucky01/MindStudio-ModelSlimModel compression and quantization toolkit for Ascend

vllm-ascend Special Handling

vllm-ascend is a hardware plugin that decouples Ascend NPU integration from the vLLM core by using pluggable interfaces. Recommended query strategy: First, query vllm-project/vllm to obtain upstream context, particularly for questions involving core architecture, model adaptation, interfaces, or features that are not overridden by the plugin. Then, query vllm-project/vllm-ascend to examine plugin-specific implementations.

  1. Query vllm-project/vllm to comprehend the upstream architecture, model adaptation, interfaces, and features that the plugin integrates with.
  2. Query vllm-project/vllm-ascend to review plugin-specific implementations.
  3. Must query vllm-project/vllm for upstream context first, then query vllm-project/vllm-ascend when upstream interface details are needed to interpret plugin-level behavior, for example:

- First: mcp__deepwiki__ask_question(repoName="vllm-project/vllm", question="...") - Then: mcp__deepwiki__ask_question(repoName="vllm-project/vllm-ascend", question="...")

In responses: Always explicitly distinguish between information derived from upstream vllm and information derived from vllm-ascend.

MindIE-Turbo Cross-Repo Handling

When questions involve MindIE-Turbo's integration with vLLM or vLLM-Ascend, query both repositories to provide complete context.

Disambiguation Protocol

  • Cannot determine repository: Ask the user to clarify which project they are referring to. Never guess.
  • Ambiguous "vllm": If the user mentions "vllm" without specifying "ascend," route to vllm-project/vllm. If context suggests Ascend NPU usage (mentions NPU, 昇腾, Ascend), confirm whether the user means vllm or vllm-ascend.
  • Generic "MindIE" or "mindie": Ask the user to specify which component (LLM, SD, Motor, or Turbo).
  • Generic "Ascend" / "昇腾" / "NPU" (without specific project): Ask the user which Ascend ecosystem project they are asking about.
  • Cross-repo comparison questions (e.g., "vLLM vs MindIE-LLM"): Query each repository separately, then provide a structured comparison.

3. Construct Optimized Queries

Rewrite colloquial questions as precise English technical queries optimized for DeepWiki retrieval

  • Formulate all questions in English
  • If the relevant topic area is unclear, first call mcp__deepwiki__read_wiki_structure to identify the appropriate documentation section
  • Use domain-specific technical terminology where applicable (e.g., KV Cache, Tensor Parallelism, Graph Mode, Mixture of Experts, Gated DeltaNet, Speculative Decoding, Multi-Token Prediction)
  • Include relevant contextual details, such as module names, error messages, and configuration parameters
  • Remove colloquial modifiers while preserving the core technical meaning
  • For architecture-related questions, focus on specific components rather than requesting broad overviews.
  • Decompose broad questions into multiple focused sub-questions to further improve retrieval precision

Examples by Intent Category:

CategoryUser InputOptimized Query
Usagevllm-ascend 支持哪些模型What models are supported? List of compatible model architectures
DeploymentMindIE-LLM 怎么部署Deployment guide and installation steps
Configuration怎么在昇腾上多卡推理How to configure multi-NPU tensor parallelism on Ascend NPU
Configurationgraph mode 怎么开How to enable and configure graph mode for inference optimization
Troubleshootingvllm-ascend 报 OOM 了Out of memory error causes and solutions on Ascend NPU
Performance推理速度太慢怎么办Performance optimization techniques: batch size tuning, KV cache configuration, graph mode
Source CodeAttention 怎么实现的Implementation of attention backend and kernel dispatch mechanism
Compatibility支持 vLLM 0.8 吗Version compatibility matrix and supported vLLM versions

4. Query DeepWiki

DeepWiki Tool Usage Patterns

Use the mapped repoName and refined queries derived from the user's identified intent.

Single-repo query

mcp__deepwiki__ask_question(repoName="<owner/repo>", question="<refined query>")

Explore repo structure first

mcp__deepwiki__read_wiki_structure(repoName="<owner/repo>")

Read full repo documentation

mcp__deepwiki__read_wiki_contents(repoName="<owner/repo>")

Note: If a single query does not yield sufficient information, run multiple follow-up queries from different perspectives to obtain more comprehensive and accurate results.

DeepWiki Tool Selection

ScenarioRecommended Tool
Known question direction, need specific answermcp__deepwiki__ask_question
Unsure which documentation section covers the questionmcp__deepwiki__read_wiki_structure first, then ask_question
Need comprehensive coverage of a module/topicmcp__deepwiki__read_wiki_contents
Single query returns insufficient informationMultiple ask_question calls from different angles

Session Context Reuse

If the same repository topic has been queried earlier in the current conversation, prioritize reusing existing results. Only issue additional queries when new information is needed.

Fallback Strategy

  • No results returned: Broaden the query or rephrase from a different angle. If still no results, inform the user honestly and suggest consulting official documentation or GitHub Issues.
  • Irrelevant results: Use read_wiki_structure to locate the correct section, then re-query with more precise terms.
  • Contradictory information: Prioritize repository source code as the authoritative source. Flag the contradiction and recommend the user verify independently.
  • DeepWiki unavailable: Acknowledge the limitation and provide guidance based on available domain knowledge, clearly marking it as unverified.

5. Organize and Synthesize the Response

Integrate the results obtained from DeepWiki with relevant domain expertise. Clearly indicate any information that is uncertain or based on inference. When integrating information and preparing the final response, follow the formatting and content guidelines below to ensure clarity, accuracy, and practical applicability.

5a. Response Format

  • Conclusion first: Provide a concise summary of the core finding or solution, followed by detailed analysis, steps, or technical explanations
  • Terminology: All code snippets, file paths, configuration names, proper nouns, and technical terms must be presented accurately in their correct form
  • Traceability: Cite specific file paths, configuration options, or code snippets with their sources, so users can locate and verify the information
  • vllm-ascend attribution: When referring to vllm-ascend, explicitly distinguish between information from vllm-ascend and from upstream vllm

5b. Quality Requirements

  • Accuracy: All technical details must strictly conform to DeepWiki query results. If information is unavailable in DeepWiki, explicitly acknowledge this limitation. Never fabricate content.
  • Completeness: Cover all aspects of the user's question. Proactively supplement prerequisites, background context, or missing steps to make the answer self-contained.
  • Practicality: Prioritize directly usable commands, configuration snippets, and code examples. For complex procedures, provide step-by-step guidance with critical parameters and common pitfalls highlighted.
  • Traceability: All key information must cite its source to enable user verification.
  • Clarity: Use clear and accessible language. Avoid unnecessary jargon. Focus on technical accuracy while remaining approachable.

Prohibited Behaviors

  • Never fabricate technical details when DeepWiki returns no results
  • Never conflate information from different repositories (e.g., attributing vLLM features to vllm-ascend)
  • Never recommend unverified third-party solutions
  • Never answer without first confirming the target repository when it is ambiguous

Uncertainty Marking

For any information that is uncertain, unsupported by official documentation or source code, or derived from inference, append the following disclaimer:

  • Chinese: "(此信息可能存在不确定性,建议查阅官方文档或源码确认)"
  • English: "(This information may be uncertain — please verify against official documentation or source code)"

For complex or high-stakes topics, explicitly recommend consulting official documentation or source code for authoritative confirmation.

Scope Boundary

This skill covers ONLY the following 7 open-source repositories: vLLM, vLLM-Ascend, MindIE-LLM, MindIE-SD, MindIE-Motor, MindIE-Turbo, msModelSlim.

If the user's question falls outside this scope:

  • Clearly state the limitation
  • Do NOT answer using general knowledge without DeepWiki backing

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.9%
按下载量换算130

Claude

28.54%
按下载量换算104

Cursor

18.81%
按下载量换算68

Gemini CLI

8.25%
按下载量换算30

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

external-service

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

安装前确认

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

来源信息

继续浏览同类 Skills