Midi Generation

Generate MIDI files with GM instruments and music theory. Use when creating music, composing melodies, or generating MIDI files.

37 stars 5 forksImages, Video & Audio

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add tubone24/midi-agent-skill --skill midi-generation
Manual install
git clone --depth 1 https://github.com/tubone24/midi-agent-skill.git /tmp/midi-agent-skill
mkdir -p ~/.claude/skills
cp -r /tmp/midi-agent-skill/. ~/.claude/skills/midi-generation

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# MIDI Generation Skill

Generate MIDI files with proper music theory. **Use the provided Python scripts in `skills/`. Do NOT write custom code.**

## Important Rules

1. **Use provided scripts** in `skills/` directory (Python)
2. **Never write custom Python/JS** for MIDI generation
3. **Install dependencies first**: `pip install midiutil`
4. **Consult music theory resources** when needed (see below)

## Quick Dissonance Rules

**Always follow these to avoid harsh sounds:**

1. **Never play notes 1 semitone apart** (C+C#, E+F, B+C)
2. **Bass plays root or fifth** of the chord
3. **Spread voices across octaves** (don't cluster)
4. **Each track uses different MIDI channel** (automatic)

---

## Music Theory Resources (Read When Needed)

**Only read the resource that matches your current task:**

| When you need... | Read this file |
|------------------|----------------|
| Scales, chords, intervals, cadences | [resources/music-theory.md](resources/music-theory.md) |
| Chord progressions by genre | [resources/chord-progressions.md](resources/chord-progressions.md) |
| Avoiding dissonance, voice spacing | [resources/voice-leading.md](resources/voice-leading.md) |
| **Classical/Baroque counterpoint** | [resources/counterpoint.md](resources/counterpoint.md) |
| Modes (Dorian, Phrygian, etc.) | [resources/modes-scales.md](resources/modes-scales.md) |
| Rhythm, time signatures, syncopation | [resources/rhythm-patterns.md](resources/rhythm-patterns.md) |
Read the full skill on GitHub

Details

Skill name
midi-generation
Repo updated
1 March 2026

FAQ

What does the Midi Generation skill do?

Generate MIDI files with GM instruments and music theory. Use when creating music, composing melodies, or generating MIDI files.

How do I install the Midi Generation skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add tubone24/midi-agent-skill --skill midi-generation. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Midi Generation popular?

It lives in tubone24/midi-agent-skill, which has 37 GitHub stars and 5 forks.

Related skills

Nano Banana Image Skill

37

Emily2040/nano-banana-image-skill

Model-aware image prompting for Nano Banana Pro and Nano Banana 2. Covers generation, editing, continuity, text-in-image, style routing, and structured JSON output.

Images, Video & Audio

Youtube Learn

33

dotanminh/youtube-learn-skill

Phân tích video (YouTube, LinkedIn, Facebook, X, TikTok) theo hướng Belief Archaeology, kết hợp Multimodal phân tích hình ảnh và thế giới quan của người nói.

Images, Video & Audio16

Web Image

38

whyubel1eve/web-image-skill

用前端渲染生成图片 —— 不依赖模型的多模态能力,任何能写 HTML/CSS 的模型 (DeepSeek / Claude / Kimi / GPT 等) 都能用。 当用户要「生成/做/画一张图」且属于以下任意一种时使用:头像、图标、公众号封面、 OG 分享图、Banner/横幅、小红书封面、知识卡片、金句卡、代码片段图、数据卡、 功能发布图、对比图、步骤图、视频封面/缩略图、幻灯片单页、活动海报、名片、 二维码卡、配图、题图、缩略图、poster、cover、thumbnail、banner、avatar。 也用于:批量出多个尺寸/多平台的同一张图;把一段文字/数据/代码变成图; 给文章配图;做一套风格统一的系列图。 支持指定视觉风格,共 32 套:手绘/涂鸦/白板、黑板、水彩、拼贴/剪贴、博物图鉴、 瑞士国际主义、杂志编辑部、报纸、工程蓝图、档案手稿/打字机、包豪斯、装饰艺术 Art Deco、 双色印刷 Riso、粗野主义、孟菲斯、美漫波普、像素 8-bit、千禧 Y2K、蒸汽波、霓虹赛博朋克、 街头海报/喷漆、日式侘寂、中式水墨、国潮/新中式、终端 CLI、极光渐变、玻璃拟态、 奢侈品黑金、极简产品、电影海报、复古未来 70s、极简线条。 用户没指定时主动报 3~4 个候选让他选;说了库里没有的风格就按四步法拆成 token。 产出一个可预览的画板工作台页面,多种画幅并排展

Images, Video & Audio

Xhs Images

43

manwithshit/xhs-images

Xiaohongshu (Little Red Book) infographic series generator with multiple style options. Breaks down content into 1-10 cartoon-style infographics. Use when user asks to create "小红书图片", "XHS images", or "RedNote infographics".

Images, Video & Audio

Autopunk Media Skills

40

ur-grue/autopunk-media-skills

394 production-tested Claude skills for media professionals — TV, journalism, YouTube, podcasts, screenwriting, newsletters, PR, and more

Images, Video & Audio

Sun Felt Wechat Illustrator

41

sunyifeng11111/sun-felt-wechat-illustrator

为中文微信公众号文章分析内容并生成清晰易懂、真实 3D 毛毡质感且图文一体的头条长封面、1:1 分享页封面与正文配图,同时给出每张正文图应插在哪个原句之后。用于用户提供文章、Markdown 或正文,并要求“公众号封面”“分享封面”“方形封面”“毛毡配图”“文章插图”“为正文配图”“只做封面”“生成 N 张配图”“推荐配图数量”等任务;未提供文章标题时默认根据核心命题生成合适的封面文字,正文图未指定画幅时默认 16:9,也支持用户明确指定 4:3 或 3:4,并使用少量毛毡文字帮助单图理解;适配方法论、教程、专业干货、商业科技、情感叙事、个人成长、生活方式、教育与母婴等内容。

Images, Video & Audio

Browse the most popular Claude skills, all images, video & audio skills, or write your own with the skills generator.