Uploading to the AnythingLLM Community Hub
AnythingLLM allows you to upload items to the AnythingLLM Community Hub to share with the world or privately with just your team.
Some items can be created directly on the AnythingLLM Community Hub (opens in a new tab):
- System prompts
- Slash commands
However, other items can only be uploaded to the AnythingLLM Community Hub as they require custom code and are more like "plugins" for AnythingLLM.
These items are:
- Agent skills
- Data connectors
- Workspaces
Uploading Agent Skills
Agent skills extend the functionality of AnythingLLM 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 AnythingLLM with minimal setup and technical knowledge.
Learn more about how to create agent skills →
The Anythingllm-hub-cli tool
AnythingLLM offers a CLI tool called anythingllm-hub-cli
(opens in a new tab) that allows you to upload items to the AnythingLLM Community Hub easily.
To upload an agent skill to the AnythingLLM Community Hub, you can use the following commands to upload your skill privately or publicly.
# Install the CLI tool
npm install -g @mintplex-labs/anythingllm-hub-cli@latest
To create a new agent skill from our template, you can run the following command:
npx @mintplex-labs/anythingllm-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.
npx @mintplex-labs/anythingllm-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/anythingllm-hub-cli config`
Next, you can upload your agent skill to the AnythingLLM 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/anythingllm-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 AnythingLLM Community Hub once it is uploaded
🎉 Congratulations! You have now uploaded your agent skill to the AnythingLLM Community Hub.
it's that easy!
Uploading Data Connectors
data connectors are currently not supported
Uploading Workspaces
workspaces are currently not supported