Tiết kiệm limit bằng cách dùng chế độ đa agent hoặc đơn agent
Codex thì cách tiết kiệm đơn giản nhất chính là dùng 1 agent, ko cho bật subagent - cái này chính bên phát triển codex thừa nhận, do hiện nay các agent ko tin tưởng nhau nên khi để bọn nó tự gọi đệ thì sẽ liên tục kiểm tra đi kiểm tra lại gây tốn token mà ko hiệu quả.
Claude thì có 3 chế độ tiết kiệm:
1/ dùng 1 agent
2/ chế độ cố vấn /advisor: tự gọi cố vấn khi cần
3/ 1 con khôn nhất gọi hàng loạt Haiku
4/ Sonnet vừa gọi đệ Haiku vừa có cố vấn Opus/Fable
Vấn đề là Haiku sẽ tính giá x2 sau 100k context và subagent chỉ có cache 5p (chỉnh đc lên 1h nhưng tăng giá cache 60%).
Vậy nên cần 1 lần thiết lập trước khi dùng subagent.
Đang thử dùng Opus 5.5 điều phối: Opus tự quyết định gọi Haiku 5.5 short (cache 5p) hoặc Haiku 5.5 long ( cache 1h) tùy tác vụ.
Kết quả làm 2h hết có 50% season 5h (5% tuần) trên bản 20$/tháng
Nguồn video: @ vib3coded
PROMPT
Build a single-file interactive WebGPU page called "Plush Hammerhead".
Page: an editorial layout with a big two-line title "Plush / Hammerhead.", a warm studio-grey background, a control panel on the right, live readouts and collapsible technical notes. English UI.
The toy: a plush hammerhead shark. It has a wide, flat hammer-shaped head (cephalofoil) whose ends sweep back a little, with a shallow notch at the middle of the front edge. A glass eye sits on each tip of the hammer, looking out sideways. It has a tall sickle-shaped dorsal fin, two pectoral fins and a tail with a long upper lobe and a small lower one. A cream belly panel is sewn on below a seam along each flank, with embroidered gill lines. A smiling mouth is cut in under the hammer, lined with felt and set with soft white felt teeth; its lower jaw swings open on a hinge.
Simulation:
- Body, hammer and fins are one signed distance field filled with a soft-body XPBD lattice: shape-matched hexahedral cells and tetrahedral volume preservation. It is skinned to a high-res surface-nets mesh.
- It swims with a travelling S-wave that bends the cells' rest shapes side to side, more toward the tail, and steers by turning its head, the body curving into each turn.
- Fur is drawn as alpha-to-coverage shells over minky pile. The pile lags behind each jiggle on a spring and can be combed.
Behaviour:
- It circles its space.
- Scan: it sweeps its hammer side to side over the floor the way real hammerheads hunt. It also does this on its own now and then, and a little while hunting.
- Feed drops in a felt fish: it turns, closes in faster, opens wide and snaps it up.
- Dash is a burst of fast tail beats; Chomp opens the mouth and snaps it shut.
- Grab it by the tail and it thrashes; let go and it shoots off.
- Boop the middle of the hammer with the finger and it wriggles and blushes.
Tools: Hand, Finger, Comb.
Controls:
- Buttons: Feed, Dash, Scan, Chomp, Smooth fur, Reset, Pause.
- Toggles: Circle, quarter speed, Mesh.
- Sliders: Stuffing, Pile, Tail beat.
- Three fabrics: Bronze, Lagoon, Sunset.
- Readouts: mass, volume, beats per minute, fish eaten.
- Phone layout with a stacked panel.