issue-markdown

issue-markdown is a skill for Claude Code, Codex from github/gh-aw. It costs 29 tokens per session (1,487 once invoked), scanned A, original, MIT.

A coding guide for building issue, comment, and review Markdown from typed report structures, then rendering one complete document. It also explains how to find every production path that publishes this text.

In plain words
What is it for?
Use it when changing GitHub issue bodies, comments, reviews, replies, previews, or update flows in the specified JavaScript code. It supports refactoring these publication paths to use a shared document structure.
Why use it?
It prevents fragile string concatenation from producing inconsistent or malformed Markdown. It also helps avoid treating Jira ADF text, which is a different document format, as Markdown.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one.

Good fit Use it when changing GitHub issue bodies, comments, reviews, replies, previews, or update flows in the specified JavaScript code. It supports refactoring these publication paths to use a shared document structure.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/github/gh-aw/issue-markdown
About the project

GitHub Agentic Workflows is a GitHub CLI extension that lets developers define AI-assisted repository automation in Markdown and run it through GitHub Actions. It is intended for tasks requiring interpretation or reasoning, such as issue triage, pull-request review, CI investigation, documentation maintenance, and dependency analysis. The catalogue entries provide skills and agents for working with these workflows.

github/gh-aw · 5,579 stars · on GitHub · gh.io

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add github/gh-aw --skill issue-markdown
Clone the repo
git clone --depth 1 https://github.com/github/gh-aw

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for issue-markdown

README.md
[![agentmods](https://agentmods.dev/badge/skills/github/gh-aw/issue-markdown/github.svg)](https://agentmods.dev/skills/github/gh-aw/issue-markdown)
Your own site
<a href="https://agentmods.dev/skills/github/gh-aw/issue-markdown"><img src="https://agentmods.dev/badge/skills/github/gh-aw/issue-markdown/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for issue-markdown

Your own site · 80×15
<a href="https://agentmods.dev/skills/github/gh-aw/issue-markdown"><img src="https://agentmods.dev/badge/skills/github/gh-aw/issue-markdown.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,487 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00029 $0.01487
Opus 5.5 $0.00012 $0.00595
Sonnet 5.5 $0.00006 $0.00297
Haiku 4.5 $0.00003 $0.00149

Measured 10d ago against content hash 7d827d87f34a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

issue-markdown scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/skills/issue-markdown/SKILL.md · 134 lines

How it starts

The opening of the file, as written. The whole thing — 134 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Issue and comment Markdown

Use this skill when generating or changing Markdown published to issues, comments, or reviews, especially in actions/setup/js/. Build a Report tree first; render only the complete document. Do not assemble Markdown using interpolation, concatenation, body +=, or arrays of Markdown strings joined with newlines. Parsing an assembled string afterward is not a tree-first refactor.

Find publication paths

Search production .cjs files for issues.create, issues.update, createComment, updateComment, createReview, createReplyForReviewComment, and GraphQL body variables. Trace each body back through shared helpers, fallback comments, retries, staged previews, and append/prepend/replace-island updates. Exclude test fixtures, HTTP payload assembly, and step-summary-only output. Jira ADF text is not Markdown: preserve its literal entities, Unicode, and paragraphs instead of routing it through the Markdown parser or renderer.

Use the existing tree

actions/setup/js/report_ast.cjs defines Report, ReportBlock, and ReportInline. Use JSDoc annotations so npm run typecheck verifies node kinds:

/** @type {import("./report_ast.cjs").Report} */
const report = {
  type: "report",
  title: "Workflow result",
  children: [
    {
      type: "paragraph",
      agentTainted: false,
      children: [
        { type: "text", value: "Created related issue: ", agentTainted: false },
        { type: "issue_reference", number: String(issue.number), agentTainted: false },
      ],
    },
    { type: "code_block", language: "text", value: diagnostic, agentTainted: true },
  ],
};

Use heading, paragraph, list, table, details, quote, alert, separator, code_block, and typed inline nodes instead of Markdown punctuation. GitHub [!NOTE], [!TIP], [!IMPORTANT], [!WARNING], and [!CAUTION] map to alert nodes with the matching kind; the renderer emits their markers. Keep alerts separate rather than nesting them inside another alert, which GitHub does not support. Preserve supported <sub> formatting in details summaries. Use xml_marker, json_marker, expiration, and closing_reference for machine metadata and closing links. Preserve xml_marker.compact for identifiers whose exact spelling is used by cleanup. Use review_marker for the durable, URI-encoded review caller reference; keep the authoritative marker last. Dynamic labels, paths, errors, and identifiers belong in text/code nodes; link destinations belong in link.url.

Read the full file on GitHub · 134 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 134 lines · 29 tokens per session scan A 7d827d87f34a

Subscribe to this mod's changes

issue-markdown is a skill published in the GitHub repository github/gh-aw (5,579 stars, last pushed yesterday), licensed MIT. It adds 29 tokens to every session and 1,487 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-28.

Related

issue-markdown compared with skills from other repositories

issue-markdown next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
issue-markdowngithub/gh-awSkill5.6kyesterdayMITA29Claude Code, Codex
watch-prjustincampbell/gh-watchSkill47d agoMITA48Claude Code
watch-tagjustincampbell/gh-watchSkill47d agoMITA62Claude Code
watch-branchjustincampbell/gh-watchSkill47d agoMITA45Claude Code
watch-commitjustincampbell/gh-watchSkill47d agoMITA48Claude Code
c-githubdaxaur/openpawSkill1775mo agoMITA48Claude Code, Codex
update-architecture-docsAlexSkrypnyk/scaffoldSkill11yesterdayGPL-3.0A46Claude Code