Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jefftriplett/files-to-claude-xml
Use XML tags for long context prompting using Claude's multi-document structure.
https://github.com/jefftriplett/files-to-claude-xml
claude llm python xml
Last synced: 3 months ago
JSON representation
Use XML tags for long context prompting using Claude's multi-document structure.
- Host: GitHub
- URL: https://github.com/jefftriplett/files-to-claude-xml
- Owner: jefftriplett
- License: other
- Created: 2024-10-12T17:13:51.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-10-18T02:06:52.000Z (4 months ago)
- Last Synced: 2024-10-25T02:10:08.620Z (4 months ago)
- Topics: claude, llm, python, xml
- Language: Python
- Homepage: https://micro.webology.dev/2024/10/12/i-released-filestoclaudexml.html
- Size: 38.1 KB
- Stars: 19
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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](https://micro.webology.dev/2024/10/12/i-released-filestoclaudexml.html) for more details.
## :rocket: Usage
```shell
# to install:
$ uv pip install files-to-claude-xml# to run
$ files-to-claude-xml \
filename1.py \
filename2.py \
filename3.py# to run via uv tool (with or without installing):
$ uv tool run files-to-claude-xml \
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: [@[email protected]](https://mastodon.social/@webology)
* Xwitter: [@webology](https://twitter.com/webology)
* GitHub: [@jefftriplett](https://github.com/jefftriplett)
* Hire me: [revsys](https://www.revsys.com)## 🌟 Community Projects
* [Django News Newsletter](https://django-news.com)
* [Django News Jobs](https://jobs.django-news.com)
* [DjangoTV](https://djangotv.com)
* [Django Packages](https://djangopackages.org)
* [DjangoCon US](https://djangocon.us)
* [Awesome Django](https://awesomedjango.org)## 🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check [issues page](https://github.com/jefftriplett/files-to-claude-xml/issues).## Show your support
Give a ⭐️ if this project helped you!