create-scratch

Create scratch Markdown files with unique three-word IDs and frontmatter.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/LKPioniere/lohnlab-esign --skill create-scratch-lkpioniere
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-scratch
Source: https://github.com/LKPioniere/lohnlab-esign/tree/main/.agents/skills/create-scratch
Command: npx skills add https://github.com/LKPioniere/lohnlab-esign --skill create-scratch-lkpioniere

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill simplifies creating temporary scratch files by generating a unique identifier, a frontmatter block, and a properly formatted title for quick experimentation and note-taking.

Core Features & Use Cases

  • Generates a unique three-word identifier (e.g., calm-teal-cloud) for each scratch file.
  • Creates a Markdown file with frontmatter containing the current date and a formatted title, followed by the provided content.
  • Organizes scratch notes in .agents/scratches/ to prevent filename collisions and support easy retrieval.

Quick Start

Create a new scratch file by providing a slug and content to the script.

Frequently Asked Questions about create-scratch

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate creating markdown notes with frontmatter and unique filenames?

To automate creating markdown notes with frontmatter and unique filenames, use a script that generates a three-word ID, injects the current date, and saves your content. This organizes scratch notes in a dedicated directory to prevent naming collisions and ensure quick retrieval.

What is the best way to generate unique identifiers for temporary scratch files?

The best way to generate unique identifiers for temporary scratch files is using an automated script that creates a three-word slug, like calm-teal-cloud. This approach eliminates filename collisions in your notes directory while keeping titles readable and distinct.

Can I use a TypeScript script to add frontmatter to markdown files automatically?

Yes, you can use a TypeScript script to add frontmatter to markdown files automatically. The script enforces naming conventions, injects the current date into the frontmatter block, formats the title, and saves your provided text under the new filename.

Does generating scratch notes with a script prevent filename collisions?

Generating scratch notes with a script prevents filename collisions by assigning each file a unique three-word identifier and routing them to a specific scratches directory. This automated validation ensures your temporary markdown notes never overwrite each other.

How do I organize temporary markdown notes to avoid clutter in my project?

You can organize temporary markdown notes to avoid clutter by routing them to a dedicated scratches directory. An automated script enforces this directory structure, generates unique filenames, and injects frontmatter with the current date for easy retrieval and management.