Pasted File Editor

pasted-file-editor.skillsafe.ai

Clean Completely free

A writing box that handles pastes properly: paste an actual file, or text over an adjustable threshold (1,000 characters by default), and it attaches below as a separate item instead of flooding your draft. Attachments show name, type and size, with inline previews for images. Files stay local; nothing is uploaded. Imported Claude artifact. Source: https://github.com/simonw/tools (pasted-file-editor.html, Apache-2.0).

Share

Details

PricingCompletely free
Security scanClean — skill and frontend scanned
Created2026-08-25
Updated2026-08-25
View source prompt + release files — fork-enabled apps share their full source

System prompt (SKILL.md)

---
name: pasted-file-editor
description: A writing box that catches pasted files and oversized pastes as attachments instead of dumping them into your text.
metadata:
  tags:
    - artifact-import
    - productivity
  source_url: https://tools.simonwillison.net/pasted-file-editor
  github_repo_url: https://github.com/simonw/tools
---

# Pasted File Editor

An imported Claude artifact demonstrating a small but genuinely good editor
behaviour: type normally, but when you paste an actual file - or a wall of text
past a threshold you set, 1,000 characters by default - it gets attached below
as a separate item and your draft is left alone.

Anyone who has pasted a 40KB log into a message box and lost the thread of what
they were writing knows the problem. Attachments show name, type and size,
images preview inline, and the threshold is adjustable.

Files stay local, held as blob URLs in the page. Nothing is uploaded, no model
is called, and nothing is metered.

Release files (files)

Every public app is built from a security-scanned skill and must pass a clean scan — skill and frontend — before it can be listed. Have a skill of your own? Turn it into an app — or read the step-by-step walkthrough.