- 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 && cd ./packages/moxie-agent-lib && pnpm run build && cd ../../ && pnpm build && pnpm startOnce 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:clientOnce 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.pngwith 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.jsonwith 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)
displayName: string; // Display name shown in marketplace
version: string; // Creator Agent Skills Version (based on package.json)
author: string | null; // Author/Creator of the Skills
description: string; // Description of what the Skills can do
githubUrl: string; // GitHub URL to your Skills folder under `/packages`
logoUrl: string; // Logo URL for the skill (400x400 px PNG)
settings: Record<string, any>; // Skill settings configuration
capabilities: string[]; // List of skill capabilities
starterQuestions: Array<{
label: string;
value: string;
}>; // Example questions to get started
mediaUrls: string[]; // Additional media URLs
actions: string[]; // Supported actions & similes on the Skill
isPremium: boolean; // Whether skill is premium or not, if yes, it will check `freeQueries` and `skillCoinAddress`
freeQueries: number; // Number of free queries available for users in the case of premium skills
skillCoinAddress: string; // Coin address to token gate the Skill
minimumSkillBalance: number; // Minimum token balance required
status: string; // Skill status, "ACTIVE" or "INACTIVE"
isDefault: boolean; // 3rd party Skill should be `false`
loaders: string[]; // Messages when loading AI agent responses
}If you'd like to check if your skills is added properly, run the following command to start the Registry client app:
pnpm start:registryYou 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
mainbranch.
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.jsonregistry - 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.