# Rules
- Keep It Simple Stupid
- Use `uv` for everything, deps and running
- Keep it as a single file
- Make it easy to understand for humans
- Don't add unnecessary dependencies
- Respect websites and their terms of service
- Handle web requests gracefully with proper error handling
- Convert HTML to clean, readable markdown
- Focus on extracting the main content, not navigation/ads/sidebars
- Use minimal context - strip unnecessary elements to reduce token usage
- Provide proper user-agent headers to identify the tool
- Implement reasonable rate limiting and timeouts
- Handle redirects appropriately
- Support common web page encodings