# Developer Setup From Source

This workflow is for developers who want to actively modify the Clawd Bot source code, add new core features, and benefit from hot reloading during development.

**Step 1: Clone the Repository**

Instead of using the install script, manually clone the source code from GitHub.

`git clone https://github.com/your-org/clawd-bot.git`\
`cd clawd-bot`

**Step 2: Install Dependencies**

Use the Node.js package manager to install all required libraries from the lockfile.

`npm install`

**Step 3: Run in Development Mode**

Start the agent using the development script. This will launch the bot and watch the source code for any changes. When you save a file, the agent will automatically restart, providing a seamless development experience.

`npm run dev`

Your agent is now running in a high-powered, developer focused mode. Any changes you make to the TypeScript source will be reflected almost instantly, making it the ideal environment for building and testing new skills.


---

# 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.clawdtoken.xyz/4-setup/developer-setup-from-source.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.
