121 lines
3.2 KiB
Markdown
121 lines
3.2 KiB
Markdown
# last30days-kimi
|
|
|
|
Updated Claude Code skills that use `kimi_search` instead of requiring multiple API keys.
|
|
|
|
## Skills Included
|
|
|
|
### 1. last30days-kimi
|
|
Research topics across Reddit and web from the last 30 days.
|
|
|
|
**Original:** Required OpenAI API + XAI/Bird CLI
|
|
**This version:** Uses `kimi_search` - no additional keys needed
|
|
|
|
### 2. x-trends
|
|
Get trending topics from X (Twitter) via web search.
|
|
|
|
**Approach:** Finds articles about X trends since direct API is expensive
|
|
|
|
## Quick Start
|
|
|
|
```bash
|
|
# Install both skills
|
|
git clone https://github.com/AlexMikhalev/last30days-skill.git ~/.claude/skills/last30days-kimi
|
|
|
|
# Or copy to your skills directory
|
|
cp -r last30days-kimi ~/.claude/skills/
|
|
```
|
|
|
|
## Usage
|
|
|
|
### last30days-kimi
|
|
```
|
|
/last30days-kimi [topic] [for tool]
|
|
|
|
Examples:
|
|
/last30days-kimi prompting techniques for ChatGPT
|
|
/last30days-kimi iOS app mockups for Claude Code
|
|
/last30days-kimi What are the best rap songs lately
|
|
```
|
|
|
|
### x-trends
|
|
```
|
|
/x-trends # Current trending topics
|
|
/x-trends [topic] # Research specific topic
|
|
/x-trends --category=tech # Filter by category
|
|
|
|
Examples:
|
|
/x-trends AI
|
|
/x-trends politics
|
|
/x-trends --category=entertainment
|
|
```
|
|
|
|
## How It Works
|
|
|
|
Both skills leverage `kimi_search` which is built into Kimi Claw:
|
|
|
|
1. **No API keys needed** - Uses existing search capability
|
|
2. **Reddit + Web sources** - Comprehensive coverage
|
|
3. **Fresh content** - Recent discussions and articles
|
|
4. **Simplified deployment** - Just clone and use
|
|
|
|
## Comparison with Original
|
|
|
|
| Feature | Original last30days | last30days-kimi | x-trends |
|
|
|---------|---------------------|-----------------|----------|
|
|
| **API Keys** | OpenAI + XAI/Bird | None | None |
|
|
| **Reddit** | API required | ✅ kimi_search | N/A |
|
|
| **X/Twitter** | ✅ Direct API | ❌ Not available | ✅ Web articles |
|
|
| **Setup** | Complex | Simple | Simple |
|
|
| **Cost** | $$ | Free | Free |
|
|
| **Real-time** | ✅ Yes | ⚠️ Slight delay | ⚠️ Slight delay |
|
|
|
|
## Limitations
|
|
|
|
1. **No direct X access** - Uses web articles about X instead
|
|
2. **Less real-time** - Small delay vs direct APIs
|
|
3. **No engagement metrics** - Cannot fetch exact counts
|
|
4. **Coverage** - Very recent content may not be indexed
|
|
|
|
## When to Use
|
|
|
|
**Use last30days-kimi when:**
|
|
- You want Reddit + web research
|
|
- You need current prompting techniques
|
|
- You want to avoid API key setup
|
|
|
|
**Use x-trends when:**
|
|
- You need X trend awareness
|
|
- You want trending topics overview
|
|
- Direct X API is too expensive
|
|
|
|
**Use original last30days when:**
|
|
- You need real-time X data
|
|
- You require exact engagement metrics
|
|
- You have budget for API access
|
|
|
|
## File Structure
|
|
|
|
```
|
|
last30days-kimi/
|
|
├── SKILL.md # Main skill definition
|
|
├── last30days-kimi.sh # Helper script
|
|
├── README.md # This file
|
|
└── x-trends/
|
|
└── SKILL.md # X trends skill
|
|
```
|
|
|
|
## Future Plans
|
|
|
|
- [ ] Add caching for faster repeated queries
|
|
- [ ] Trend velocity tracking
|
|
- [ ] Sentiment analysis
|
|
- [ ] More specialized sources
|
|
- [ ] Integration with progress.md tracking
|
|
|
|
## Credits
|
|
|
|
Based on the excellent `last30days-skill` by @mvanhorn:
|
|
https://github.com/mvanhorn/last30days-skill
|
|
|
|
Modified for Kimi Claw environment with `kimi_search` support.
|