deepx-ai/dx-compiler/dx-agent-brainstorm
Claude Code and agent skill by deepx-ai/dx-compiler
- community
Checking that the SKILL.md file is still in the repository.
Brainstorm and plan before compilation tasks
Install
npx vskill@latest install deepx-ai/dx-compiler/dx-agent-brainstormSKILL.md
/dx-agent-brainstorm — Brainstorm & Plan Before Compilation
**RIGID skill. HARD-GATE: No code, no commands, no compilation withoutan approved plan.**
Trigger Words
"plan", "brainstorm", "new model", "compile this", "convert and compile"
Type: RIGID
HARD-GATE skill. You MUST NOT generate config files, run dxcom, run torch.onnx.export, or execute any compilation step until the plan is approved by the user.
Phase 1: Context Check
Gather facts before asking questions. Run silently:
Model Acquisition Rule (MANDATORY)
If NO local .pt, .pth, or .onnx file is found for the requested model:
- Identify the official download source (Ultralytics releases, torchvision,
timm, ONNX Model Zoo, Hugging Face)
- Download the model file into the session working directory
- Proceed with the full compilation pipeline — do NOT stop at providing
download instructions or generating only config.json
The user expects a compiled `.dxnn` file, not a recipe.
Common download methods:
- Ultralytics YOLO:
from ultralytics import YOLO; YOLO("yolo11n.pt") - TorchVision:
torchvision.models.resnet50(weights="DEFAULT") - Timm:
timm.create_model("efficientnet_b0", pretrained=True) - ONNX Model Zoo / Hugging Face:
wgetorhuggingface_hub.hf_hub_download()
Gate: Know the input format and tool availability. If model file is missing, download it before proceeding.
Phase 2: Key Decisions (Ask the User)
Q1 — Conversion needed? If PyTorch (.pt/.pth): "Your model is PyTorch. I'll convert to ONNX with opset 13, batch=1, static shapes. Confirm input shape (e.g., 1,3,640,640)?"
Q2 — Calibration data? DX-COM always quantizes to INT8. There is NO precision selection parameter (no FP16/FP32 option). NEVER ask the user to choose output precision. "Do you have calibration images representative of inference data? How many? (recommend 50-200). Calibration method: EMA (default), MinMax, or IQR?"
Q3 — PPU? (detection models only) "Enable PPU post-processing? Type 0 = anchor-based (YOLOv3-v7), Type 1 = anchor-free (YOLOv8+). Default: OFF."
Q4 — ONNX simplification? "Run onnx-simplifier? May break node names, risk precision loss. Default: NO."
Gate: User answered Q1-Q2 minimum. Q3-Q4 asked if applicable.
Phase 3: Build Execution Plan
Gate: User approves the plan ("looks good", "yes", "go ahead").
Phase 4: Pre-Flight Check
ALL must pass before execution:
Gate: All pre-flight checks pass. If any FAIL, stop and resolve.
Phase 5: Route to Skills
- PyTorch input →
/dx-agent-compiler-convert - ONNX ready →
/dx-agent-compiler-compile - Always →
/dx-agent-compiler-validate - pre_optimize requested, or PPU type 2 / ppu → pre_optimize migration →
/dx-agent-compiler-pre-optimize(before compile)
Anti-Patterns (NEVER Do)
- Starting compilation without asking Q1-Q2
- Running onnx-simplifier without explicit user approval
- Enabling PPU without user opt-in
- Skipping pre-flight checks
- Generating config.json before inspecting ONNX input names
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 repositoryChecking.deepx/skills/dx-agent-brainstorm/SKILL.md
Popularity
- Repository stars
- 1
- Repository forks
- 7
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
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/deepx-ai/dx-compiler/dx-agent-brainstorm)