Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
[dead]
3 months ago | hide | past | favorite


I’ve open-sourced a visualizer website for AI agent system prompts.

Anyone working with AI agents knows how crucial system prompts are. Whether openly shared or reverse-engineered, the system prompts of popular agents serve as invaluable reference material for understanding how these agents operate internally. On GitHub, there’s a repository with nearly 100,000 stars dedicated to system prompts (system-prompts-and-models-of-ai-tools). Building on this repo, I developed a website that visually presents the internal workings of these agents in a human-friendly web interface:

The entire website is open-source, and the source code is available here: https://github.com/RealHacker/system-prompts-visualizer

The development process is surprisingly simple: I used a few carefully crafted prompts to instruct the AI agent to process the prompt text. It wrote Python scripts to extract key information and built the corresponding web page:

1. Generation prompt: Generate HTML from the prompt text. 2. Review prompt: Compare the generated HTML with the original prompt to identify missing information or hallucinations. 3. Index prompt: Generate a directory page for easy navigation.

If you find this useful, please give it a star and share it. I also welcome PRs from the community with additional agent prompts!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: