A minimal template for creating Super Agent CLI plugins.
-
Copy this template:
cp -r templates/basic my-plugin cd my-plugin -
Customize
src/index.ts:- Change plugin name, version, description
- Replace
example_toolwith your own tool - Update the tool's name, description, and parameters
-
Build:
npm install npm run build
-
Install:
super-agent plugins install ./dist/index.js
basic/
├── src/
│ └── index.ts # Plugin implementation
├── package.json # Dependencies
├── tsconfig.json # TypeScript configuration
└── README.md # This file
- See QUICKSTART.md for detailed guide
- Check examples/ for more complex plugins
- Use advanced template for full-featured plugins
MIT