About alt-text
alt-text is an image-description skill for producing concise alt text from a local image or pasted image attachment. It focuses on visible, essential content and returns only the description unless asked otherwise.
Key features
- 01Inspect a local or attached image
- 02Describe visible essential content
- 03Summarize key text when relevant
- 04Return concise alt text only
Use cases
- 01Write alt text for an image asset
- 02Describe an image attachment
- 03Summarize text-heavy image content
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ bholmesdev/ skills --skill alt-textAfter installing, type/alt-textin Claude Code to confirm it loaded.
Details
From the project READMEalt-text
Input
The target local image path is provided as $0 or as a pasted image attachment.
If $0 is missing, ask the user for the local image path and stop.
Instructions
When this skill is invoked, inspect the image directly and write alt text immediately.
- Describe what is visually present and important.
- Do not say
picture of,image of,screenshot of, ordiagram of. - Describe what the image shows, not the file type or medium.
- Keep the alt text concise and focused on the essential content. Prefer 500 characters or fewer; for text-heavy images, summarize the key points instead of transcribing everything.
- Do not add extraneous details, speculation, backstory, or interpretation that is not clearly visible.
- If visible text is important to understanding the image, include the key text briefly.
Output
Return only the alt text unless the user asks for something else.
Comments
Markdown supported