▲ | blitzar 5 days ago | ||||||||||||||||
I set claude about writing docstrings on a handful of files - 4/5 files couple 100 lines each - couple of classes in each - it didnt need to scan codebase (much). Low danger task so I let it do as it pleased - 30 minutes and was maxed out. Could probably have reduced context with a /clear after every file but then I would have to participate. | |||||||||||||||||
▲ | tlbsofware 5 days ago | parent | next [-] | ||||||||||||||||
You can tell it to review and edit each file within a Task/subagent and can even say to run them in parallel and it will use a separate context for each file without having to clear them manually | |||||||||||||||||
| |||||||||||||||||
▲ | stuaxo 5 days ago | parent | prev | next [-] | ||||||||||||||||
I hope you thoroughly go through these as a human, purely AI written stuff can be horrible to read. | |||||||||||||||||
| |||||||||||||||||
▲ | Kurtz79 4 days ago | parent | prev [-] | ||||||||||||||||
If I understand correctly, looking at API pricing for Sonnet, output tokens are 5 times more expensive than input tokens. So, if rate limits are based on an overall token cost, it is likely that one will hit them first if CC reads a few files and writes a lot of text as output (comments/documentation) rather than if it analyzes a large codebase and then makes a few edits in code. |