Use XML tags for long context prompting using Claude's multi-document structure.
Project description
Welcome to files-to-claude-xml 👋
Use XML tags for long context prompting using Claude's multi-document structure.
See notes and examples here: https://docs.anthropic.com/en/docs/build-with-claude/prompt-engineering/long-context-tips
Write up
:memo: See my blog post, I released files-to-claude-xml and new development workflows for more details.
:rocket: Usage
$ uv run files-to-claude-xml.py \
filename1.py \
filename2.py \
filename3.py
Now create a new Claude Project and drag and drop the generated _claude.xml
file into your "Project knowledge" section.
Author
👤 Jeff Triplett
- Website: https://jefftriplett.com
- Micro Blog: https://micro.webology.dev
- Mastodon: @webology@mastodon.social
- Xwitter: @webology
- GitHub: @jefftriplett
- Hire me: revsys
🌟 Community Projects
🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Show your support
Give a ⭐️ if this project helped you!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for files_to_claude_xml-2024.10.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6331515e2790861daaf47bcb9ba56f965b2d035d702653512e67eb04f5a93955 |
|
MD5 | ec73c19a599fad5df5a403784c45c215 |
|
BLAKE2b-256 | 832905edc6b869fa416caf047a64aa3579d38d8d1ed25f3b7077ed3c17384a07 |
Hashes for files_to_claude_xml-2024.10.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fce3cd7f7ab06a99701da1257ca0c7618b569d423587ecc8cb4d9a34bdecf4f9 |
|
MD5 | ad982901e898ca7cb225abbd3272cf37 |
|
BLAKE2b-256 | 0c0bf93381d79720298d8a90f3c50bb2af6b7f76a512672e4fd08e75724c5489 |