搜索

PythonReactSEOPDF
OpenClaw

guitar-chord

Guitar chord toolkit with chord identification, chord diagrams, capo calculation, and more. Features: - Identify chord from notes (reverse lookup) - Look up notes and diagrams from chord name - View chord inversions - View scales and scale diagrams - Capo transposition calculator

deantiwang0 来源安装数☆ 0 仓库 Starsv1.0.1

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install deantiwang/guitar-chord

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

Guitar Chord Tool

1. Forward Lookup (Chord Name → Notes)

python3 chord_identifier.py <chord_name>

Example:

python3 chord_identifier.py Cmaj7
→ **Cmaj7**
  Notes: C, E, G, B

2. With Chord Diagram

python3 chord_identifier.py <chord_name> --diagram

3. Reverse Lookup (Notes → Chord Name)

python3 chord_identifier.py --identify <note1> [note2] ...

Example:

python3 chord_identifier.py --identify C E G B
→ Result:
  • Cmaj7

4. Chord Inversions

python3 chord_identifier.py --inversion <chord_name>

Example:

python3 chord_identifier.py --inversion C7
→ **C7** inversions:
  Root: C, E, G, A#
  1st: E, G, A#, C
  2nd: G, A#, C, E
  3rd: A#, C, E, G

5. Scale Lookup

python3 chord_identifier.py --scale "<scale>"
python3 chord_identifier.py --scale "<scale>" --diagram

Supported scales:

  • major, minor, harmonic_minor, melodic_minor
  • pentatonic_major, pentatonic_minor, blues
  • dorian, phrygian, lydian, mixolydian, locrian

Example:

python3 chord_identifier.py --scale "C major"
→ **C Major**
  Scale: C, D, E, F, G, A, B

6. Capo Calculator

Formula: Actual Pitch = Open Chord Pitch + Capo Fret

Quick Reference:

Chord 1st 2nd 3rd 4th
C C#/Db D D#/Eb E
G G#/Ab A A#/Bb C
Am A#/Bb B C C#/Db

Supported Chord Types

  • Triads: major, minor, diminished, augmented, sus2, sus4
  • Sevenths: maj7, 7, m7, m7b5, dim7, aug7, maj7#5, 7#5, 7b5, mMaj7
  • Ninths: maj9, 9, m9

Note Formats

Supports:

  • Natural: C, D, E, F, G, A, B
  • Sharps: C#, D#, F#, G#, A#
  • Flats: Db, Eb, Gb, Ab, Bb
  • Symbols: ♯ (sharp), ♭ (flat)
  • Case insensitive

来源信息

Source
github
Repository
openclaw/skills
Path
skills/deantiwang/guitar-chord
Version
1.0.1
Commit
60b3c48d129d8870f5fd49b0a36fb3b8cf7f7c4a
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
# Guitar Chord Tool

## 1. Forward Lookup (Chord Name → Notes)

```bash
python3 chord_identifier.py <chord_name>
```

Example:
```
python3 chord_identifier.py Cmaj7
→ **Cmaj7**
  Notes: C, E, G, B
```

## 2. With Chord Diagram

```bash
python3 chord_identifier.py <chord_name> --diagram
```

## 3. Reverse Lookup (Notes → Chord Name)

```bash
python3 chord_identifier.py --identify <note1> [note2] ...
```

Example:
```
python3 chord_identifier.py --identify C E G B
→ Result:
  • Cmaj7
```

## 4. Chord Inversions

```bash
python3 chord_identifier.py --inversion <chord_name>
```

Example:
```
python3 chord_identifier.py --inversion C7
→ **C7** inversions:
  Root: C, E, G, A#
  1st: E, G, A#, C
  2nd: G, A#, C, E
  3rd: A#, C, E, G
```

## 5. Scale Lookup

```bash
python3 chord_identifier.py --scale "<scale>"
python3 chord_identifier.py --scale "<scale>" --diagram
```

Supported scales:
- `major`, `minor`, `harmonic_minor`, `melodic_minor`
- `pentatonic_major`, `pentatonic_minor`, `blues`
- `dorian`, `phrygian`, `lydian`, `mixolydian`, `locrian`

Example:
```
python3 chord_identifier.py --scale "C major"
→ **C Major**
  Scale: C, D, E, F, G, A, B
```

## 6. Capo Calculator

Formula: **Actual Pitch = Open Chord Pitch + Capo Fret**

Quick Reference:
| Chord | 1st | 2nd | 3rd | 4th |
|-------|-----|-----|-----|-----|
| C | C#/Db | D | D#/Eb | E |
| G | G#/Ab | A | A#/Bb | C |
| Am | A#/Bb | B | C | C#/Db |

## Supported Chord Types

- **Triads**: major, minor, diminished, augmented, sus2, sus4
- **Sevenths**: maj7, 7, m7, m7b5, dim7, aug7, maj7#5, 7#5, 7b5, mMaj7
- **Ninths**: maj9, 9, m9

## Note Formats

Supports:
- Natural: C, D, E, F, G, A, B
- Sharps: C#, D#, F#, G#, A#
- Flats: Db, Eb, Gb, Ab, Bb
- Symbols: ♯ (sharp), ♭ (flat)
- Case insensitive

相关技能

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.