{"adoption": {"forks": 178, "observed_at": "2026-08-28T04:07:21.543869+00:00", "stars": 2779}, "canonical_url": "https://ross.abutalabs.com/products/files-to-prompt", "card": {"archived": false, "artifact_type": "cli-tool", "description": "Concatenate a directory full of files into a single prompt for use with LLMs", "domain": ["developer-tools", "large-language-models", "files"], "enriched": true, "function": ["cli", "prompt-engineering", "developer-tools", "file-system"], "health_score": 35, "homepage": null, "language": "Python", "license": "Apache-2.0", "license_family": "permissive", "maturity": "active", "member_repos": ["simonw/files-to-prompt"], "name": "simonw/files-to-prompt", "platform": ["cli", "python", "cross-platform"], "pushed_at": "2025-02-19T05:57:43+00:00", "repo": "simonw/files-to-prompt", "stars": 2779, "tags": ["llm-prompting", "code-context", "file-concatenation", "cxml", "piped-output", "command-line"], "topics": [], "urls": [], "use_cases": ["concatenate a codebase into one prompt for an LLM", "feed multiple source files to Claude or ChatGPT", "prepare repository context for code review by an AI", "filter files by extension before sending to an LLM", "output files in Claude XML format", "include line numbers when sharing code with an LLM"], "what_it_is": "A Python CLI tool that concatenates a directory of files into a single prompt suitable for pasting into LLMs, with filtering by extension, ignore patterns, and output formats like Claude XML and Markdown. It is published on PyPI as files-to-prompt and actively maintained by Simon Willison.", "when_to_avoid": ["you need an IDE plugin or GUI for building LLM context", "you need to send very large codebases exceeding model context limits", "you want automatic embedding or RAG-style retrieval instead of raw concatenation"], "when_to_choose": ["you need to quickly assemble file contents into an LLM prompt from the terminal", "you want gitignore-aware filtering and multiple output formats", "you prefer a small pip-installable tool that pipes well with other commands"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/files-to-prompt", "repo": "simonw/files-to-prompt", "role": "main", "score": 26}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:21.543869+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T08:16:09.133301+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "72ea053f66eb93df5fb5b3778544f55d0412fa91c636a1f837dd7635becc6862", "fetched_at": "2026-08-28T04:07:21.543869+00:00", "kind": "readme", "missing": false, "url": "https://github.com/simonw/files-to-prompt"}, {"content_hash": "b5a353a970a1c4a3a620b3b152d7eaa9fc84ff2cfc6ad4891dfd9f3943bbeb0f", "fetched_at": "2026-08-29T09:55:38.004085+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/files-to-prompt/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:21.543869+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T08:16:09.133301+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "72ea053f66eb93df5fb5b3778544f55d0412fa91c636a1f837dd7635becc6862", "fetched_at": "2026-08-28T04:07:21.543869+00:00", "kind": "readme", "missing": false, "url": "https://github.com/simonw/files-to-prompt"}, {"content_hash": "b5a353a970a1c4a3a620b3b152d7eaa9fc84ff2cfc6ad4891dfd9f3943bbeb0f", "fetched_at": "2026-08-29T09:55:38.004085+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/files-to-prompt/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T08:16:09.133301+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "72ea053f66eb93df5fb5b3778544f55d0412fa91c636a1f837dd7635becc6862", "fetched_at": "2026-08-28T04:07:21.543869+00:00", "kind": "readme", "missing": false, "url": "https://github.com/simonw/files-to-prompt"}, {"content_hash": "b5a353a970a1c4a3a620b3b152d7eaa9fc84ff2cfc6ad4891dfd9f3943bbeb0f", "fetched_at": "2026-08-29T09:55:38.004085+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/files-to-prompt/json"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:07:21.543869+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:21.543869+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:21.543869+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T08:16:09.133301+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "72ea053f66eb93df5fb5b3778544f55d0412fa91c636a1f837dd7635becc6862", "fetched_at": "2026-08-28T04:07:21.543869+00:00", "kind": "readme", "missing": false, "url": "https://github.com/simonw/files-to-prompt"}, {"content_hash": "b5a353a970a1c4a3a620b3b152d7eaa9fc84ff2cfc6ad4891dfd9f3943bbeb0f", "fetched_at": "2026-08-29T09:55:38.004085+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/files-to-prompt/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:21.543869+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:21.543869+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T08:16:09.133301+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "72ea053f66eb93df5fb5b3778544f55d0412fa91c636a1f837dd7635becc6862", "fetched_at": "2026-08-28T04:07:21.543869+00:00", "kind": "readme", "missing": false, "url": "https://github.com/simonw/files-to-prompt"}, {"content_hash": "b5a353a970a1c4a3a620b3b152d7eaa9fc84ff2cfc6ad4891dfd9f3943bbeb0f", "fetched_at": "2026-08-29T09:55:38.004085+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/files-to-prompt/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:21.543869+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:21.543869+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:21.543869+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T08:16:09.133301+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "72ea053f66eb93df5fb5b3778544f55d0412fa91c636a1f837dd7635becc6862", "fetched_at": "2026-08-28T04:07:21.543869+00:00", "kind": "readme", "missing": false, "url": "https://github.com/simonw/files-to-prompt"}, {"content_hash": "b5a353a970a1c4a3a620b3b152d7eaa9fc84ff2cfc6ad4891dfd9f3943bbeb0f", "fetched_at": "2026-08-29T09:55:38.004085+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/files-to-prompt/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:21.543869+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:21.543869+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T08:16:09.133301+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "72ea053f66eb93df5fb5b3778544f55d0412fa91c636a1f837dd7635becc6862", "fetched_at": "2026-08-28T04:07:21.543869+00:00", "kind": "readme", "missing": false, "url": "https://github.com/simonw/files-to-prompt"}, {"content_hash": "b5a353a970a1c4a3a620b3b152d7eaa9fc84ff2cfc6ad4891dfd9f3943bbeb0f", "fetched_at": "2026-08-29T09:55:38.004085+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/files-to-prompt/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T08:16:09.133301+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "72ea053f66eb93df5fb5b3778544f55d0412fa91c636a1f837dd7635becc6862", "fetched_at": "2026-08-28T04:07:21.543869+00:00", "kind": "readme", "missing": false, "url": "https://github.com/simonw/files-to-prompt"}, {"content_hash": "b5a353a970a1c4a3a620b3b152d7eaa9fc84ff2cfc6ad4891dfd9f3943bbeb0f", "fetched_at": "2026-08-29T09:55:38.004085+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/files-to-prompt/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T08:16:09.133301+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "72ea053f66eb93df5fb5b3778544f55d0412fa91c636a1f837dd7635becc6862", "fetched_at": "2026-08-28T04:07:21.543869+00:00", "kind": "readme", "missing": false, "url": "https://github.com/simonw/files-to-prompt"}, {"content_hash": "b5a353a970a1c4a3a620b3b152d7eaa9fc84ff2cfc6ad4891dfd9f3943bbeb0f", "fetched_at": "2026-08-29T09:55:38.004085+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/files-to-prompt/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T08:16:09.133301+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "72ea053f66eb93df5fb5b3778544f55d0412fa91c636a1f837dd7635becc6862", "fetched_at": "2026-08-28T04:07:21.543869+00:00", "kind": "readme", "missing": false, "url": "https://github.com/simonw/files-to-prompt"}, {"content_hash": "b5a353a970a1c4a3a620b3b152d7eaa9fc84ff2cfc6ad4891dfd9f3943bbeb0f", "fetched_at": "2026-08-29T09:55:38.004085+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/files-to-prompt/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 7, "longevity": 63, "rhythm": 28}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 894, "days_push": 560, "days_rel": 560, "gap_med": 37, "n_releases_24m": 4}, "score": 26, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}