agentleFS
wendewende/macbeth/skills/LogicPro/SKILL.md

logicpro

Skill4 starsChanged 4 months agoMITView on GitHub

AX-first automation for Logic Pro — transport, tracks, tempo, mixer, and view controls

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Prefer menu bar actions over keyboard shortcuts — shortcuts steal focus and can misfire

    line 15
  2. Very specific:

    Use select_menu_item instead of keyboard shortcuts — it's a single atomic call via System Events, no focus stealing.

    line 30
  3. Distinctive:

    All are checkboxes with value "0" (hidden) or "1" (shown):

    line 72

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Logic Pro Automation

Connect

connect_app({ name: "Logic Pro" })

Backends

  • Primary: Accessibility automation (menu bar, transport, tracks, mixer, view toggles)
  • Prefer menu bar actions over keyboard shortcuts — shortcuts steal focus and can misfire

Layout

Logic Pro's main window has these regions (top to bottom, left to right):

  1. Control Bar (top) — transport buttons, LCD display (tempo/time sig/key), view toggles
  2. Inspector (left panel) — Region and Track properties, channel strip
  3. Tracks Area (center) — timeline with track headers and regions
  4. Editors/Mixer (bottom, toggled) — Piano Roll, Audio Editor, Mixer, etc.

Key Elements

Menu Bar (preferred for actions)

Use select_menu_item instead of keyboard shortcuts — it's a single atomic call via System Events, no focus stealing.

select_menu_item({ app: "Logic Pro", menuPath: ["Track", "New Audio Track"] })
MenuItemNotes
TrackNew Audio TrackOpens track creation dialog
TrackNew Software Instrument TrackOpens track creation dialog
TrackNew Session Player SI Track...Opens track creation dialog
TrackDelete Track
TrackRename Track
FileBounce Project...Cmd+B equivalent
FileSaveCmd+S equivalent
EditUndoCmd+Z equivalent

Transport Controls

ElementRoleQuery
Playcheckbox[{role:'checkbox', title:'Play'}]
Stopbutton[{role:'button', title:'Stop'}]
Recordcheckbox[{role:'checkbox', title:'Record'}]
Cyclecheckbox[{role:'checkbox', title:'Cycle'}]
Count Incheckbox[{role:'checkbox', title:'Count In'}]
Metronomecheckbox[{role:'checkbox', title:'Metronome Click'}]
Solocheckbox[{role:'checkbox', title:'Solo'}]
Replacecheckbox[{role:'checkbox', title:'Replace'}]
Tunercheckbox[{role:'checkbox', title:'Tuner'}]

LCD Display

ElementRoleQuery
Temposlider[{role:'slider', index:2}] inside the LCD group
Time Signaturepopup[{role:'popup', title:'4/4'}] (value changes)
Keypopup[{role:'popup', titlePattern:'Major|Minor|Dorian'}]
Display Modepopup[{role:'popup', title:'Beats & Project'}]

View Toggles (Control Bar, right side)

All are checkboxes with value "0" (hidden) or "1" (shown):

ToggleQuery
Library[{role:'checkbox', title:'Library'}]
Inspector[{role:'checkbox', title:'Inspector'}]
Smart Controls[{role:'checkbox', title:'Smart Controls'}]
Mixer[{role:'checkbox', title:'Mixer'}]
Editors[{role:'checkbox', title:'Editors'}]
List Editors[{role:'checkbox', title:'List Editors'}]
Loop Browser[{role:'checkbox', title:'Loop Browser'}]
Browsers[{role:'checkbox', title:'Browsers'}]

Gotchas

  1. Transport buttons (Play, Record, Cycle, etc.) are checkboxes, not buttons — they toggle on/off. Stop is the only button.
  2. The tempo is a slider (label: "Tempo", min: 5, max: 990). Use fill to set it — under the hood this uses AXIncrement/AXDecrement in steps of ~10, so the final value may overshoot slightly.
  3. AXSetValue on Logic Pro sliders does NOT set the absolute value — it just increments by 1. Always use fill which handles this correctly via AXIncrement/AXDecrement.
  4. Many channel strip controls in the Inspector are disabled by default — they become enabled when the track is selected and the inspector section is expanded.
  5. "New Track" menu items open a dialog — after clicking the menu item, you may need to interact with the dialog to finalize track creation.
  6. The Screensets menu uses numbers (1-9) as menu bar items — don't confuse with regular menus.

Workflows

Add a new audio track

select_menu_item({ app: "Logic Pro", menuPath: ["Track", "New Audio Track"] })

Play/Stop a project

app.checkbox("Play").click()
# or app.button("Stop").click()

Set tempo to 140 BPM

app.locator({ role: 'slider', index: 0 }).fill("140")

Bounce project

select_menu_item({ app: "Logic Pro", menuPath: ["File", "Bounce Project..."] })

Toggle mixer view

app.checkbox("Mixer").click()

Runnable Scripts

  • transport.mjs — control transport (play, stop, record, toggle metronome/cycle)
  • set-tempo.mjs — set project tempo
  • add-track.mjs — add a new track via menu

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.