community-hub
Uploading to the Methodius AI Community Hub

Uploading to the Methodius AI Community Hub

Methodius AI allows you to upload items to the Methodius AI Community Hub to share with the world or privately with just your team.

Some items can be created directly on the [Methodius AI Community Hub](https://hub.Methodius (opens in a new tab) AI.com):

  • System prompts
  • Slash commands

However, other items can only be uploaded to the Methodius AI Community Hub as they require custom code and are more like "plugins" for Methodius AI.

These items are:

  • Agent skills
  • Data connectors
  • Workspaces

Uploading Agent Skills

Agent skills extend the functionality of Methodius AI by allowing you to add custom tools for your local LLM to leverage when using the @agent directive.

Custom agents skills allow you to build anything that you can imagine and have that work natively within Methodius AI with minimal setup and technical knowledge.

Learn more about how to create agent skills →

The Methodius AI-hub-cli tool

Methodius AI offers a CLI tool called [Methodius AI-hub-cli](https://www.npmjs.com/package/@mintplex-labs/Methodius (opens in a new tab) AI-hub-cli) that allows you to upload items to the Methodius AI Community Hub easily.

To upload an agent skill to the Methodius AI Community Hub, you can use the following commands to upload your skill privately or publicly.

# Install the CLI tool
npm install -g @mintplex-labs/Methodius AI-hub-cli@latest

To create a new agent skill from our template, you can run the following command:

npx @mintplex-labs/Methodius AI-hub-cli init --type agent-skill --output ./my-new-skill
# Creates a folder called `my-new-skill` with the agent skill template
# This should contain your plugin.json and handler.js file to get started.

To being the upload process you will need a [Connection key](/community-hub/faq#connecting-to-the-Methodius AI-community-hub).

npx @mintplex-labs/Methodius AI-hub-cli login
# You will be prompted to enter your connection key
# this will authenticate you and save your connection key to the CLI
# this will also save your profile information so you don't have to login again in the future
 
# You can check your connection key by running `npx @mintplex-labs/Methodius AI-hub-cli config`

Next, you can upload your agent skill to the Methodius AI Community Hub by running the following command:

# Assumes you are in the root of the agent skill directory you want to upload
npx @mintplex-labs/Methodius AI-hub-cli upload --type agent-skill --path .
# > Any missing details like name, description, etc. will be prompted for
# > You will be prompted if you would like to make the item public or private
# > You will be asked to confirm the files being uploaded
# > This will begin the upload process - it is automatic and will notify you once complete
 
# > You will be given a URL to view your item on the Methodius AI Community Hub once it is uploaded

🎉 Congratulations! You have now uploaded your agent skill to the Methodius AI Community Hub.

it's that easy!

Uploading Data Connectors

data connectors are currently not supported

Uploading Workspaces

workspaces are currently not supported