- Table of Contents
- 🚀 Quick Start
- 📋 General Guidelines For Skills Registration
- 💬 Community & Contact
- 👥 Contributors
First, fork the repository and then clone it locally to your machine.
Once you cloned the repository, you can setup your environment with the following scripts:
cd moxie-agent-skills
cp .env.example .env
pnpm i && pnpm build && pnpm start
Once the agent is running, you should see the message to run "pnpm start:client" at the end. Open another terminal and move to same directory and then run below command and follow the URL to chat to your agent.
pnpm start:client
Once you're all setup, you can start developing your Moxie Creator Agent Skills.
You can start creating your first Moxie Skills by first creating a separate branch in your forked repository:
git checkout -b <new-branch>
Then, using the template under the packages/_examples/plugin
folder, you can create a new Creator Agent Skills with the following script:
pnpm create:skills <skills-name>
To learn more on how to create your first skill, you can follow this tutorial here.
For further customization, you can refer to the Eliza docs here as Creator Agent Skills are simply Eliza Plugins with additional functionalities.
- Name your Creator Agent Skill folder with the following format
plugin-<skills-name>
- Specify name & version in
package.json
:
{
"name": "@moxie-protocol/plugin-<skills-name>",
"version": "0.0.1"
}
- Place image for your Creator Agent Skill to be displayed Skills Marketplace under
packages/plugin-<skills-name>/images/logo.png
with size 400x400 px.
Once you completed development on your skills, you can register your skills to the Skills Marketplace by the following steps:
- Add your Creator Agent Skills to the Skills Registry in
registry/src/skills.json
with the following fields and corresponding types:
interface Skills {
pluginId: string; // Any UUID, must be unique, to generate one use this https://www.uuidgenerator.net/
name: string; // Creator Agent Skills name (based on package.json)
version: string; // Creator Agent Skills Version (based on package.json)
description: string; // Description of what the Skills can do
author?: string | null; // Author/Creator of the Skills
githubUrl: string; // GitHub URL to your Skills folder under `/packages`
imageUrl?: string | null; // Image URL to logo.png (400x400 px) of your Skills, which should be located under the `/packages/<skills-folder>/images` folder
}
If you'd like to check if your skills is added properly, run the following command to start the Registry client app:
pnpm start:registry
You should see the skills you added in the Registry client app if the skills metadata is added properly.
-
If your Creator Agent Skill require environment variable for production purpose, then fill in this form to request submission. The Moxie team shall directly reach out to you either through Email (support@airstack.xyz) or Farcaster (group chat) for submission.
-
Lastly, commit all the changes you made on your branches and create a new PR to the repository's
main
branch.
To ensure that your Skills is registered successfully to the Skills Marketplace, make sure to provide detailed descriptions on your Creator Agent Skills based on the pre-written template and fulfill all the following requirements:
- Have tested the skills with the agent locally and working well
- Have a well-writen README for the skills full description of the functionality along with detailed list of all actions, providers, evaluators, services, and clients.
- Have added the new skill metadata to the
registry/src/skill.json
registry - Have not made changes to other aspects of the repository other than the folder containing the new skills
- (Optional) Have environment variables and have requested the Moxie team through this form for environment variables submission.
- Does not contain any code that simply transfers Moxie user's holdings to a fixed address
- Does not contain any code that extracts Moxie user's private informations (e.g. wallets, private keys, etc.)
- Does not contain any code that interacts with smart contracts that has not verified and published its source code.
- Have audited smart contracts if the skills contain code that interacts with smart contracts has volume/balance above 100k USD.
The Moxie team will review the newly created Creator Agent Skills and once merged, your Skills will automatically be registered to the Skills Marketplace where it's accessible for Moxie users to use.
- GitHub Issues. Best for: bugs you encounter when developing new Creator Agent Skills, and feature proposals.
- Telegram. Best for: sharing your Creator Agent Skills and hanging out with the Moxie Developer Community.