Unwraps hard-wrapped markdown files so that each sentence ends with a newline instead of mid-sentence line breaks.

Custom licenceAuto-check passedDocuments & Office

Install Markdown Unwrap

skills CLI
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill markdown-unwrap -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install brycewang-stanford/Auto-Empirical-Research-Skills markdown-unwrap --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/22-christopherkenny-skills/skills/markdown-unwrap .claude/skills/markdown-unwrap && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
markdown-unwrap
GitHub stars
4.5k
Token cost
~876 tokens
SKILL.md length
390 words
Files
1
Skills in repo
383
Repo updated
First seen
Licence
Custom licence

At a glance

Unwraps hard-wrapped markdown files so that each sentence ends with a newline instead of mid-sentence line breaks.

  • Works in 4 steps: Pass-through lines — output immediately,… → Buffering — for all other lines, append… → Flushing — when a pass-through line (or… → …
  • Asked to unwrap text
  • SKILL.md covers Input Arguments, Algorithm, What Is Preserved and What Changes, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Markdown Unwrap is an agent skill from brycewang-stanford/Auto-Empirical-Research-Skills. Unwraps hard-wrapped markdown files so that each sentence ends with a newline instead of mid-sentence line breaks. Joins continuation lines within a paragraph into single lines, then re-breaks at sentence boundaries (period, question mark, exclamation point). Preserves blank lines, headings, fenced code blocks, block quotes, and list items. Use when asked to unwrap text, fix line breaks, reflow sentences, or clean up hard-wrapped markdown or .qmd files.

Its SKILL.md is about 880 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Documents & Office, covering Markdown. The repository describes itself as: 🔬 A curated collection of 23,000+ agent skills for empirical research across 8 social science disciplines. | 精选 23,000+ AI Agent 技能库,覆盖8大社会科学学科的实证研究。CoPaper.AI…

When your agent uses it

  • Asked to unwrap text
  • Fix line breaks
  • Reflow sentences
  • Clean up hard-wrapped markdown

Example prompts

  • “Use the markdown-unwrap skill to unwrap hard-wrapped markdown files so that each sentence ends with a newline instead of mid-sentence line breaks”
  • “/markdown-unwrap”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Pass-through lines — output immediately, do not buffer
  2. Buffering — for all other lines, append the line's text to the current buffer (joining with a single space, trimming leading/trailing…
  3. Flushing — when a pass-through line (or end-of-file) is encountered, flush the buffer
  4. Write the result to the output path (or overwrite the input if no output path was given).

What it can do on your machine

Read from SKILL.md and the folder at commit 9fa87d8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Markdown Unwrap loads about 876 tokens when it runs. Until then it costs about 118 tokens; SKILL.md has 390 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~118
When it runs · the whole SKILL.md, loaded when a task matches
~876

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 390 words (~876 tokens).

“Reflow a markdown (or .qmd) file so that each sentence occupies its own line. This is the inverse of hard-wrapping: mid-sentence newlines are removed and the text is re-broken only at sentence endings.”

— opening of SKILL.md by brycewang-stanford, Custom licence
name
markdown-unwrap
metadata.author
Christopher T. Kenny
metadata.version
1

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/22-christopherkenny-skills/skills/markdown-unwrap of brycewang-stanford/Auto-Empirical-Research-Skills.

Open the folder on GitHubat commit 9fa87d8

Compare with similar skills

Markdown Unwrap next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Markdown Unwrap compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Markdown Unwrap this skillbrycewang-stanford/Auto-Empirical-Research-Skills4.5k—~876Automated safety check: PassCustom licence
Markdown Article FormatterJimLiu/baoyu-skills26k6 repos~3.5kAutomated safety check: PassMIT
MarkitdownImCa0/just-laws78214 repos~3.2kAutomated safety check: NotesMIT
Obsidian MarkdownAtmosphere/atmosphere3.8k20 repos~1.3kAutomated safety check: PassApache-2.0
Gzh Designisjiamu/gzh-design-skill3.9k1 repos~2.2kAutomated safety check: PassAGPL-3.0
Crosspostingwasp-lang/wasp19k—~1.1kAutomated safety check: PassMIT

Similar skills

  • Markdown Article Formatter

    JimLiu/baoyu-skills

    Reformats plain text or Markdown articles with frontmatter, a title, a summary, headings, bold, lists and code blocks, and saves a separate formatted copy.

    26k GitHub starsUsed in 6 repos~3.5k tokens
    Documents & OfficeAuto-check passed
  • Markitdown

    ImCa0/just-laws

    Convert files and office documents to Markdown. An agent skill from ImCa0/just-laws.

    782 GitHub starsUsed in 14 repos~3.2k tokens
    Documents & OfficeAuto-check: notes
  • Obsidian Markdown

    Atmosphere/atmosphere

    Create and edit Obsidian Flavored Markdown with wikilinks, embeds, callouts, properties, and other Obsidian-specific syntax.

    3.8k GitHub starsUsed in 20 repos~1.3k tokens
    Documents & OfficeAuto-check passed
  • Gzh Design

    isjiamu/gzh-design-skill

    微信公众号文章排版引擎,将 Markdown 转换为可直接粘贴到公众号编辑器的 HTML。主题风格从 references/theme-index.md 注册的自定义主题库中选取,自动章节编号、关键词下划线标记、引言卡片、目录导航、代码块、图片/GIF、作者签名。支持 Markdown / Word(.docx) / PDF / 纯文本输入(非 Markdown…

    3.9k GitHub starsUsed in 1 repo~2.2k tokens
    Documents & OfficeAuto-check passed
  • Crossposting

    wasp-lang/wasp

    Crosspost Wasp blog articles (MDX) to DEV.to and Medium. An agent skill from wasp-lang/wasp.

    19k GitHub stars~1.1k tokensUpdated today
    Documents & OfficeAuto-check passed
  • Review The Docs

    supabase/supabase

    Official

    Review Supabase docs changes locally in your supabase/supabase checkout — either an open PR (triage, classify, verify) or your own branch before opening a PR (local self-review).

    111k GitHub stars~4.6k tokensUpdated today
    Documents & OfficeAuto-check passed

More from brycewang-stanford/Auto-Empirical-Research-Skills

All 383 skills in this repo
  • Aer Consistency

    brycewang-stanford/Auto-Empirical-Research-Skills

    A skill your agent uses when auditing a finished or near-finished AER, AER:Insights, or AEJ manuscript for internal consistency: headline numbers across abstract, introduction, results, and tables…

    4.5k GitHub starsUsed in 1 repo~2.6k tokens
    Auto-check passed
  • Latex Paper En

    brycewang-stanford/Auto-Empirical-Research-Skills

    English LaTeX academic paper assistant for existing .tex projects.

    4.5k GitHub starsUsed in 1 repo~2.2k tokens
    Auto-check passed
  • Bayesian Workflow

    brycewang-stanford/Auto-Empirical-Research-Skills

    Opinionated Bayesian modeling workflow with PyMC and ArviZ. An agent skill from brycewang-stanford/Auto-Empirical-Research-Skills.

    4.5k GitHub stars~3.5k tokensUpdated 4 days ago
    Auto-check passed
  • Daily Paper Generator

    brycewang-stanford/Auto-Empirical-Research-Skills

    A skill your agent uses when the user asks to "generate daily paper", "search arXiv for EEG papers", "find EEG decoding papers", "review brain-computer interface papers", or wants to create paper…

    4.5k GitHub stars~2.2k tokensUpdated 4 days ago
    Auto-check passed
  • Five Questions

    brycewang-stanford/Auto-Empirical-Research-Skills

    Deeply analyze any empirical economics PDF using the five-question framework (五问框架): research question, identification strategy, core estimand, robustness logic, and scholarly contribution.

    4.5k GitHub stars~1.7k tokensUpdated 4 days ago
    Auto-check: notes
  • Kaggle Research

    brycewang-stanford/Auto-Empirical-Research-Skills

    A skill your agent uses when a research task needs reproducible Kaggle discovery, metadata inspection, bounded public-data downloads, competition or kernel discovery, model discovery, or an…

    4.5k GitHub stars~868 tokensUpdated 4 days ago
    Auto-check passed

Questions about Markdown Unwrap

What does Markdown Unwrap do?

Unwraps hard-wrapped markdown files so that each sentence ends with a newline instead of mid-sentence line breaks. Markdown Unwrap is an agent skill from brycewang-stanford/Auto-Empirical-Research-Skills. Unwraps hard-wrapped markdown files so that each sentence ends with a newline instead of mid-sentence line breaks.

When should I use Markdown Unwrap?

Markdown Unwrap fits situations like: asked to unwrap text; fix line breaks; reflow sentences; clean up hard-wrapped markdown.

How do I install Markdown Unwrap in Claude Code?

Run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill markdown-unwrap -a claude-code`. Or copy the skill folder (skills/22-christopherkenny-skills/skills/markdown-unwrap in brycewang-stanford/Auto-Empirical-Research-Skills) into .claude/skills/markdown-unwrap in your project. Claude Code loads it when a task matches its description.

How do I install Markdown Unwrap in Codex?

Run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill markdown-unwrap -a codex`. Or copy the skill folder (skills/22-christopherkenny-skills/skills/markdown-unwrap in brycewang-stanford/Auto-Empirical-Research-Skills) into .agents/skills/markdown-unwrap in your project. Codex loads it when a task matches its description.

Can I use Markdown Unwrap in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill markdown-unwrap -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/markdown-unwrap, .gemini/skills/markdown-unwrap, .github/skills/markdown-unwrap and .opencode/skills/markdown-unwrap in your project.

What does Markdown Unwrap need to run?

SKILL.md names no scripts, command-line tools or credentials: Markdown Unwrap is instructions for the agent only.

Does Markdown Unwrap access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Markdown Unwrap safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Markdown Unwrap use?

Markdown Unwrap has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Markdown Unwrap use?

About 876 tokens (SKILL.md is roughly 3.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Markdown Unwrap?

Skills that share tags, products or a category with Markdown Unwrap: Markdown Article Formatter (JimLiu/baoyu-skills, 26k stars), Markitdown (ImCa0/just-laws, 782 stars), Obsidian Markdown (Atmosphere/atmosphere, 3.8k stars) and Gzh Design (isjiamu/gzh-design-skill, 3.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Markdown Unwrap?

brycewang-stanford (a GitHub user) maintains it in brycewang-stanford/Auto-Empirical-Research-Skills, which has 4,542 GitHub stars. The repository holds 383 skills in this directory. The repository was last updated on October 5, 2026.

Source: brycewang-stanford/Auto-Empirical-Research-Skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.