Greptile on #158139: total_count only counts the matches read (50 without an offset), so offset=total_count-50 was 0 again. The three skill references now page forward with offset 50, 100, ... until a call returns fewer than 50. The trailing-space cwd test moves into tests/tools/test_sandbox_dead_cwd_fallback.py and reuses its _BashSandbox.