devto

devto is a command for coding agents from kanaerulabs/growth-kit. It costs 11 tokens per session (1,896 once invoked), scanned A, original, MIT.

A command that creates an RSS feed for importing blog posts into Dev.to, a developer publishing platform. It reads Markdown posts, converts their content to HTML, and uses full web addresses for posts and images.

In plain words
What is it for?
Use it to generate a Dev.to-compatible feed from a codebase’s Markdown blog, including titles, descriptions, dates, authors, links, and HTML-encoded content.
Why use it?
It removes the manual work of adapting a site’s blog content to Dev.to’s import format. It first identifies where posts, metadata, images, and the site address are stored.

Command

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.

agentmods
npx agentmods add commands/kanaerulabs/growth-kit/devto
Clone the repo
git clone --depth 1 https://github.com/kanaerulabs/growth-kit

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 devto

README.md
[![agentmods](https://agentmods.dev/badge/commands/kanaerulabs/growth-kit/devto.svg)](https://agentmods.dev/commands/kanaerulabs/growth-kit/devto)
Your own site
<a href="https://agentmods.dev/commands/kanaerulabs/growth-kit/devto"><img src="https://agentmods.dev/badge/commands/kanaerulabs/growth-kit/devto.svg" alt="Measured on agentmods" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,896 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00011 $0.01896
Opus 5 $0.00005 $0.00948
Sonnet 5 $0.00002 $0.00379
Haiku 4.5 $0.00001 $0.00190

Measured 3d ago against content hash 51140d56e181, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

devto 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 3d 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.

publisher-plugin/commands/devto.md · 262 lines

How it starts

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

Generate a Dev.to-optimized RSS feed that can be used to automatically import your blog posts to Dev.to.

What this does: Creates an RSS feed with HTML-encoded content that Dev.to can import and convert to their markdown format.


Process

1. Understand the Blog Structure

Scan the codebase to understand:

  • Where are markdown blog posts stored?
  • What frontmatter format is used?
  • What's the blog base URL?
  • Where are images/diagrams located?

Common blog structures:

  • src/content/blog/posts/{en,ja}/*.md
  • content/blog/*.md
  • posts/*.md
  • blog/*.md

2. Read All Blog Posts

Use Glob to find all markdown files:

  • Search pattern: **/*.md in blog directories
  • Read each file with Read tool
  • Extract frontmatter (title, description, date, author)
  • Extract markdown content

For each post:

{
  title: string,
  description: string,
  date: string,
  author: string,
  slug: string,
  content: string (markdown),
  url: string (full blog post URL)
}

3. Convert Markdown to HTML

Dev.to Requirements:

  • Content must be HTML (in <content:encoded> field)
  • All URLs must be absolute (not relative)
  • Images must use absolute URLs
  • Dev.to will convert the HTML back to markdown on their end

Conversion process:

  • Convert markdown to HTML (use marked.js if available, or simple conversion)
  • Make all image URLs absolute
  • Make all links absolute
  • Preserve code blocks and formatting

4. Generate RSS Feed

Create XML file with RSS 2.0 format:

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Blog Title</title>
    <description>Blog Description</description>
    <link>https://yourblog.com</link>
    <atom:link href="https://yourblog.com/rss-devto.xml" rel="self" type="application/rss+xml"/>
    <language>en</language>

    <item>
      <title>Post Title</title>
      <link>https://yourblog.com/blog/post-slug</link>
      <guid>https://yourblog.com/blog/post-slug</guid>
      <pubDate>Mon, 01 Jan 2025 00:00:00 GMT</pubDate>
      <description>Post description</description>
      <content:encoded><![CDATA[
        <!-- HTML content here with absolute URLs -->
      ]]></content:encoded>
      <dc:creator>Author Name</dc:creator>
    </item>

    <!-- More items... -->
  </channel>
</rss>

Read the full file on GitHub · 262 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. 3d ago First seen · 262 lines · 11 tokens per session scan A 51140d56e181

Subscribe to this mod's changes

devto is a command published in the GitHub repository kanaerulabs/growth-kit (15 stars, last pushed 7mo ago), licensed MIT. It adds 11 tokens to every session and 1,896 once invoked, about $0.0001 per session on Opus 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-08-30.