claude-usage-limits 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/plugin.json +1 -1
- package/README.md +23 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "usage-limits",
|
|
3
3
|
"displayName": "Usage Limits",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.1",
|
|
5
5
|
"description": "Reads how much of your Claude Code usage limit is left, converts it into turns of headroom, and plans the work to fit inside it. Includes a low power switch that keeps spending down even at high effort.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Ridelink",
|
package/README.md
CHANGED
|
@@ -100,6 +100,29 @@ git clone https://github.com/ridelink0/claude-code-usage-limits
|
|
|
100
100
|
Copy-Item -Recurse claude-code-usage-limits\skills\usage-limits "$env:USERPROFILE\.claude\skills\usage-limits"
|
|
101
101
|
```
|
|
102
102
|
|
|
103
|
+
One difference between the two: the hook that puts the budget line in front of
|
|
104
|
+
every prompt is declared in the plugin manifest, so it only runs on a plugin
|
|
105
|
+
install. If you took the plain skill and want that behaviour, add it yourself
|
|
106
|
+
in `~/.claude/settings.json`, pointing at wherever you put the skill:
|
|
107
|
+
|
|
108
|
+
```json
|
|
109
|
+
{
|
|
110
|
+
"hooks": {
|
|
111
|
+
"UserPromptSubmit": [
|
|
112
|
+
{
|
|
113
|
+
"hooks": [
|
|
114
|
+
{
|
|
115
|
+
"type": "command",
|
|
116
|
+
"command": "node \"$HOME/.claude/skills/usage-limits/scripts/brief.js\"",
|
|
117
|
+
"timeout": 10
|
|
118
|
+
}
|
|
119
|
+
]
|
|
120
|
+
}
|
|
121
|
+
]
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
```
|
|
125
|
+
|
|
103
126
|
Either way, ask something like "how much usage do I have left" or "can we
|
|
104
127
|
finish this before the limit hits" and Claude will load it. Installed as a
|
|
105
128
|
plugin it also gives you `/usage-limits:check`, which prints the report and
|
package/package.json
CHANGED