daymade/claude-code-skills
Capture d'écran
Capture Screen
311e ex aequo sur 539 skills du métier Bureautique & assistanat, par installations. Dans l'annuaire depuis le 18 novembre 2026.
Description
Automatisation de captures d'écran sous macOS qui fonctionne vraiment. Utilise CoreGraphics de Swift pour obtenir les vrais identifiants de fenêtres et AppleScript pour contrôler l'état des applications (niveaux de zoom, position de défilement, feuille sélectionnée dans Excel).
Voir la description originale (anglais)
Programmatic screenshot automation for macOS that actually works. Uses Swift's CoreGraphics to get real window IDs, AppleScript to control application state (zoom levels, scroll position, sheet selection in Excel), then screencapture to grab the pixels. The documentation is refreshingly honest about what fails: System Events can't get the right window format, PyObjC isn't worth the dependency hassle, and you need Screen Recording permissions or nothing works. If you're building documentation pipelines or need to capture specific states of Excel workbooks without clicking around manually, this gives you the three-step workflow that doesn't fight the OS. Just remember to add sleep delays between AppleScript commands and captures.
Installer le skill
- 1Copiez la commande d'installation (bouton Copier, en haut de la fiche).
- 2Lancez-la dans un terminal, sur la machine où vous utilisez Claude Code.
- 3Demandez la tâche à Claude comme d'habitude : il charge le skill quand la demande s'y prête.