[TOOL_PROFILE]
files-to-prompt
Concatenate selected files into prompt-ready text for LLM workflows.
agent-contextagenttext lang: all
[USE_WHEN]ALLOW
- ✓ Build a controlled prompt from an explicit list of files
- ✓ Share a small, auditable subset of repository context with another agent or model
[AVOID_WHEN]BLOCK
- ✕ A whole-repository packer with token accounting and ignore handling is needed
- ✕ File selection has not been reviewed for sensitive content
[GUARDRAILS]MANDATORY
- ⚠ Use explicit file lists or reviewed globs; do not blindly include entire home directories or repositories.
- ⚠ Check prompt output for secrets before sharing externally.
[DETAILS]RAW_META
- Binary
- files-to-prompt
- Effects
- read_files, secret_exposure
- Documentation
- https://github.com/simonw/files-to-prompt#readme
[SIMILAR_TOOLS]03