markdown-writer
A secure and atomic tool for creating or updating markdown files within your repository.
Install
mkdir -p .claude/skills/markdown-writer && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/12323" && unzip -o skill.zip -d .claude/skills/markdown-writer && rm skill.zipInstalls to .claude/skills/markdown-writer
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Write markdown content to file paths using the MCP markdown-writer server. Use when you need to save generated markdown content to a file, especially in contexts where (1) The Write tool is unavailable or restricted, (2) You need guaranteed atomic writes with verification, (3) Writing markdown files for documentation, reports, or research outputs, (4) An agent needs to persist markdown without user permission prompts.Key capabilities
- →Write markdown content to specified file paths
- →Create parent directories automatically
- →Overwrite existing files without prompting
- →Perform atomic writes via temporary files and rename
- →Validate paths to prevent traversal attacks
- →Return file size and statistics after writing
How it works
The skill writes markdown content to disk using an MCP markdown-writer server, which handles file operations, creates directories, and ensures atomic writes.
Inputs & outputs
When to use markdown-writer
- →Saving documentation output
- →Writing report files
- →Automating markdown file generation
- →Verifying file integrity
About this skill
Markdown Writer
Write markdown content to disk reliably using the MCP markdown-writer server with atomic writes and verification.
Usage
Write a file
Use the mcp__markdown-writer__write tool directly:
Example:
Use mcp__markdown-writer__write to write the following content to /path/to/file.md:
# Your Markdown Content
Multi-line content works fine.
## Sections supported
- Lists
- Code blocks
- All markdown features
Parameters:
path: Absolute path (e.g.,/tmp/test.md) or relative path from repository root (e.g.,docs/test.md)content: Markdown content to write
Verify a file (optional)
Use the mcp__markdown-writer__verify tool:
Example:
Use mcp__markdown-writer__verify to check /path/to/file.md
Parameters:
path: Absolute path (e.g.,/tmp/test.md) or relative path from repository root (e.g.,docs/test.md)
Key Behaviors
- Creates parent directories automatically
- Overwrites existing files without prompting
- Atomic writes via temporary files and rename
- Supports absolute paths (e.g.,
/tmp/file.md) and relative paths from repository root (e.g.,docs/file.md) - Path validation prevents traversal attacks (../)
- Returns file size and statistics
When to Use This Skill
Use this skill when:
- You need to write markdown files from within an agent/subagent
- The Write tool is restricted or unavailable
- You need guaranteed atomic writes
- You're generating documentation, reports, or research outputs
- You want to avoid user permission prompts for file writes
Notes
- The MCP server handles all file operations
- No external Python dependencies required
- All operations are logged for debugging
When not to use it
- →When the Write tool is available and unrestricted
- →When writing non-markdown content
- →When user permission prompts for file writes are acceptable
Limitations
- →Requires the MCP markdown-writer server to be running
- →Only writes markdown content
- →Overwrites existing files without confirmation
How it compares
This skill provides guaranteed atomic writes and path validation through a dedicated server, offering more reliability and security than a direct file write operation.
Compared to similar skills
markdown-writer side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| markdown-writer (this skill) | 0 | 8mo | No flags | Beginner |
| update-release-notes | 1 | 28d | Review | Advanced |
| blogpost-creator | 1 | 3mo | Review | Beginner |
| audio-transcriber | 1 | 4mo | Review | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
update-release-notes
tldraw
Update the release notes file at `apps/docs/content/releases/next.mdx` based on PRs merged to main since the previous release, or archive `next.mdx` to a versioned file when a new version is published.
blogpost-creator
Xe
Create new blogposts from a template or linkposts using the hydrate command.
audio-transcriber
sickn33
Transform audio recordings into professional Markdown documentation with intelligent summaries using LLM integration
mde-features
salaroglio
Reference of MdExplorer-specific markdown extensions beyond CommonMark — text() file include, html() preview, runnable code blocks (bash/sh/pwsh/cmd), and PlantUML interactive SVG. Consult this skill when writing or editing any `.md` document in an MDE project to know which rendering features you ca
cc-blog
hoshinotsuyoshi
Learn from blogs to improve Claude Code usage
word
Fergana-Labs
Create, read, edit, and manipulate Microsoft Word documents (.docx files). Use when users ask to work with Word files, create documents, read .docx files, or format text documents.