Observed since 21 Oct, 11:17 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Turn AI-generated Markdown into real project files
Turn AI-generated Markdown into real project files — instantly.
ai-md-scaffold is a lightweight CLI tool and Python library that converts AI-generated Markdown (from ChatGPT, DeepSeek, Claude, Gemini, etc.) into a real project directory structure with actual files.
No more manual copy-paste.
No cleanup.
No broken file paths.
AI tools are great at generating code — but terrible at delivering it in a usable format.
This tool bridges that gap.
You give Markdown.
It creates real files.
**file**) or Headers (### file)📁, 📄), numbering (1.), and commentsfile_2.js).env, Dockerfile, config filespip install ai-md-scaffold
Verify installation:
ai-md-scaffold --version
Best for prompts like "Use path/to/file for filenames".
ai-md-scaffold project.md
Best for prompts like "Use ### path/to/file for filenames". Handles emojis and comments automatically.
ai-md-scaffold project.md --format 2
# Overwrite existing files
ai-md-scaffold project.md --overwrite
# Preview only (no files written)
ai-md-scaffold project.md --dry-run
ai-md-scaffold supports two common AI output styles.
Matches files wrapped in bold asterisks **...**.
Input Example:
# 📁 Project Structure
Here is the **src/main.py** file:
```python
print("Hello")
```
And here is **README.md**:
...
✅ Robust: Handles prefixes like
1. **file.js**or# **file.js**
--format 2)Matches files in Markdown headers (#, ##, ###).
Input Example:
### 1. src/main.py
```python
print("Hello")
```
### 📄 package.json (Backend)
```json
{}
```
### 📁 src/components/App.jsx
...
✅ Smart Parser:
- Ignores numbering (
1.,2.)- Removes emojis (
📁,📄)- Removes comments in parentheses
(Backend)- Renames duplicates automatically (
App.jsx->App_2.jsx)
To get perfect results, append one of these prompts to your AI request:
Output code in Markdown.
IMPORTANT: Precede each code block with the filename in bold, like: **path/to/file.ext**
Output code in Markdown.
IMPORTANT: Use headers for filenames, like: ### path/to/file.ext
You can use ai-md-scaffold as a Python module.
from ai_md_scaffold import parse_markdown, generate
# Read AI-generated markdown
with open("project.md") as f:
markdown_text = f.read()
# Parse markdown (fmt=1 for Bold, fmt=2 for Headers)
files = parse_markdown(markdown_text, fmt=2)
# Generate files
generate(files, root="my_project", overwrite=False, dry_run=False)
| Option | Description |
|---|---|
--format | 1 = Bold **file** (default), 2 = Headers ### file |
--dry-run | Preview files without writing |
--overwrite | Overwrite existing files |
--no-interactive | Disable prompts |
--version | Show version |
$ ai-md-scaffold project.md --format 2
Root folder detected: pdf-tools
Use this folder? [Y/n] y
[INFO] Created: pdf-tools/server/package.json
[INFO] Created: pdf-tools/server/app.js
[INFO] Created: pdf-tools/client/src/App.jsx
Project successfully generated
MIT License — free for personal & commercial use.
This tool exists because AI should build projects, not just talk about them.
If you find this useful — ⭐ star the repo, share it, or build on top of it.
Happy scaffolding 🚀
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 1.2.0 | 17 Dec 2025 | 0 |
This describes our collected data; it is not a security assessment.
Observed since 21 Oct, 11:17 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:ca97fb1d1c11613bac84a58d6afd51f66b06ce8a8bf7db41e6881d68dc986c47