hc-skadi/ascendc/ascend-docker
Claude Code and agent skill by hc-skadi/ascendc
- community
- ext:[{"type":"plugin","description":"Custom plugin integration"}]
Checking that the SKILL.md file is still in the repository.
Create Docker containers for Huawei Ascend NPU development with proper device mappings and volume mounts. Use when setting up Ascend development environments in Docker, running CANN applications in containers, or creating isolated NPU development workspaces. Supports privileged mode (default), basic mode, and full mode with profiling/logging. Auto-detects available NPU devices.
Install
npx vskill@latest install hc-skadi/ascendc/ascend-dockerSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as ascend-ai-coding/awesome-ascend-skills/ascend-docker.
Ascend Docker Container
Create Docker containers configured for Huawei Ascend NPU development.
Quick Start
Device Selection
The script auto-detects available NPU devices from /dev/davinci*. Use --device-list to select specific devices:
Check available devices:
Container Modes
1. Privileged Mode (Default)
Maximum permissions, suitable when no specific requirements.
2. Basic Mode
Specific device mapping with network host, for inference workloads.
3. Full Mode
With profiling, logging, dump, and add-ons support.
Mode Comparison
| Feature | Privileged | Basic | Full | |
|---|---|---|---|---|
| Network mode | host | host | - | |
| IPC mode | host | - | host | |
| Device access | All (via privileged) | Selected devices | Selected devices | |
| Profiling support | ✓ | ✗ | ✓ | |
| Dump support | ✓ | ✗ | ✓ | |
| Logging (slog) | ✓ | ✗ | ✓ | |
| Security | Lowest | Higher | Higher |
Device Parameters
| Device | Purpose | |
|---|---|---|
/dev/davinci_manager | NPU device manager | |
/dev/devmm_svm | Device memory management | |
/dev/hisi_hdc | HDC communication device | |
/dev/davinci<N> | Individual NPU devices (0, 1, 2, ...) |
Volume Parameters
| Volume | Purpose | |
|---|---|---|
/usr/local/Ascend/driver | Ascend driver libraries | |
/usr/local/sbin | NPU management tools (npu-smi) | |
/usr/local/Ascend/add-ons | Additional Ascend components | |
/var/log/npu/slog | System logs | |
/var/log/npu/profiling | Profiling data | |
/var/log/npu/dump | Dump data | |
/etc/localtime | Timezone sync | |
/home | User workspace |
Common Images
Container Management
Post-Setup
For self-built images, configure environment variables:
Official References
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingagent-skills/model-agent-skills/ascend/documentation/ascend-docker/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Extension points
pluginCustom plugin integration
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/hc-skadi/ascendc/ascend-docker)