# CoreLib

CoreLib can be found on mod.io here:

{% embed url="<https://mod.io/g/corekeeper/m/core-lib>" %}

Source code for CoreLib (and all submodules) is public on GitHub:

{% embed url="<https://github.com/CoreKeeperMods/CoreLib>" %}

To install CoreLib in your modding SDK, follow the directions in its [readme](https://github.com/CoreKeeperMods/CoreLib/blob/main/README.md). You can find out the latest version number to pin by looking at the [most recent tag name](https://github.com/CoreKeeperMods/CoreLib/tags).

When creating a mod that depends on CoreLib, make sure to list every module dependency and the root CoreLib mod as a direct dependency of your mod. The game's mod.io integration sucks at downloading dependencies correctly, let alone transitive dependencies, and doing this helps ensure it correctly downloads everything.


---

# Agent Instructions: 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:

```
GET https://core-keeper-modding.gitbook.io/modding-wiki/creating-mods/modding-libraries/corelib.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
