shrinker-ai 0.3.0 → 0.3.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.
@@ -0,0 +1,28 @@
1
+
2
+
3
+
4
+ <!-- shrinker agent rules start -->
5
+ Use `shrinker` for high-volume terminal outputs to reduce tokens.
6
+
7
+ Routing policy:
8
+ - `git status|diff|log|show|reflog|branch|tag|stash` -> `shrinker git ...`
9
+ - `npm test|t|install|i|ci|ls|list` -> `shrinker npm ...`
10
+ - `docker ps|logs|images|compose` -> `shrinker docker ...`
11
+ - `kubectl get|describe|logs` -> `shrinker kubectl ...`
12
+ - `gh pr|issue|run` -> `shrinker gh ...`
13
+ - `rg`, `find`, `tail`, `cat`, `ls`, `dir` -> `shrinker <command> ...`
14
+
15
+ Bypass shrinker when:
16
+ - command modifies remote state and output volume is already tiny
17
+ - command requires interactive stdin
18
+ - command explicitly needs `shrinker --raw`
19
+
20
+ Examples:
21
+ - `shrinker git log -n 20`
22
+ - `shrinker rg "pattern" src`
23
+ - `shrinker docker logs api --tail 500`
24
+ <!-- shrinker agent rules end -->
25
+
26
+
27
+
28
+
package/CLAUDE.md ADDED
@@ -0,0 +1,28 @@
1
+
2
+
3
+
4
+ <!-- shrinker agent rules start -->
5
+ Use `shrinker` for high-volume terminal outputs to reduce tokens.
6
+
7
+ Routing policy:
8
+ - `git status|diff|log|show|reflog|branch|tag|stash` -> `shrinker git ...`
9
+ - `npm test|t|install|i|ci|ls|list` -> `shrinker npm ...`
10
+ - `docker ps|logs|images|compose` -> `shrinker docker ...`
11
+ - `kubectl get|describe|logs` -> `shrinker kubectl ...`
12
+ - `gh pr|issue|run` -> `shrinker gh ...`
13
+ - `rg`, `find`, `tail`, `cat`, `ls`, `dir` -> `shrinker <command> ...`
14
+
15
+ Bypass shrinker when:
16
+ - command modifies remote state and output volume is already tiny
17
+ - command requires interactive stdin
18
+ - command explicitly needs `shrinker --raw`
19
+
20
+ Examples:
21
+ - `shrinker git log -n 20`
22
+ - `shrinker rg "pattern" src`
23
+ - `shrinker docker logs api --tail 500`
24
+ <!-- shrinker agent rules end -->
25
+
26
+
27
+
28
+