varunvs's comments

varunvs | 9 months ago | on: Reverse engineering Claude Code

That's a great trick. I do not have a Claude subscription and my current setup is to use with Bedrock backend. Initially I tried with mitmproxy but I think AWS had pinned the TLS certificates causing the requests to fail.

varunvs | 9 months ago | on: Reverse engineering Claude Code

Claude Code has support for AWS Bedrock. You can use Sonnet models available in AWS Bedrock to run Claude Code locally. This means you can also leverage Bedrock logs to inspect the API calls and the prompts sent.

I was amazed and excited by how good Claude Code is compared to Windsurf/Cursor and wanted to inspect the working. I inspected the logs and got an understanding on its system prompt as well the tools used. It is a great combination of prompt engineering, tool calls, tools orchestration.

page 1