> For the complete documentation index, see [llms.txt](https://killswitchofficial.gitbook.io/killswitch/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://killswitchofficial.gitbook.io/killswitch/feature/auto-compound.md).

# Auto-Compound

A feature where KillSwitch intends other users to reinvest farmed tokens leveraging the initial LP tokens.&#x20;

This can be done in **2 ways**

* **Automatically by KillSwitch** - This happens once every 24hours, in cases where no Guardians of galaxies press "compound for everyone.
* By **OTHER USERS -** is a term referring to anyone clicking “Compound for everyone”. Other users are rewarded **1.2% of the whole reward pool,** in return, pays for gas. This button will only be allowed to press once the system considers the gas price to be worth the reward.

![](/files/-MXvPf_k6Txw6JLRl4hA)

&#x20;**Performance Fee:** 3 % form reward

* Users who clicks "compound for all" earns **1.2%**
* Platform Fee  **0.9%**
* Reward to KSW Farmers **0.9%**

![](/files/-MeYCQVnSMEKVALfYUJP)

Now let’s dive in a little deeper.

**Step 1:** Check the pending compound value

![](/files/cpRWVsFyR1sYeDUawPaT)

***Tips:*** For the gas fee to be worthwhile, the pending compound must be 10% higher than user earned, so do be very careful!


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://killswitchofficial.gitbook.io/killswitch/feature/auto-compound.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
