Features: - Multi-platform bot (Slack, Telegram) - Memory system with SQLite FTS - Tool use capabilities (file ops, commands) - Scheduled tasks system - Dynamic model switching (/sonnet, /haiku) - Prompt caching for cost optimization Optimizations: - Default to Haiku 4.5 (12x cheaper) - Reduced context: 3 messages, 2 memory results - Optimized SOUL.md (48% smaller) - Automatic caching when using Sonnet (90% savings) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1.1 KiB
1.1 KiB
Adapter Development Skill - Usage Examples
Example 1: Create a new Discord adapter
/adapter-dev create a Discord adapter using discord.py
The skill will:
- Analyze existing Slack/Telegram adapters
- Create
adapters/discord/adapter.py - Implement BaseAdapter with Discord-specific logic
- Add configuration section
- Provide setup instructions
Example 2: Debug connection issues
/adapter-dev why isn't my Telegram adapter connecting?
The skill will:
- Check config validation
- Review credential format
- Inspect health_check() implementation
- Test async handlers
- Suggest fixes
Example 3: Add reaction support
/adapter-dev add emoji reaction support to Slack adapter
The skill will:
- Review capabilities declaration
- Implement
send_reaction()method - Update Slack API calls
- Test the feature
- Document the change
Example 4: Optimize chunking
/adapter-dev improve markdown-aware chunking for Telegram
The skill will:
- Review current chunking logic
- Implement better markdown parsing
- Preserve code blocks and formatting
- Test with long messages
- Update documentation