{"id":"2b3af195-2b27-4ea6-89d0-05a3cb1122d2","shortId":"aBa3rC","kind":"skill","title":"files-to-prompt Directory Concatenator for LLM Context","tagline":"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 flexib","description":"# files-to-prompt Directory Concatenator for LLM Context\n\nfiles-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.\n\n## Installation\n\nUse the upstream install or setup path that matches your environment:\n- pip install files-to-prompt\n\nBasic usage or getting-started notes:\n- bash\n- To use files-to-prompt, provide the path to one or more files or directories you want to process:\n- files-to-prompt path/to/file_or_directory [path/to/another/file_or_directory ...]\n\n- Source: https://github.com/simonw/files-to-prompt\n- Extracted from upstream docs: https://raw.githubusercontent.com/simonw/files-to-prompt/HEAD/README.md\n\n## Source\n\n- [Agent Skill Exchange](https://agentskillexchange.com/skills/files-to-prompt-directory-concatenator-llm-context/)","tags":["files","prompt","directory","concatenator","llm","context","skills","agentskillexchange","agent-skills","ai-agents","ai-tools","awesome-list"],"capabilities":["skill","source-agentskillexchange","skill-files-to-prompt-directory-concatenator-llm-context","topic-agent-skills","topic-ai-agents","topic-ai-tools","topic-awesome-list","topic-claude-code","topic-codex","topic-cursor","topic-llm","topic-mcp","topic-npx-skills","topic-openclaw","topic-skills-catalog"],"categories":["skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/agentskillexchange/skills/files-to-prompt-directory-concatenator-llm-context","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add agentskillexchange/skills","source_repo":"https://github.com/agentskillexchange/skills","install_from":"skills.sh"}},"qualityScore":"0.454","qualityRationale":"deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 8 github stars · SKILL.md body (1,003 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T19:10:27.909Z","embedding":null,"createdAt":"2026-05-18T13:16:33.462Z","updatedAt":"2026-05-18T19:10:27.909Z","lastSeenAt":"2026-05-18T19:10:27.909Z","tsv":"'/simonw/files-to-prompt':169 '/simonw/files-to-prompt/head/readme.md':176 '/skills/files-to-prompt-directory-concatenator-llm-context/)':183 'agent':178 'agentskillexchange.com':182 'agentskillexchange.com/skills/files-to-prompt-directory-concatenator-llm-context/)':181 'awar':38,92 'bash':139 'basic':132 'block':47,101 'claud':40,94 'code':46,100 'codebas':110 'codebase-to-prompt':109 'concaten':6,17,60,71 'context':9,63 'directori':5,20,59,74,155 'doc':173 'entir':19,73 'environ':125 'exchang':180 'exclus':39,93 'extens':34,88 'extract':170 'fenc':45,99 'file':2,11,22,33,56,65,76,87,129,143,153,161 'files-to-prompt':1,10,55,64,128,142,160 'filter':35,89 'flexib':54 'flexibl':108 'format':42,96 'get':136 'getting-start':135 'github.com':168 'github.com/simonw/files-to-prompt':167 'gitignor':37,91 'gitignore-awar':36,90 'instal':114,118,127 'line':48,102 'llm':8,62 'llms':30,84 'markdown':44,98 'match':123 'note':138 'number':49,103 'one':150 'output':43,97 'path':121,148 'path/to/another/file_or_directory':165 'path/to/file_or_directory':164 'pip':126 'pipe':52,106 'process':159 'prompt':4,13,26,58,67,80,112,131,145,163 'provid':146 'raw.githubusercontent.com':175 'raw.githubusercontent.com/simonw/files-to-prompt/head/readme.md':174 'setup':120 'simon':15,69 'singl':25,79 'skill':179 'skill-files-to-prompt-directory-concatenator-llm-context' 'sourc':166,177 'source-agentskillexchange' 'start':137 'stdin':51,105 'support':32,86 'topic-agent-skills' 'topic-ai-agents' 'topic-ai-tools' 'topic-awesome-list' 'topic-claude-code' 'topic-codex' 'topic-cursor' 'topic-llm' 'topic-mcp' 'topic-npx-skills' 'topic-openclaw' 'topic-skills-catalog' 'upstream':117,172 'usag':133 'use':28,82,115,141 'want':157 'willison':16,70 'workflow':113 'xml':41,95","prices":[{"id":"292198dd-aecc-48bb-ba85-4e96b20d222f","listingId":"2b3af195-2b27-4ea6-89d0-05a3cb1122d2","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"agentskillexchange","category":"skills","install_from":"skills.sh"},"createdAt":"2026-05-18T13:16:33.462Z"}],"sources":[{"listingId":"2b3af195-2b27-4ea6-89d0-05a3cb1122d2","source":"github","sourceId":"agentskillexchange/skills/files-to-prompt-directory-concatenator-llm-context","sourceUrl":"https://github.com/agentskillexchange/skills/tree/main/skills/files-to-prompt-directory-concatenator-llm-context","isPrimary":false,"firstSeenAt":"2026-05-18T13:16:33.462Z","lastSeenAt":"2026-05-18T19:10:27.909Z"}],"details":{"listingId":"2b3af195-2b27-4ea6-89d0-05a3cb1122d2","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"agentskillexchange","slug":"files-to-prompt-directory-concatenator-llm-context","github":{"repo":"agentskillexchange/skills","stars":8,"topics":["agent-skills","ai-agents","ai-tools","awesome-list","claude-code","codex","cursor","llm","mcp","npx-skills","openclaw","skills-catalog"],"license":"mit","html_url":"https://github.com/agentskillexchange/skills","pushed_at":"2026-05-18T19:02:17Z","description":"The open catalog of AI agent skills — 2,000+ security-scanned skills for Claude Code, Cursor, Codex, and more.","skill_md_sha":"48d8faf0e29e372258971aafe6511301ca7ea089","skill_md_path":"skills/files-to-prompt-directory-concatenator-llm-context/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/agentskillexchange/skills/tree/main/skills/files-to-prompt-directory-concatenator-llm-context"},"layout":"multi","source":"github","category":"skills","frontmatter":{"name":"files-to-prompt Directory Concatenator for 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."},"skills_sh_url":"https://skills.sh/agentskillexchange/skills/files-to-prompt-directory-concatenator-llm-context"},"updatedAt":"2026-05-18T19:10:27.909Z"}}