diff --git a/README.md b/README.md index de298c9..4d11ed9 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ pairing with smart people at Hashrocket. For a steady stream of TILs, [sign up for my newsletter](https://crafty-builder-6996.ck.page/e169c61186). -_1698 TILs and counting..._ +_1699 TILs and counting..._ See some of the other learning resources I work on: @@ -157,6 +157,7 @@ If you've learned something here, support my efforts writing daily TILs by ### Claude Code +- [Monitor Usage Limits From CLI](claude-code/monitor-usage-limits-from-cli.md) - [Open Current Prompt In Default Editor](claude-code/open-current-prompt-in-default-editor.md) ### Clojure diff --git a/claude-code/monitor-usage-limits-from-cli.md b/claude-code/monitor-usage-limits-from-cli.md new file mode 100644 index 0000000..b911d0e --- /dev/null +++ b/claude-code/monitor-usage-limits-from-cli.md @@ -0,0 +1,18 @@ +# Monitor Usage Limits From CLI + +When I first started using Claude Code enough to push the usage limits, I would +periodically switch over to the browser to check +`https://claude.ai/settings/usage` to see how close I was getting. That page +would tell me what percentage of my allotted usage I had consumed so far for the +current 5-hour session and then how long until that 5-hour usage window resets. + +This can also be viewed directly in Claude Code for the CLI. + +First, run the `/status` slash command and then _tab_ over to the _Usage_ +section. There you will see the same details as in the web view. + +I'm also learned, as I write this, that you can go directly to the _Usage_ +section by typing the `/usage` slash command. + +See [the docs](https://code.claude.com/docs/en/slash-commands) for a listing of +all slash commands.