convert-to-devto

convert-to-devto is a skill for Claude Code, Codex from derailed-dash/dazbo-agent-skills. It costs 53 tokens per session (2,414 once invoked), scanned A, original, MIT.

A Markdown formatter for Dev.to, a website where developers publish technical articles. It prepares posts with the metadata, headings, code blocks, tags, and inline formatting that Dev.to expects.

In plain words
What is it for?
Use it to convert an existing Markdown article into a Dev.to-ready post while preserving code-block spacing and fixing its document structure.
Why use it?
It removes common publishing problems such as incorrect heading spacing, missing code-language labels, export artifacts, and malformed nested code examples.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it to convert an existing Markdown article into a Dev.to-ready post while preserving code-block spacing and fixing its document structure.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/derailed-dash/dazbo-agent-skills/convert-to-devto
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 derailed-dash/dazbo-agent-skills --skill convert-to-devto
Clone the repo
git clone --depth 1 https://github.com/derailed-dash/dazbo-agent-skills

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 convert-to-devto

README.md
[![agentmods](https://agentmods.dev/badge/skills/derailed-dash/dazbo-agent-skills/convert-to-devto/github.svg)](https://agentmods.dev/skills/derailed-dash/dazbo-agent-skills/convert-to-devto)
Your own site
<a href="https://agentmods.dev/skills/derailed-dash/dazbo-agent-skills/convert-to-devto"><img src="https://agentmods.dev/badge/skills/derailed-dash/dazbo-agent-skills/convert-to-devto/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 convert-to-devto

Your own site · 80×15
<a href="https://agentmods.dev/skills/derailed-dash/dazbo-agent-skills/convert-to-devto"><img src="https://agentmods.dev/badge/skills/derailed-dash/dazbo-agent-skills/convert-to-devto.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,414 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00053 $0.02414
Opus 5.5 $0.00021 $0.00966
Sonnet 5.5 $0.00011 $0.00483
Haiku 4.5 $0.00005 $0.00241

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

Security

Grade A, and why

convert-to-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.

skills/convert-to-devto/SKILL.md · 125 lines

How it starts

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

You are an expert technical editor. Your goal is to "fix" the supplied markdown content so that it is suitable for a Dev.to post.

Apply the following rules to the supplied content:

  1. Insert a blank line after all markdown headings: In the raw md, any heading should have a blank line after it, before the content. If the first heading of the document is not at H1, fix it. Do not start a list immediately after a heading, without a blank line.

  2. Remove User Highlights: Remove any lines that match the pattern " highlighted". These artifacts often appear in exports from other platforms.

  3. Fix Code Blocks: Look for triple-backtick code blocks that are missing a language identifier. Examine the code inside and add the correct language prefix (e.g., python, bash, javascript, etc.).

  4. Preserve spacing inside any fenced blocks.

  5. Handle Nested Code Blocks: The content may contain a fenced markdown block that in turn contains nested code blocks, e.g. markdown that contains a bash script sample. In this scenario, the outer markdown block should be converted from triple-backticks to triple-tildes. E.g. this:

    Code sample:
    ```bash
    some code
    
    
    Should be converted to this:
    ~~~markdown
    Code sample:
    ```bash
    some code
    
  6. Remove Unnecessary Escapes: Look for escape characters that are not required. E.g. code\_styleguides should be code_styleguides. E.g. **Summarize Files** -> Summarize Files. E.g. file_reader_agent should be file_reader_agent.

    • Dollar signs (\$ -> $): DEV.to's underlying Redcarpet Markdown parser does NOT treat $ as an escapable Markdown character (unlike KaTeX/LaTeX environments). Writing \$0.02 in prose renders literally with the backslash (\$0.02). Strip all \$ escapes in prose so currency amounts appear cleanly as $0.02.
  7. Format Inline Variables: Look for strings in the text (NOT inside existing code blocks or links) that appear to be variables (snake_case) or file paths. Wrap them in single backticks so they render as inline code. E.g. file_reader_agent -> file_reader_agent

  8. Ensure bold variables or paths are properly single-quoted and surrounded by bold markers. E.g. Generate llms.txt -> Generate llms.txt E.g. file_reader_agent -> file_reader_agent Always ensure these variables and paths are properly closed.

  9. Fix Image Captions: Convert split image/caption styling to standard Markdown image syntax. E.g.

    • Before fixing: My Caption
    • After fixing: My Caption
  10. Frontmatter Check: Ensure valid YAML frontmatter exists at the top. - Ensure the frontmatter follows strict YAML syntax. - Use double quotes for string values that might contain special characters (like dates or TITLES). - If missing, create it. - Ensure the following keys exist (add with placeholders/defaults if missing):

    • title: Extract from the first H1 or use "TODO: Title"
    • published: false
    • date: current datetime in the format yyyy-mm-dd HH:mm:ss UTC
    • tags: todo1, todo2
    • canonical_url: "TODO"
    • cover_image: "TODO"
  11. Liquid Tags: Convert standalone Twitter and YouTube links to Dev.to Liquid tags.

    • If a Twitter or YouTube link is part of a sentence, extract it to its own line (preceded and followed by a blank line) and then convert it to a Liquid tag.
    • Twitter/X: https://twitter.com/user/status/123 or x.com/... -> {% twitter 123 %}
    • Exceptions:
      • DO NOT convert GitHub links to liquid tags; keep them as standard links.
      • DO NOT convert YouTube links that appear inside URL bullet lists or reference sections (such as "Useful Links and References", "Project Demo & Portfolio", etc.). Keep them as standard Markdown links (e.g. - [FinSavant YouTube Demo](https://www.youtube.com/watch?v=zs_IRUxIx4E)) to avoid interrupting link lists with large embeds.
    • YouTube: https://youtube.com/watch?v=123 or youtu.be/123 -> {% youtube 123 %}
  12. Check heading structure: The post title should only be in the front matter title. It should not be repeated in the markdown content. Subsequently, all top-level headings in the md content should be H2 (##). Ensure that sub-headings are at the appropriate level. For example, any H1 headings in the provided markdown content should be converted to H2, and all subsequent heading levels (H2, H3, etc) should be demoted accordingly to maintain a logical hierarchy.

  13. Liquid/Jekyll Escaping, Backticks, & Forem's CODE_BLOCKS_REGEX Parser:

    • Do NOT use {% raw %} or {% endraw %} tags around or inside code blocks. DEV.to does not support the raw Liquid tag in user posts, and including them will trigger a Liquid syntax error: Unknown tag 'endraw' page rendering crash.
    • Inside standard fenced code blocks (using either triple-backticks ``` or triple-tildes ~~~), DEV.to natively disables Liquid compilation. Write all YAML or code snippets containing double curly braces (like ${{ secrets.GEMINI_API_KEY }}) exactly as-is, without any escaping.
    • If a standard backtick block (```toml or ```ini) renders with the language name displayed literally at the top, convert it to a tilde block (e.g. ~~~toml or ~~~~toml) to bypass the highlighting parser glitch.
    • CRITICAL — Never Put Multiple Backticks Inside Inline Code Spans (Forem CODE_BLOCKS_REGEX Bug): Before passing Markdown to Redcarpet::Markdown, Forem's MarkdownProcessor::Parser pre-processes all code spans and fenced code blocks using a lazy multiline regex:
      # From forem/app/services/markdown_processor/parser.rb:
      CODE_BLOCKS_REGEX = /(~{3}|`{3}|`{2}|`)[\s\S]*?\1/
      
      def escape_liquid_tags_in_codeblock(code_tag_content)
        code_tag_content.gsub(CODE_BLOCKS_REGEX) do |code|
          "{% raw %}#{code}{% endraw %}"
        end
      end
      
      Because CODE_BLOCKS_REGEX only has branches for ~{3}, `{3}, `{2}, and ` (with **no {4} branch** and[\s\S]*?` matching across newlines!), any inline code span containing triple backticks or an uneven/mismatched backtick sequence will corrupt the entire rest of the article:
      • Failure Example: Writing ` ```suggestion ` (5 backticks: 1 + 3 + 1) causes CODE_BLOCKS_REGEX to match the 1st backtick with the first backtick of ``` (1 to 1). Then, the remaining two backticks ( ) open a **2-backtick (` `{2} `) multiline match** that completely ignores the single closing backtick after `suggestion` and scans dozens of lines down the page until it consumes the first two backticks of your next ```yaml `` fenced code block!
      • Symptom on DEV.to: Every subsequent fenced code block in the post breaks — rendering ```yaml as a stray backtick, an empty grey code pill, and plain text (` [ ] yaml) followed by unformatted YAML/bash code leaking into paragraph text.
      • Mandatory Fix:
        1. NEVER write triple backticks inside an inline code span (never write ` ```suggestion `, suggestion `` ``, or ```` ```` suggestion ). Instead, refer to the fence identifier cleanly as `suggestion` blocks (or `yaml` blocks) in prose.
        2. Ensure every inline code span on every line uses strictly balanced single backticks (`code`) with no stray or nested backticks inside.
        3. Always place a blank line immediately before an opening code fence (```lang) and immediately after a closing code fence (```).
  14. Ordered List (1., 2.) Continuation & Preventing List Resets in Redcarpet:

    • DEV.to's Redcarpet Markdown parser breaks an <ol> list and restarts subsequent numbered items back at 1. whenever an ordered list item contains a blank line followed by an unindented or 3-space-indented paragraph (or when list item text drops to a new unindented line).
    • Mandatory Fix: Keep each numbered list item (1. **Heading:** Text..., 2. **Heading:** Text...) as a single contiguous paragraph on the same line (without blank lines between paragraphs inside a list item), or indent continuation paragraphs/blocks by strictly 4 spaces so Redcarpet preserves the <ol> sequence (1., 2., 3., 4.).
  15. Replace Medium Embedly / Datawrapper <iframe> Blocks with Native Markdown Tables:

    • Medium exports Datawrapper tables as <iframe src="https://cdn.embedly.com/widgets/media.html?...datawrapper..."> blocks because Medium does not support Markdown tables.
    • DEV.to strips raw <iframe> embeds and natively renders Markdown tables. Whenever converting a Medium export that contains a Datawrapper <iframe>, replace it with the original native Markdown table from the source .md draft.

Read the full file on GitHub · 125 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 Changed · +6 lines c59c9c0e06b7
  2. 6d ago Changed · +20 lines 9280dc63d641
  3. 1mo ago First seen · 99 lines · 53 tokens per session scan A 1f5f890d9968

Subscribe to this mod's changes

convert-to-devto is a skill published in the GitHub repository derailed-dash/dazbo-agent-skills (26 stars, last pushed 4d ago), licensed MIT. It adds 53 tokens to every session and 2,414 once invoked, about $0.0002 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-08-30.

Related

Other skills, from other repositories

ainb-fleet:daemon

Long-running watcher that scans every claude session every 5s and auto-sends continue to any session whose recent tmux pane buffer matches a known API-error regex (ratelimited, overloadederror, internalservererror, requesttimeout, sockethangup, fetchfailed, ECONNRESET). Use this when you want unattended recovery from…

stevengonsalvez/agents-in-a-box · 89 tokens

ainb-fleet:broadcast

Fan out a single prompt to selected claude sessions across the fleet. Use when you need to apply the same instruction (e.g. /clear, git pull, remote-control disconnect) to many sessions at once. Routing: tmux send-keys by default (the broker is an opt-in fallback, toggled via AINBFLEETTRANSPORT). Refuses to run…

stevengonsalvez/agents-in-a-box · 114 tokens

ainb-fleet:atc

ATC (Air Traffic Control) — the single operator-visible fleet supervisor, in exactly one mode: lite (no LLM: deterministic scan, known-transient retry policy, safety caps, evidence) or full (the persistent orchestrating brain). Full mode is a plain ainb session (Claude or Codex) running a generated policy, woken on a…

stevengonsalvez/agents-in-a-box · 254 tokens

ainb-fleet:needs

Center control panel — enumerate every claude session that is blocked waiting on something: a user answer (AskUserQuestion fired), an API error retry, an idle assistant turn-end with no follow-up, or an explicit WAITING: marker. Returns rich JSON with signal kind + context per session. Use this when you've stepped…

stevengonsalvez/agents-in-a-box · 95 tokens

wtfp-review-manuscript

This skill reviews, verifies, audits, and polishes academic manuscripts. It activates when an agent needs to review a section, test work against a plan, refine academic voice, audit submission readiness, create milestone gap plans, or perform the WTF-P review-section, verify-work, polish-prose, audit-milestone, or…

akougkas/wtf-p · 80 tokens

eval-setup

Use when the user asks to set up Eval Engineer, check .galileo readiness, create workspace scaffolding, or configure editable files, verification commands, app type, or evidence paths.

Galileo-Agent-Labs/eval-engineer · 41 tokens