# Knowledge Base

### Streamline your development workflow with CodeMate's Knowledge Base

Consolidate your coding resources within a single, organized platform. Import private or public GitHub repositories, integrate relevant webpages, and upload custom codebases all seamlessly accessible within the Knowledge Base. This centralized hub empowers efficient code exploration, fosters context-aware insights from C0 and ultimately accelerates your development process. Enhance your coding experience with a unified resource repository.

<figure><img src="/files/npJw3yM28wHwxZpclxT7" alt="" width="244"><figcaption></figcaption></figure>

<figure><img src="/files/b1sGeqeIk77qMt3dvgjX" alt=""><figcaption></figcaption></figure>

1. **Knowledge Base supports addition of these file types:**

* **Import private or public GitHub repositories:** Connect your GitHub account and seamlessly integrate your codebases within Knowledge Base.
* **Import web URL:** Add relevant webpages for deeper analysis, specifying the desired depth of exploration for each URL.
* **Add codebases:** Upload your own custom code resources directly into the Knowledge Base for convenient reference.

2. **Organization and access:**

* **View Knowledge base:** Easily access and manage all added resources through a dedicated "View Knowledge Base" section.
* **Centralized context:** All imported files contribute to your organization's overall context, enabling C0 to provide more relevant and accurate responses.

Read more about how to add & manage content under Knowledge Base in [Feature Walkthrough ](/feature-walkthrough.md#codemate-vs-code-extension)docs.

**Feature availability**: Knowledge Base can be accessed from C0 VS Code Extension and CodeMate CLI.&#x20;


---

# 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.codemate.ai/c0/knowledge-base.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.
