Token导航 LogoToken导航TokenDH.com
待分类权限需确认github未标认证来源可访问许可证需确认审计未展示

markdown-img-alt-textMarkdown IMG ALT text 控制

Agent Skill

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

总安装

256

周安装

11

GitHub Stars

56

下载量

90
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:markdown-img-alt-text(Markdown IMG ALT text 控制)
来源仓库:https://github.com/richtabor/agent-skills
仓库路径:skills/markdown-img-alt-text
安装命令:
npx skills add https://github.com/richtabor/agent-skills --skill markdown-img-alt-text
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/richtabor/agent-skills --skill markdown-img-alt-text

简介

markdown-img-alt-text 用于辅助文档、README 和 Markdown 内容的整理与改写。

  • 适合提炼结构、补齐章节、统一术语、检查链接或整理零散材料成可读文档。
  • 使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论。
  • 涉及对外文案时,还需控制语气,避免过度营销或夸大能力。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

name
markdown-img-alt-text
description
Adds detailed alt text to markdown image embeds that are missing it. Supports both Obsidian wiki-style (![[image]]) and standard markdown (![](path)) formats. Reads each image, describes its content thoroughly, and updates the embed inline. Triggers on "add alt text", "update alt text", "describe images", "missing alt text", or "image descriptions".

Alt Text for Markdown Images

Scan markdown files for image embeds that are missing alt text and add detailed, descriptive alt text by reading each image.

Supported Formats

  • Obsidian wiki-style: ![[image.png]]![[image.png|alt text here]]
  • Standard markdown: ![](path/to/image.png)![alt text here](path/to/image.png)

Detect which format the file uses and apply alt text accordingly.

When to Use

  • User asks to add or update alt text on images
  • User asks to describe images in their notes
  • User asks to make images accessible or searchable

Process

1. Find Images Missing Alt Text

Search the target scope (a specific note, folder, or the whole project) for image embeds without alt text:

  • Obsidian: ![[filename.ext]] with no | pipe character (image extensions: png, jpg, jpeg, gif, svg, webp)
  • Standard markdown: ![](path) where the alt text between [] is empty

Images that already have alt text — ![[image.png|description]] or ![description](path) — should be skipped.

2. Read Each Image

For each image found, use the Read tool to view the image file. Resolve the image path based on the project structure (e.g., an attachments folder, a public/images directory, or a relative path).

3. Write Detailed Alt Text

Write thorough, detailed alt text for each image. The alt text should:

  • Describe the full visual content — what is shown, what text is visible, what the layout looks like
  • Capture specific details like button labels, heading text, color choices, UI patterns, data values
  • Be written as a single continuous description (no line breaks) since it goes inline in the embed
  • Be detailed enough that someone reading only the alt text would understand the image without seeing it
  • Avoid starting with "Image of" or "Screenshot of" — just describe what's there directly

4. Update the Embeds

Use the Edit tool to add alt text in the correct format for the embed style used in that file.

Scope

  • If the user specifies a file or folder, only process that scope
  • If no scope is given, ask the user whether to process a specific file, folder, or the whole project
  • Report how many images were found, how many already had alt text, and how many were updated

Examples

Obsidian — before:

![[dashboard-screenshot.png]]

Obsidian — after:

![[dashboard-screenshot.png|Analytics dashboard showing a bar chart of monthly revenue from January to June 2026, with a sidebar navigation listing Overview, Reports, and Settings. The header reads "Q2 Performance" in bold with a blue export button in the top right.]]

Standard markdown — before:

![](images/dashboard-screenshot.png)

Standard markdown — after:

![Analytics dashboard showing a bar chart of monthly revenue from January to June 2026, with a sidebar navigation listing Overview, Reports, and Settings.](images/dashboard-screenshot.png)

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.92%
按下载量换算32

Claude

31.09%
按下载量换算28

Cursor

20.58%
按下载量换算19

Gemini CLI

9.94%
按下载量换算9

安全审计

暂无安全审计结果可展示。

权限和风险

权限需确认

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills