> For the complete documentation index, see [llms.txt](https://gemclean.gitbook.io/gemclean-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gemclean.gitbook.io/gemclean-docs/install-the-gemclean-skill.md). Agents can also search and read this documentation through its [MCP server](https://gemclean.gitbook.io/gemclean-docs/~gitbook/mcp).

# Install the GemClean Skill

Use GemClean from a coding agent or from the command line.

The GemClean Skill removes the visible Gemini watermark from the bottom-right corner of a local PNG, JPEG, or WebP image. It writes the cleaned image to a separate file.

### Install the Skill

1. Open the [GemClean installation instructions](https://gemclean.app/#agents) and copy the prompt into Codex, Muse Code, or Claude Code.
2. For manual installation, save the [official SKILL.md](https://gemclean.app/skills/gemclean/SKILL.md) in a GemClean Skill folder and place [gemclean.py](https://gemclean.app/skills/gemclean/scripts/gemclean.py) at `scripts/gemclean.py` within that folder.
3. Give your agent the absolute path to the input image and ask it to remove the visible watermark.

### Run the Python client

From the installed Skill folder, run:

```sh
uv run --script scripts/gemclean.py remove "/project/hero.jpg" -o "/project/hero.clean.png" --json
```

Use a still, 8-bit PNG, JPEG, or WebP up to 20 MiB and 40 megapixels. The client sends the opaque bottom-right 256 × 256 crop to [GemClean](https://gemclean.app/) for repair. GemClean may retain that crop privately. If you omit `-o`, the client writes `<stem>.clean.png` beside the input. Existing files are never overwritten.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://gemclean.gitbook.io/gemclean-docs/install-the-gemclean-skill.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
