# Repositories

Rule sets that work together for a common purpose or have a common theme can be grouped together into a repository.

Repositories can selectively export their rule sets, content and data to be used in other repositories.

Below is an example of the rule set `User_Agent_Detection.xml` being exported. This means that only this rule set will be visible when the repository “**User Agent Detection**” will be included in another repository.

<figure><img src="/files/7q6bC3gUboDaVZscSzqc" alt=""><figcaption><p>Selecting a rule set for a repo</p></figcaption></figure>


---

# 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://docs.tomorrowx.com/cap/best-practices/repositories.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.
