Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Basic Plugin Template

A minimal template for creating Super Agent CLI plugins.

Quick Start

  1. Copy this template:

    cp -r templates/basic my-plugin
    cd my-plugin
  2. Customize src/index.ts:

    • Change plugin name, version, description
    • Replace example_tool with your own tool
    • Update the tool's name, description, and parameters
  3. Build:

    npm install
    npm run build
  4. Install:

    super-agent plugins install ./dist/index.js

Structure

basic/
├── src/
│   └── index.ts       # Plugin implementation
├── package.json       # Dependencies
├── tsconfig.json      # TypeScript configuration
└── README.md          # This file

Next Steps

License

MIT