Agent skill

Temp Files

by llama-farm in llama-farm/llamafarm

Guidelines for creating temporary files in system temp directory.

Apache-2.0Auto-check: notes

Install Temp Files

skills CLI
$ npx skills add llama-farm/llamafarm --skill temp-files -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install llama-farm/llamafarm temp-files --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/llama-farm/llamafarm.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/temp-files .claude/skills/temp-files && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
temp-files
GitHub stars
836
Token cost
~515 tokens
SKILL.md length
199 words
Files
1
Skills in repo
19
Repo updated
First seen
Licence
Apache-2.0

At a glance

Guidelines for creating temporary files in system temp directory.

  • Works in 4 steps: Create the directory → Generate a unique filename → Write the file → …
  • Agents need to create reports
  • SKILL.md covers Directory Structure, Creating a Temp File, When to Use This Pattern and When NOT to Use This Pattern, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Temp Files is an agent skill from llama-farm/llamafarm. Guidelines for creating temporary files in system temp directory. Use when agents need to create reports, logs, or progress files without cluttering the repository.

Its SKILL.md is about 520 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: Deploy any AI model, agent, database, RAG, and pipeline locally or remotely in minutes. The licence is Apache-2.0.

When your agent uses it

  • Agents need to create reports
  • Progress files without cluttering the repository

Example prompts

  • “Use the temp-files skill to guideline for creating temporary files in system temp directory”
  • “/temp-files”

Requirements

  • Pre-approved tools (allowed-tools): Bash, Write, Read

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Create the directory
  2. Generate a unique filename
  3. Write the file
  4. Inform the user

What it can do on your machine

Read from SKILL.md and the folder at commit 6244d46. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash
    • Write
    • Read

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Temp Files loads about 515 tokens when it runs. Until then it costs about 44 tokens; SKILL.md has 199 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~44
When it runs · the whole SKILL.md, loaded when a task matches
~515

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash, Write, Read

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from llama-farm/llamafarm at commit 6244d46, republished under its Apache-2.0 licence (© llama-farm). 199 words, ~515 tokens.

Download SKILL.mdSave it as .claude/skills/temp-files/SKILL.md (or your agent's skills folder).
name
temp-files
description
Guidelines for creating temporary files in system temp directory. Use when agents need to create reports, logs, or progress files without cluttering the repository.
allowed-tools
Bash, Write, Read

Temporary Files Skill

When you need to create files to track progress, generate reports, or store temporary data, use the system's temporary directory instead of the repository root.

Directory Structure

Use this base path for all temporary files (aligns with Claude Code's existing task output convention):

/tmp/claude/{sanitized-cwd}/

Where {sanitized-cwd} is the current working directory path with / replaced by - (leading slash stripped first to avoid a leading dash).

Example: Working in /Users/bobby/workspace/pivot/llamafarm → /tmp/claude/Users-bobby-workspace-pivot-llamafarm/

Creating a Temp File

Step 1: Create the directory
bash
SANITIZED_PATH=$(echo "$PWD" | sed 's|^/||' | tr '/' '-')
REPORT_DIR="/tmp/claude/${SANITIZED_PATH}/reviews"
mkdir -p "$REPORT_DIR"
Step 2: Generate a unique filename

Use this pattern: {descriptor}-{YYYYMMDD-HHMMSS}.{ext}

bash
TIMESTAMP=$(date +%Y%m%d-%H%M%S)
FILENAME="code-review-${TIMESTAMP}.md"
FILEPATH="${REPORT_DIR}/${FILENAME}"
Step 3: Write the file

Use the Write tool with the full temp path.

Step 4: Inform the user

Always tell the user where the file was created:

Report saved to: /tmp/claude/Users-bobby-workspace-pivot-llamafarm/reviews/code-review-20260108-143052.md

When to Use This Pattern

  • Code review reports
  • Analysis outputs
  • Progress tracking files
  • Test result summaries
  • Any generated documentation not explicitly requested in a specific location

When NOT to Use This Pattern

  • User explicitly specifies a file path
  • Creating files that should be committed (e.g., README, config files)
  • Editing existing files

Cleanup Note

Files in /tmp/ are cleared on system restart. If the user needs to preserve a file, suggest they copy it to a permanent location.

© llama-farm, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/temp-files of llama-farm/llamafarm.

Open the folder on GitHubat commit 6244d46

Compare with similar skills

Temp Files next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Temp Files compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Temp Files this skillllama-farm/llamafarm836—~515Automated safety check: NotesApache-2.0
Directory Submissionscoreyhaines31/marketingskills54k2 repos~6.7kAutomated safety check: PassMIT
Writing Guidelinessickn33/agentic-awesome-skills47k1 repos~438Automated safety check: PassMIT
Web Design Guidelinesnexu-io/open-design100k—~601Automated safety check: PassMIT
Writing Guidelinesvercel-labs/agent-skills32k7 repos~309Automated safety check: PassNone
Brand Guidelinesalirezarezvani/claude-skills28k1 repos~1.3kAutomated safety check: PassMIT

Similar skills

  • Directory Submissions

    coreyhaines31/marketingskills

    When the user wants to submit their product to startup, SaaS, AI, agent, MCP, no-code, or review directories for backlinks, domain rating, and discovery.

    54k GitHub starsUsed in 2 repos~6.7k tokens
    Marketing & SEOAuto-check passed
  • Writing Guidelines

    sickn33/agentic-awesome-skills

    Curated upstream guidance for Writing Guidelines; use when the workflow matches the user goal.

    47k GitHub starsUsed in 1 repo~438 tokens
    Writing & ContentAuto-check passed
  • Web Design Guidelines

    nexu-io/open-design

    Review UI code for Web Interface Guidelines compliance by the Vercel engineering team.

    100k GitHub stars~601 tokensUpdated today
    Frontend & DesignAuto-check passed
  • Writing Guidelines

    vercel-labs/agent-skills

    Official

    Review docs/prose for Writing Guidelines compliance. An agent skill from vercel-labs/agent-skills.

    32k GitHub starsUsed in 7 repos~309 tokens
    Writing & ContentAuto-check passed
  • Brand Guidelines

    alirezarezvani/claude-skills

    When the user wants to apply, document, or enforce brand guidelines for any product or company.

    28k GitHub starsUsed in 1 repo~1.3k tokens
    Writing & ContentAuto-check passed
  • Brilliant Directories Automation

    ComposioHQ/awesome-claude-skills

    Automate Brilliant Directories tasks via Rube MCP (Composio).

    77k GitHub starsUsed in 3 repos~783 tokens
    Productivity & AutomationAuto-check passed

More from llama-farm/llamafarm

All 19 skills in this repo
  • Reflect

    llama-farm/llamafarm

    Analyze the current session and propose improvements to skills.

    836 GitHub stars~1.5k tokensUpdated 4 mo ago
    Auto-check: notes
  • CLI Skills

    llama-farm/llamafarm

    CLI best practices for LlamaFarm. An agent skill from llama-farm/llamafarm.

    836 GitHub stars~1.2k tokensUpdated 4 mo ago
    Auto-check passed
  • Code Review

    llama-farm/llamafarm

    Comprehensive code review for diffs. An agent skill from llama-farm/llamafarm.

    836 GitHub stars~2.3k tokensUpdated 4 mo ago
    Auto-check: notes
  • Commit Push PR

    llama-farm/llamafarm

    Commit changes, push to GitHub, and open a PR. An agent skill from llama-farm/llamafarm.

    836 GitHub stars~2.3k tokensUpdated 4 mo ago
    Auto-check: notes
  • Common Skills

    llama-farm/llamafarm

    Best practices for the Common utilities package in LlamaFarm.

    836 GitHub stars~885 tokensUpdated 4 mo ago
    Auto-check passed
  • Config Skills

    llama-farm/llamafarm

    Configuration module patterns for LlamaFarm. An agent skill from llama-farm/llamafarm.

    836 GitHub stars~1.3k tokensUpdated 4 mo ago
    Auto-check passed

Questions about Temp Files

What does Temp Files do?

Guidelines for creating temporary files in system temp directory. Temp Files is an agent skill from llama-farm/llamafarm. Guidelines for creating temporary files in system temp directory.

When should I use Temp Files?

Temp Files fits situations like: agents need to create reports; progress files without cluttering the repository.

How do I install Temp Files in Claude Code?

Run `npx skills add llama-farm/llamafarm --skill temp-files -a claude-code`. Or copy the skill folder (.claude/skills/temp-files in llama-farm/llamafarm) into .claude/skills/temp-files in your project. Claude Code loads it when a task matches its description.

How do I install Temp Files in Codex?

Run `npx skills add llama-farm/llamafarm --skill temp-files -a codex`. Or copy the skill folder (.claude/skills/temp-files in llama-farm/llamafarm) into .agents/skills/temp-files in your project. Codex loads it when a task matches its description.

Can I use Temp Files in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add llama-farm/llamafarm --skill temp-files -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/temp-files, .gemini/skills/temp-files, .github/skills/temp-files and .opencode/skills/temp-files in your project.

What does Temp Files need to run?

SKILL.md names no scripts, command-line tools or credentials: Temp Files is instructions for the agent only. Its frontmatter pre-approves these tools: Bash, Write, Read.

Does Temp Files access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Temp Files safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Temp Files use?

Temp Files is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Temp Files use?

About 515 tokens (SKILL.md is roughly 2.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Temp Files?

Skills that share tags, products or a category with Temp Files: Directory Submissions (coreyhaines31/marketingskills, 54k stars), Writing Guidelines (sickn33/agentic-awesome-skills, 47k stars), Web Design Guidelines (nexu-io/open-design, 100k stars) and Writing Guidelines (vercel-labs/agent-skills, 32k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Temp Files?

llama-farm (a GitHub organization) maintains it in llama-farm/llamafarm, which has 836 GitHub stars. The repository holds 19 skills in this directory. The repository was last updated on June 10, 2026.

Source: llama-farm/llamafarm on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.