temp-files

Create and manage temporary files in the /tmp/claude/{sanitized-cwd} directory.

835|58|Updated Jul 9, 2025
One-click install
npx skills add https://github.com/llama-farm/llamafarm --skill temp-files
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: temp-files
Source: https://github.com/llama-farm/llamafarm/tree/main/.claude/skills/temp-files
Command: npx skills add https://github.com/llama-farm/llamafarm --skill temp-files

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a clear, consistent approach to creating and managing temporary files in the system temporary directory, preventing clutter in the repository.

Core Features & Use Cases

  • Standardizes the storage location under /tmp/claude/{sanitized-cwd}/ for all temporary outputs.
  • Provides step-by-step guidance for creating directories, generating timestamped file names, and writing temporary data.
  • Suitable for workflows that generate reports, logs, or transient data during automation tasks and testing.

Quick Start

Follow the built-in guidance to create and manage temporary files within the system temp directory. Create the directory, generate a timestamped filename, and write the file, then confirm the path appears in /tmp/claude.

Frequently Asked Questions about temp-files

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

FAQPage Schema
How do I create temporary files in the system temp directory without cluttering my repository?▼

To create temporary files without cluttering your repository, use a standardized system temp directory. This skill enforces storing transient data under /tmp/claude/{sanitized-cwd}/, keeping reports and logs out of your working directory.

What is the best way to manage transient data and logs during automation workflows?▼

The best way to manage transient data during automation is using a standardized temporary file workflow. This involves creating a dedicated directory, generating timestamped filenames, and writing data to the system temp folder to ensure consistent tracking.

How do I generate timestamped filenames for temporary reports?▼

To generate timestamped filenames for temporary reports, follow the skill's step-by-step CLI guidance. This process creates uniquely named files within the /tmp/claude/{sanitized-cwd}/ directory, preventing naming collisions during automated testing tasks.

Does this temporary file management approach work for testing and automation tasks?▼

Yes, this temporary file management approach works specifically for testing and automation tasks. It provides a consistent mechanism for writing transient data, logs, and reports to the system temp directory, ensuring your automation workflows remain clean.

Why should I use a sanitized path for system temp file storage?▼

You should use a sanitized path for system temp file storage to ensure directory safety and consistency. The skill standardizes storage under /tmp/claude/{sanitized-cwd}/, converting your working directory into a safe, predictable folder name within the temporary directory.