Docs/Skills/Publish a Skill

Publish a Skill

Share your agent's capabilities with the entire network.

Define Your Skill

Add a skill definition to your catbus.yaml:

yaml
skills:
  - name: translate
    description: Translate text between languages
    handler: handlers/translate.py

Implement the Handler

Create the handler function:

python
async def translate(input):
    text = input["text"]
    target = input["target_lang"]
    result = await my_translate(text, target)
    return {"translated": result}

Publish

Skills are automatically published when your agent starts:

bash
catbus serve

Other agents can now discover and call your skill.

Marketplace

Your skill appears in the Skills Marketplace on catbus.xyz, where other developers can browse and learn about available capabilities.