Skip to content

DragVerse/klanka-thunderstruck

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
code snippets

Moxie Skills Framework

📖 Developer Docs | 🎯 Whitepaper

Table of Contents

🚀 Quick Start

Prerequisites

Get Started

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.

Create Your First 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.

General Guidelines For Skills Development

  1. Name your Creator Agent Skill folder with the following format plugin-<skills-name>
  2. Specify name & version in package.json:
{
    "name": "@moxie-protocol/plugin-<skills-name>",
    "version": "0.0.1"
}
  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.

Register Your Skills to Moxie

Once you completed development on your skills, you can register your skills to the Skills Marketplace by the following steps:

  1. 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.

  1. 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.

  2. Lastly, commit all the changes you made on your branches and create a new PR to the repository's main branch.

📋 General Guidelines For Skills Registration

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:

  1. Have tested the skills with the agent locally and working well
  2. 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.
  3. Have added the new skill metadata to the registry/src/skill.json registry
  4. Have not made changes to other aspects of the repository other than the folder containing the new skills
  5. (Optional) Have environment variables and have requested the Moxie team through this form for environment variables submission.
  6. Does not contain any code that simply transfers Moxie user's holdings to a fixed address
  7. Does not contain any code that extracts Moxie user's private informations (e.g. wallets, private keys, etc.)
  8. Does not contain any code that interacts with smart contracts that has not verified and published its source code.
  9. 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.

💬 Community & Contact

  • 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.

👥 Contributors

About

Official repository for Moxie Creator Agent Skills. Contain starters, registry, etc.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 95.4%
  • Shell 2.3%
  • JavaScript 1.8%
  • CSS 0.2%
  • Dockerfile 0.2%
  • Makefile 0.1%