Medium Helper 标志

Medium Helper

社区
ShawhinT
medium-helper

Move a finished blog draft from Shaw's Notion (the LFC database, titled "(Blog) …") into a Medium draft for The Data Entrepreneurs, and make the graphics and data lookups the post needs. Use whenever Shaw mentions Medium, a blog post, The Data Entrepreneurs, or a "(Blog)" page: "copy this over to Medium", "paste the blog into Medium", "what cover image should I use", "make a graphic for the blog", "turn these screenshots into one image", "chart my cohort revenue", "how many followers did I have when X happened", "what tags should I use", "write the SEO title and description". Also fires when a Notion LFC page is being turned into prose anywhere, or when a figure is being built for a Medium post (DM collage, follower-count card, revenue chart). Not for LinkedIn posts (linkedin-voice / sfc-helper), newsletters (newsletter-writer), or writing the blog from scratch — this skill moves and illustrates a draft Shaw already wrote.

概览

发布者ShawhinT
代码仓库non-coding-skills
技能名称medium-helper
星标数
39
复刻数
6
附带文件
9
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 9 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 ShawhinT 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Medium Helper AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/ShawhinT/non-coding-skills/tree/main/medium-helper
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ShawhinT/non-coding-skills.git /tmp/non-coding-skills
mkdir -p .claude/skills
cp -r /tmp/non-coding-skills/medium-helper .claude/skills/medium-helper
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Medium Helper,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Medium Helper。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Medium Helper 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Medium Helper

Shaw writes blog drafts in Notion (LFC database, page title (Blog) <Title>) and publishes them to Medium under his publication The Data Entrepreneurs (medium.com/the-data-entrepreneurs). This skill covers the trip from Notion draft to a saved Medium draft, the house format that trip has to land in, the graphics a post usually needs, and where the numbers behind those graphics come from. It stops at a saved draft: Shaw adds the cover, tags, SEO fields, and submits to the publication himself, but he asks for a recommendation on each, and those recommendations come from his own published posts rather than from general Medium advice (§2).

Four jobs, each its own section below. Most requests hit one; a full "copy this over" hits the first two and usually seeds the third.

1. Notion → Medium draft

Fetch the Notion page (notion-fetch; read notion-helper first per its own rule). Then in Chrome (Shaw's real browser, signed in — read chrome-browser before the first browser step):

  1. Open https://medium.com/new-story. Click the Title field and type the title. Medium assigns a draft URL (medium.com/p/<id>/edit) on first keystroke and autosaves from then on — report that URL at the end so Shaw can pick it up.
  2. Click into the body ("Tell your story…") and paste the whole article as HTML with a synthetic clipboard event via javascript_tool. Medium's editor handles the paste and converts tags to its own blocks; typing it char-by-char is far slower and loses formatting. See references/medium-paste.md for the snippet and the exact tag → block mapping. The result should be dispatched: false, defaultPrevented: true — that means the editor consumed it.
  3. Verify with one javascript_tool call that lists the first ~15 blocks (tag + text), then one screenshot of the top. Confirm the title is an h3.graf--title, the subtitle an h4, section headings h3, sub-headings h4. Scroll to the bottom to confirm the last paragraph landed.

Mapping the Notion markdown (details and the heading rules in references/medium-paste.md):

  • # Title → typed into the Title field, not pasted
  • first bold line after the title (**What I learned.**) → <h4> → Medium subtitle
  • ## → <h1> → big section heading · ### → <h2> → small sub-heading
  • **bold** / *italic* → <strong> / <em> · … divider lines → <hr> or drop
  • \{image\} / \{sales over time\} style notes are placeholders, not images — the Notion draft has no pictures. Emit each as its own italic paragraph [IMAGE: sales over time], keep the wording, and list them all back to Shaw at the end so he knows what to fill. Anything that reads like an embed (\{data side hustles\}) becomes [EMBED: …].

Copy edits: fix objective errors (typos, dropped words, "lesson" → "lessons", punctuation) and leave wording alone. Report every substantive change — a dropped word you restored, a figure whose braces you removed — in the wrap-up so Shaw can veto it. Braces around a number (\{\$87,460.3\}) mean "tentative"; strip the braces, round sensibly, and flag it.

Wrap-up to Shaw: the draft URL, the placeholder list, the edits made, and the things he still does by hand (cover image, tags, SEO title and description, submit to the publication), each with the recommendation from §2 attached so he isn't coming back to ask.

2. House format

Read references/tde-format.md before pasting or before advising on structure/cover. Short version: title + one-line subtitle, 2–3 sentence intro that says what the article covers, cover image right after the intro (Unsplash photo, "Photo by X on Unsplash" caption), big headings for sections and small ones for numbered items ("Path 1: …", "Mistake 2: …"), every author image captioned "… Image by author.", embedded links to his own earlier Medium posts where they fit, and a sign-off that invites questions in the comments with a :).

Cover-image asks get search terms, not pictures: Shaw searches Unsplash himself. Look at the publication page in Chrome for the pattern (one literal, slightly wry visual metaphor per title — a $100 bill, a lone figure on a cliff, a hand-drawn "AI?") and offer 3–4 groups of 3–5 search strings with a recommended pick and the reason.

Tags and SEO fields get the same treatment: match the post to its closest published siblings rather than reasoning from tag size. The generic answer (Business, Startup, Creator Economy) was overruled with "look at previous posts": his five tags are a house set that keeps the founder posts findable together, and the SEO description is a hand-written two-sentence form, not Medium's auto-truncated first paragraph. references/tde-format.md § "Tags and SEO" has the observed pattern, the tables, and the one-call JS that pulls tags and SEO fields for a dozen posts from a medium.com tab. Present the pick, the alternates, and the sibling rows you matched against so he can see the pattern himself.

3. Graphics for the post

Three kinds, all rendered to PNG at 2× so Medium's column scaling keeps them crisp. Wider than tall — Shaw's phrase is "YouTube-thumbnail size, maybe a little wider", which in practice is ~2:1 to 3:1 (2000×640 to 2000×1040 CSS px, doubled on export).

Finished figures live with the post at ~/Documents/_stv/_content/_LFC/medium/<post-slug>/ as flat PNGs named for what they show (validation-dms.png, bad-approach.png), with any HTML source and fonts in a <figure>-src/ subfolder beside them. Re-render from the filed source so the folder is self-contained; a Downloads scratch folder is for exploring and goes once he's picked.

Concept diagrams (a before/after pair, a process, a tree) are graphic-builder work in its embedded-graphic mode; this skill supplies the Medium constraints. White background rather than the builder's cream, Medium green #1a8917 for the good or forward side and a muted red #B4473A for the bad or backward side, 1080px wide, no title or caption chrome because the Medium caption carries the words. Real labels from his research (the Notion pain-points and ICP pages, call notes) beat abstract placeholders: the figure is an argument about his actual business, and he will supply the specifics if asked. When the brief is a direction rather than a spec, run the builder's ideating workflow (subagents per design philosophy, contact sheets, narrow, variants) and give him a local index.html master page in the scratch folder that shows every pair bad-left, good-right with a toggle for Medium's 680px column; he browses an index, not a folder of PNGs. A pair must render on one canvas size so the two images sit identically in the column; when the busier half won't fit, cut its content (he dropped a branch) rather than growing the canvas or shrinking the half he already likes.

Screenshot-style collages (DM cards, profile/follower cards): write a self-contained HTML page and render it with scripts/render_png.py. Dark neutral background (#1b1f23) with platform-styled cards; assets/avatar.png is Shaw's real profile photo (circular, transparent) — use it wherever a card shows him, a blank circle reads as "obscured". Rules that came from Shaw directly:

  • Other people's names are redacted (a gray block, not [Name]); Shaw's own name, pronouns, timestamps and photo stay — the point is that it's visibly him.
  • Platform names as small text labels, never logos or wordmarks.
  • A LinkedIn-card headline, location, or connection count that isn't from a real screenshot is a guess — say so in the wrap-up.

references/graphics.md has the two card layouts that have shipped (DM grid, follower cards) with their CSS, so a repeat is a data swap rather than a redesign.

Charts (revenue by cohort, follower growth): matplotlib, white background, Medium green #1a8917 for the series, bold title + gray subtitle placed with fig.text (not ax.set_title, which collides with a subtitle), $Nk y-ticks on round intervals, and value + series labels on every point. The rules Shaw has asked for by name:

  • Average as a dashed dark line at 80% opacity, labeled Avg $N just past the right edge.
  • Labels go above a point by default; move a label below when it would sit on the average line or on a neighboring steep segment (he will tell you which ones are hard to read — pre-empt it).
  • Start the x-axis a few weeks before the first tick so the first tick label clears the y-axis.

scripts/cohort_chart.py is the revenue-over-time chart as a function of a list of (label, value, iso_date) — reuse it rather than re-deriving the styling.

Render, Read the PNG, fix what's wrong (overlapping labels, wrapped lines, empty card space), then SendUserFile with display: render. Don't send intermediate renders.

4. Where the numbers come from

Read references/data-sources.md when a post needs a historical figure. The short map:

NeedSourceNote
Cohort revenue, dates, lifetime totalMaven admin earnings page, scraped with one JS regexSums should equal the "lifetime earnings" tile — check
YouTube subs on a past dateYouTube Studio custom range: current subs − net change since that dateExact; Wayback only brackets it
Medium / YouTube follower count on a past dateWayback Machine snapshot nearest the dateSay which snapshot date you used
LinkedIn followers on a past dateNo archive (auth wall) — bracket from milestone posts in SFCAlways an estimate; label it
Milestone dates ("10k subs", "40k subs")SFC database in Notion, query Name LIKE '%subs%' etc.Pages are often blank — the title and date are the data

Historical counts land in the wrap-up as a small table with the source and whether each is exact or estimated. A number Shaw can't trace is a number he can't publish.

Style of the wrap-up

Bottom line first (the draft link, the file), then the handful of things only he can decide. He reads the file, not a description of it. Edits you made to his words are the one thing to spell out.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Medium Helper AI 技能有什么作用?

Move a finished blog draft from Shaw's Notion (the LFC database, titled "(Blog) …") into a Medium draft for The Data Entrepreneurs, and make the graphics and data lookups the post needs. Use whenever Shaw mentions Medium, a blog post, The Data Entrepreneurs, or a "(Blog)" page: "copy this over to Medium", "paste the blog into Medium", "what cover image should I use", "make a graphic for the blog", "turn these screenshots into one image", "chart my cohort revenue", "how many followers did I have when X happened", "what tags should I use", "write the SEO title and description". Also fires whe...

为什么在 TypingMind 中使用 Medium Helper?

因为您只需安装一次,就能搭配任何模型使用。Medium Helper 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Medium Helper?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/ShawhinT/non-coding-skills/tree/main/medium-helper。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Medium Helper?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Medium Helper 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Medium Helper 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Medium Helper AI 技能免费吗?

ShawhinT 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇