Skip to content
Back to skills

Files To Prompt Directory Concatenator Llm Context

ASecurity

files-to-prompt by Simon Willison concatenates an entire directory of files into a single prompt for use with LLMs. It supports file extension filtering, gitignore-aware exclusions, Claude XML format output, Markdown fenced code blocks, line numbering, and stdin piping for flexible codebase-to-prompt workflows.

  • 36 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 8, 2026
ai-agentsgobashgitsecurity

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned June 8, 2026

npx -y skills add agentskillexchange/skills --skill files-to-prompt-directory-concatenator-llm-context --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Files To Prompt Directory Concatenator Llm Context?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Files To Prompt Directory Concatenator Llm Context
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/agentskillexchange-files-to-prompt-directory-concatenator-llm-context/badge)](https://www.skillsdirectory.com/skills/agentskillexchange-files-to-prompt-directory-concatenator-llm-context)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "files-to-prompt Directory Concatenator for LLM Context"
slug: "files-to-prompt-directory-concatenator-llm-context"
description: "files-to-prompt by Simon Willison concatenates an entire directory of files into a single prompt for use with LLMs. It supports file extension filtering, gitignore-aware exclusions, Claude XML format output, Markdown fenced code blocks, line numbering, and stdin piping for flexible codebase-to-prompt workflows."
github_stars: 2643
verification: "security_reviewed"
source: "https://github.com/simonw/files-to-prompt"
category: "Developer Tools"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "simonw/files-to-prompt"
  github_stars: 2643
---

# files-to-prompt Directory Concatenator for LLM Context

files-to-prompt by Simon Willison concatenates an entire directory of files into a single prompt for use with LLMs. It supports file extension filtering, gitignore-aware exclusions, Claude XML format output, Markdown fenced code blocks, line numbering, and stdin piping for flexible codebase-to-prompt workflows.

## Installation

Use the upstream install or setup path that matches your environment:
- pip install files-to-prompt

Basic usage or getting-started notes:
- bash
- To use files-to-prompt, provide the path to one or more files or directories you want to process:
- files-to-prompt path/to/file_or_directory [path/to/another/file_or_directory ...]

- Source: https://github.com/simonw/files-to-prompt
- Extracted from upstream docs: https://raw.githubusercontent.com/simonw/files-to-prompt/HEAD/README.md

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/files-to-prompt-directory-concatenator-llm-context/)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.