Back to the catalog

gemini-sleep

Lets Gemini wait, sleep, pause, delay, or idle for a specified time without wasting requests. Zero polling, no tmux required. Keywords: slee

Open source Open in the app JSON README (API)

About

Lets Gemini wait, sleep, pause, delay, or idle for a specified time without wasting requests. Zero polling, no tmux required. Keywords: sleep, wait, pause, delay, idle, timer, background, task, polling

Details

Kind
Plugins
Topic
AI, RAG & memory
Publisher
maxdevv
Origin
gemini
Category
ferramentas
Version
1.0.0
Last push
2026-02-27T18:52:34Z
Repository state
ativo
Language
JavaScript
Added
2026-08-30 14:13:39
Updated
2026-08-30 14:13:39
Origin id
maxdevv/gemini-sleep

README

# gemini-sleep

A minimal [Gemini CLI](https://github.com/google-gemini/gemini-cli) extension that lets Gemini **sleep, wait, pause, or delay** for a specified number of seconds — using **zero API requests** while idle.

No tmux. No polling loops. No wasted quota.

## How it works

Gemini CLI MCP tool calls are blocking — the model simply waits for the tool to return. This extension exploits that to make a true, request-free sleep: `setTimeout` runs server-side, and Gemini sits completely idle until it resolves.

## Install

```bash
gemini extensions install https://github.com/MaxDevv/gemini-sleep
```

Then restart Gemini CLI.

## Usage

Just tell Gemini naturally:

> "Sleep for 5 minutes, then check if the script is done."

> "Wait 30 seconds and retry."

> "Pause for an hour while the training run finishes."

Gemini will call the `sleep` tool with an appropriate duration and resume automatically when time is up.

## License

Copyright 2026 Maximus Adeola

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

---

*Made with ❤️ by [MaxDevv](https://github.com/MaxDevv) · Built with AI assistance (Claude by Anthropic)*

More