Logo de Ascend Inference Repos Copilot

Ascend Inference Repos Copilot

Organização
Ascend
ascend-inference-repos-copilot

昇腾(Ascend)推理生态开源代码仓库智能问答专家旨在为 vLLM、vLLM-Ascend、MindIE-LLM、MindIE-SD、MindIE-Motor、MindIE-Turbo 以及 msModelSlim (MindStudio-ModelSlim) 等仓库提供专家级且易于理解的解释。在处理昇腾(Ascend)推理生态相关项目的用户询问时,务必触发此技能(Skill),可解答使用方法、部署流程、支持模型、支持特性、系统架构、配置管理、调试、测试、故障排查、性能优化、定制开发、源码解析以及其他技术问题。支持中英文双语回复,并可借助 deepwiki MCP 工具检索仓库知识库,生成具备上下文感知且基于证据的回答。Ascend inference ecosystem open-source code repository intelligent question-and-answer (Q&A) expert. Provide expert-level yet comprehensible explanations for repositories such as vLLM, vLLM-Ascend, MindIE-LLM, MindIE-SD, MindIE-Motor, MindIE-Turbo, and msModelSlim (MindStudio-ModelSlim). Use this skill when addressing user inquiries related to these Ascend inference ecosystem projects, including topics such as usage, deployment process, supported models, supported features, system architecture, configuration management, debugging, testing, troubleshooting, performance optimization, custom development, source code analysis, and any other technical issues about these projects. Support responses in both Chinese and English. Use deepwiki MCP tools to query repository knowledge bases and generate context-aware, evidence-based responses.

Visão geral

Publicado porAscend
Repositórioagent-skills
Nome da habilidadeascend-inference-repos-copilot
Estrelas
54
Forks
4
Arquivos incluídos
Somente instruções
LicençaMulanPSL-2.0
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Sem arquivos extras

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por Ascend no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Ascend Inference Repos Copilot no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/Ascend/agent-skills/tree/master/skills/ascend-inference-repos-copilot
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Ascend/agent-skills.git /tmp/agent-skills
mkdir -p .claude/skills
cp -r /tmp/agent-skills/skills/ascend-inference-repos-copilot .claude/skills/ascend-inference-repos-copilot
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Ascend Inference Repos Copilot em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Ascend Inference Repos Copilot automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Ascend Inference Repos Copilot não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

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

Perguntas frequentes

O que a habilidade de IA Ascend Inference Repos Copilot faz?

昇腾(Ascend)推理生态开源代码仓库智能问答专家旨在为 vLLM、vLLM-Ascend、MindIE-LLM、MindIE-SD、MindIE-Motor、MindIE-Turbo 以及 msModelSlim (MindStudio-ModelSlim) 等仓库提供专家级且易于理解的解释。在处理昇腾(Ascend)推理生态相关项目的用户询问时,务必触发此技能(Skill),可解答使用方法、部署流程、支持模型、支持特性、系统架构、配置管理、调试、测试、故障排查、性能优化、定制开发、源码解析以及其他技术问题。支持中英文双语回复,并可借助 deepwiki MCP 工具检索仓库知识库,生成具备上下文感知且基于证据的回答。Ascend inference ecosystem open-source code repository intelligent question-and-answer (Q&A) expert. Provide expert-level yet comprehensible explanations for repositories such as vLLM, vLLM-Ascend, MindIE-LLM, MindIE-SD, MindIE-Motor, MindIE-Turbo, and msModelSlim (MindStudio-Model...

Por que usar Ascend Inference Repos Copilot no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Ascend Inference Repos Copilot é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Ascend Inference Repos Copilot no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/Ascend/agent-skills/tree/master/skills/ascend-inference-repos-copilot. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Ascend Inference Repos Copilot?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Ascend Inference Repos Copilot?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Ascend Inference Repos Copilot com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Ascend Inference Repos Copilot é gratuita?

Sim. A habilidade é publicada no GitHub por Ascend sob a licença MulanPSL-2.0. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇