# Package Plugin

## Exporting Your Plugin as an Eagle Plugin <a href="#fqk6i" id="fqk6i"></a>

To publish your plugin project to the Eagle Plugin Center, you first need to export the plugin in the `.eagleplugin` format.

1. Open the plugin panel (or press the `P` key)

   <figure><img src="https://1590693372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8ag8XBIM3olHOU7WmBBx%2Fuploads%2FFDxBY4UIeEkjGVlvUTme%2Fimage.png?alt=media&#x26;token=b019a9a8-faea-4eef-aa37-cb864bb16f4f" alt=""><figcaption></figcaption></figure>
2. Right-click on the plugin you want to publish

   <figure><img src="https://1590693372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8ag8XBIM3olHOU7WmBBx%2Fuploads%2Fk7jF0IX97CnA5WjWrpRK%2Fimage.png?alt=media&#x26;token=78794c8e-baa0-40be-87a6-4b93dc8f3387" alt=""><figcaption></figcaption></figure>
3. Select "Pack Plugin"

   <figure><img src="https://1590693372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8ag8XBIM3olHOU7WmBBx%2Fuploads%2FEh16pOzGieBD8R6q8Fsb%2Fimage.png?alt=media&#x26;token=3603b608-0c89-4baf-ac3f-dfc5ca702e3b" alt=""><figcaption></figcaption></figure>
4. Choose the save path and complete the export

   <figure><img src="https://1590693372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8ag8XBIM3olHOU7WmBBx%2Fuploads%2FHB6y5wTRbuih9oIElCtD%2Fimage.png?alt=media&#x26;token=a3453309-3150-4e61-b900-c1243969b716" alt=""><figcaption></figcaption></figure>
5. Check the Eagle Plugin file that you just exported.

   <figure><img src="https://1590693372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8ag8XBIM3olHOU7WmBBx%2Fuploads%2FFfLPdVRyyOtVvkyP7rBJ%2Fimage.png?alt=media&#x26;token=92f941ce-337d-41db-8682-66a293d3dd06" alt=""><figcaption></figcaption></figure>

Next, you need to go to the Eagle Plugin submission page, upload the `.eagleplugin` file, and fill in the necessary information. After submission, your plugin will be reviewed. Once approved, your plugin will be available on the Eagle Plugin Center.


---

# 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://developer.eagle.cool/plugin-api/distribution/package.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.
