SaltyCrane Blog — Notes on JavaScript and web development

My Claude Code tips and links

Note: I wrote these tips before reading the Claude Code Best practices document. It is good. Maybe read that first.

I started using Claude Code ~July 2026 when the company switched from Copilot to Claude. Here are some of my tips. Please share yours as well. These are more on the end of the "use AI to help you code" spectrum, as opposed to "loop, graph, and let AI do all the things", in part due to the company having a limited number of tokens to use. I mostly stopped using subagents when Copilot switched to usage-based billing in June 2026 since they are no longer free and I have to preserve my precious tokens. Also these notes come from the context of a frontend developer.

Claude Code tips

TODO

  • Use claude --bare. This looks like a good step to make Claude Code closer to Pi. I tried running claude --bare and /context showed 0 tokens used, which I didn't know what possible with Claude Code. Normally I am starting at 11.3k tokens in a fresh session.

Questions

  • ast-grep. Pi + gpt-5.6-sol happily used ast-grep with this ast-grep skill I found a while ago, but Claude Code doesn't like to use it. Anyone have success using it with Claude Code?

Other links

Comments