All skills
artwist-polyakov avatar

/telegraph-publisher

@d89d67a

Publish and manage Telegraph pages with media, page-view statistics, and auto-split for long articles. ALWAYS read SKILL.md before first use.

Use this Skill: https://skilld.dev/gh/artwist-polyakov/polyakov-claude-skills/telegraph-publisher

This session only. Nothing lands on disk.

referencesYOUTUBE_EMBEDS.md

≈433 tokens on demand. Your agent reads this file only when SKILL.md points to it.

YouTube Embeds in Telegraph

Supported Input Formats

The content_converter.py automatically normalizes these YouTube URL formats to embed:

Input URL Normalized to
https://www.youtube.com/watch?v=VIDEO_ID https://www.youtube.com/embed/VIDEO_ID
https://youtube.com/watch?v=VIDEO_ID https://www.youtube.com/embed/VIDEO_ID
https://youtu.be/VIDEO_ID https://www.youtube.com/embed/VIDEO_ID
https://www.youtube.com/embed/VIDEO_ID (unchanged)

How to Embed

Use <iframe> inside <figure>:

<figure>
  <iframe src="https://www.youtube.com/watch?v=dQw4w9WgXcQ"></iframe>
  <figcaption>Optional video description</figcaption>
</figure>

The converter automatically transforms the src to embed format:

{
  "tag": "figure",
  "children": [
    {"tag": "iframe", "attrs": {"src": "https://www.youtube.com/embed/dQw4w9WgXcQ"}},
    {"tag": "figcaption", "children": ["Optional video description"]}
  ]
}

Notes

  • Video ID is always 11 characters: [a-zA-Z0-9_-]{11}
  • Only YouTube is auto-normalized. Other iframe sources pass through unchanged.
  • Telegraph renders iframes with a fixed aspect ratio
  • URL parameters (like ?t=120 for timestamps) on watch URLs are stripped during normalization. If you need a start time, use the embed parameter format: https://www.youtube.com/embed/VIDEO_ID?start=120

Other Embeddable Services

Telegraph's <iframe> tag supports any embeddable URL. The converter passes non-YouTube iframe sources unchanged:

<figure>
  <iframe src="https://www.example.com/embed/content"></iframe>
</figure>

Use this for Vimeo, Twitter embeds, or other services that provide embed URLs.

Source: SKILL.md on GitHub

1 warning17d3 checks · Risk SAFE
  • Gen Agent Trust Hub17d

    Telegraph Publisher is a utility for publishing articles to Telegraph with support for images, YouTube embeds, and diagrams. It uses standard API interactions with Telegraph and GitHub for media hosting, maintains security by managing secrets in environment files, and includes explicit privacy warnings for external diagram rendering services.

  • Socket17d

    1 alert: gptAnomaly

  • Snyk17d

    Risk: LOW · No issues

Signed by skilld at d89d67a. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last week.

Activeupdated last month

README badge

README badge for artwist-polyakov/polyakov-claude-skills/telegraph-publisher