modular/skills
AI agent · Coding agent · Engineering & development by Modular
Automated model bring-up for MAX via AI agent skills
modular/skills is a set of AI agentic tools for developers to automate bringing Hugging Face models into the MAX framework. It enables AI coding agents to plan, scaffold, and verify model implementations through automated logit-divergence hunting. Choose it to accelerate the path from research models to production-ready MAX architectures.
Agent specs
The full spec card (context, pricing per token, modalities and more) on AntSpace. Sign up free to see the full spec card.
- Launched
- 2026-06-18
Category: AI Agents
- Integrations
- Hugging Face, Claude Code, Codex, Devin, MAX, Mojo
- Programming languages
- Mojo
- Editors and tools
- Terminals via npx command
- Deployment
- Local installation via npx
- Installation Command
- npx skills add modular/skills
- Core Skills
- import-model, debug-model
- Automated model bring-up for MAX framework
- Includes import-model and debug-model skills
- Compatible with Claude Code, Codex, and Devin agents
- Layer-by-layer logit-divergence verification
- Fast path from Hugging Face ID to MAX architecture
Overview
modular/skills is a set of AI agentic tools designed to automate the process of bringing custom models into the MAX framework. Built for AI engineers and developers, it provides a structured workflow to port models from Hugging Face to optimized production infrastructure. The offering includes specific skills like import-model for planning and scaffolding, and debug-model for verifying numerical accuracy. It is designed to work with modern AI coding agents such as Claude Code, Codex, and Devin. By using these skills, teams can reduce the time required to create a working MAX architecture from weeks to hours. The tool was notably used to bring up Tencent’s Hunyuan Hy3-preview model, supporting 192 routed experts.
Model Bring-up Workflow
- Automated Model Planning: The import-model skill guides an AI coding agent to inspect Hugging Face configurations and modeling code to plan a bring-up workflow.
- Architecture Scaffolding: The agent scaffolds the new model implementation from the closest existing MAX architecture to accelerate development.
- Logit-Divergence Verification: The debug-model skill performs a layer-by-layer logit-divergence hunt against a reference implementation to verify outputs.
Developer Tools and Integration
- Agent Compatibility: The skills are designed to work with modern AI coding agents like Claude Code, Codex, and Devin.
- Simple Installation: Developers can install the skills directly using the 'npx skills add modular/skills' command.
- Proven Performance: The skills were used to bring up Tencent’s Hunyuan Hy3-preview model into MAX, supporting 192 routed experts.
What it does
- Inspect Hugging Face configurations and modeling code
- Plan model bring-up workflows
- Scaffold model implementations from existing MAX architectures
- Run layer-by-layer logit-divergence hunts against reference implementations
- Verify model outputs match reference implementations
Published results
- Brought up Tencent’s Hunyuan Hy3-preview model into MAX
Use cases
- AI engineers use the import-model skill to automatically plan the migration of Hugging Face models to the MAX framework.
- Developers use the scaffolding capability to quickly generate model implementations based on existing MAX architectures.
- Teams use the debug-model skill to perform layer-by-layer logit-divergence hunts to ensure numerical accuracy against reference models.
- Coding agents like Claude Code use these skills to automate the end-to-end workflow of model bring-up and verification.
Specifications
- Integrations
- Hugging Face, Claude Code, Codex, Devin, MAX, Mojo
- Programming languages
- Mojo
- Editors and tools
- Terminals via npx command
- Deployment
- Local installation via npx
- Setup
- Instant installation via 'npx skills add modular/skills' command
- Installation Command
- npx skills add modular/skills
- Core Skills
- import-model, debug-model
- Compatible Agents
- Claude Code, Codex, Devin
- Target Framework
- MAX
- Primary Language
- Mojo
- Source Integration
- Hugging Face
How it works
- Installation: The developer installs the skills package using the 'npx skills add modular/skills' command in their terminal.
- Planning and Inspection: The import-model skill inspects Hugging Face configurations and modeling code to create a development plan.
- Implementation Scaffolding: The agent scaffolds the new model implementation based on the closest existing MAX architecture.
- Verification and Debugging: The debug-model skill runs a layer-by-layer logit-divergence hunt against a reference implementation until outputs match.
FAQ
How do I install modular/skills?
The skills are installed using the command 'npx skills add modular/skills' within a terminal environment.
What specific skills are included in the package?
The primary skills included are import-model for planning and scaffolding, and debug-model for verifying output accuracy.
Which AI coding agents are compatible with these skills?
The skills are designed to work with modern AI coding agents such as Claude Code, Codex, and Devin.
How does the tool verify model accuracy?
The debug-model skill performs a layer-by-layer logit-divergence hunt against a reference implementation to ensure the new MAX architecture produces matching outputs.
Added by AntSpace from public sources (modular.com).