Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Would you mind sharing the code, as well as prompts if you're comfortable? I'm trying to sample anecdata to help re-baseline my intuition on these things.


> as well as prompts if you're comfortable?

This made me wonder: can I share Claude Code's conversation history? Turns Claude stores them.

So I made a full-stack "snippet" app with Claude and Instant. You can:

1. Upload jsonl files 2. Share them in a nice UI

(Going meta) here's the first conversation I had with Claude in order to build it:

https://claude-code-viewer.vercel.app/view/c4ca91ac-9624-40f...

After I deployed, I asked it to fix the tool use UI:

https://claude-code-viewer.vercel.app/view/faf9b2cc-c3cf-4d0...

I used Instant's auth to gate uploads. Views are public, but limited only to the snippets you know (i.e have links for).

If you want to upload your own conversations:

1. They live in ~/.claude. Head on over and grab a file 2. Go to https://claude-code-viewer.vercel.app and sign up 3. Start uploading : )

Some notes:

* Be careful when sharing log files. Claude can include secrets in there. Some hackers may notice an adminToken in the convo. I rotated it before we pushed.

* It was fun to see Claude use the query language. It thought we had a `$startsWith` modifier. Right now we only have $like. But `$startsWith` is a great idea, we may just implement it real quick!


> It thought we had a `$startsWith` modifier. Right now we only have $like. But `$startsWith` is a great idea, we may just implement it real quick!

Haha, that's great. Turns out that "hallucinations" are just things that make sense in context, and that can translate to feature requests from our agents :)


Claude code now has an /export command for this use case. You can run it from within a session.


TIL, thank you!


I don't have the prompts, but here you go:

  - https://the-inference.vercel.app
  - https://github.com/jamestamplin/instant-test




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

Search: