Create an email drafting and sending app that uses LLM to compose professional emails.
See: examples/email_app.py and docs/EMAIL_APP_TUTORIAL.md
- Draft emails using LLM
- Send emails via SMTP
- Customize tone and style
- Include key points automatically
Build an app that generates various types of content (blog posts, social media, reports).
content-plugin/
├── .claude-plugin/plugin.json
├── commands/
│ ├── blog-post.md
│ ├── social-media.md
│ └── report.md
manager = PluginManager()
manager.load_plugins()
result = await manager.execute_command(
"content-plugin",
"blog-post",
provider=provider,
user_input="Write about AI trends in 2024"
)Create a support bot that uses plugins for different support scenarios.
# Load support plugins
manager.load_plugins("./support-plugins")
# Handle refund request
response = await manager.execute_command(
"support-plugin",
"refund-request",
provider=provider,
user_input=user_message
)Build a tool that reviews code and provides suggestions.
review-code: Analyze code qualitysuggest-improvements: Provide optimization suggestionscheck-security: Security vulnerability checks
Create an app that analyzes data and generates insights.
result = await manager.execute_command(
"analysis-plugin",
"generate-insights",
provider=provider,
user_input=f"Analyze this data: {data_summary}"
)Build an app that takes meeting transcripts and generates structured notes.
- User provides meeting transcript
- Plugin generates formatted notes
- Extract action items
- Create follow-up emails
Create a tool that helps with research and summarization.
- Summarize articles
- Extract key points
- Generate research reports
- Create citations
Build a multi-language translation app with context awareness.
result = await manager.execute_command(
"translation-plugin",
"translate",
provider=provider,
user_input=f"Translate to Spanish: {text}"
)- Generate personalized sales emails
- Adapt to different customer segments
- Include product recommendations
- Draft job descriptions
- Create interview questions
- Generate offer letters
- Draft contracts
- Review legal documents
- Generate compliance reports
- Define Your Commands: What actions do you want the LLM to perform?
- Create Plugin Structure: Use the standard plugin format
- Write Command Definitions: Describe what each command does
- Build Your App: Use PluginManager to load and execute commands
- Integrate with Your Workflow: Connect plugins to your existing systems
from openplugin import PluginManager, OpenAIProvider
# Initialize
manager = PluginManager(plugins_dir="./your-plugins")
manager.load_plugins()
provider = OpenAIProvider(api_key="your-key")
# Use in your app
class YourApp:
async def do_something(self, user_input):
result = await manager.execute_command(
"your-plugin",
"your-command",
provider=provider,
user_input=user_input
)
return result- Clear Command Descriptions: Write detailed command definitions
- Use Context: Provide relevant context in user_input
- Iterate: Test and refine your command prompts
- Combine Commands: Chain multiple commands for complex workflows
- Add MCP Tools: Integrate external tools via MCP servers
- See
docs/GETTING_STARTED.mdfor basics - Check
examples/for working examples - Review
docs/EMAIL_APP_TUTORIAL.mdfor a complete app walkthrough