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
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.
[](https://www.skillsdirectory.com/skills/agentskillexchange-files-to-prompt-directory-concatenator-llm-context)
---
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/)