For AI agents#

accompy ships artifacts for coding agents alongside its code. This page lists them, says where each lives in the repository, and points at the machine-readable copies of this documentation.

Skills#

Skills are folders holding a SKILL.md (the Agent Skills format): a description that tells an agent when to use it and a body with the procedure. Install one into your agent with gh skill (any host: --agent claude-code, copilot, cursor, codex, gemini), or use the copy bundled in the wheel.

accompy-patterns#

Use when creating, modifying, or debugging musical patterns (drum, bass, comping, rhythmic skeletons) in the accompy pattern system. Triggers on DrumPattern, BassPattern, CompingPattern, PatternRegistry, rhythmic_skeletons, resolve_skeleton, apply_skeleton, rhythm_to_midi, or when working with accompy/patterns/ or accompy/rhythmic_skeletons.py.

gh skill install thorwhalen/accompy accompy-patterns --agent claude-code

Source: skills/accompy-patterns.

user-data-folder#

Use when setting up per-user persistent data directories for a Python package — configuration files, bundled resources (seed-on-missing pattern), and runtime artifact folders. Triggers on XDG directories, app data folder, user config, seed data, importlib.resources, or when externalizing module-level constants to user-editable files.

gh skill install thorwhalen/accompy user-data-folder --agent claude-code

Source: skills/user-data-folder.

Instruction files#

Files agents read before working in this repository.

Machine-readable documentation#

This site publishes the same documentation in forms that fit an agent’s context window:

  • llms.txt: an index of every page with a one-line description (llms.txt format)

  • accompy.md: the whole documentation as one Markdown file

  • <page>.html.md: a rendered Markdown twin of every page, advertised from each page’s <head> with <link rel="alternate" type="text/markdown">

  • objects.inv: the Sphinx inventory: a symbol-to-URL index (sphobjinv convert plain objects.inv -)