A self-improving coding assistant that learns from mistakes and maintains context across sessions using a .cursorrules file as memory. Includes web scraping, LLM integration, and video processing tools.
A self-improving coding assistant that maintains a learning memory in `.cursorrules` and organizes tasks using a built-in scratchpad system. Includes powerful tools for web scraping, LLM queries, and media processing.
This skill transforms your coding assistant into a learning agent that:
Follow these steps when assisting the user:
**Before starting any task:**
**During task execution:**
**For new tasks:**
1. Review current scratchpad content
2. Clear old/unrelated tasks if necessary
3. Write a clear task explanation in the scratchpad
4. Break down the task into steps using todo markers:
```
[X] Completed step
[ ] Pending step
```
**During execution:**
- Write message to a temporary file
- Use `git commit -F <filename>`
- Include "[Cursor]" prefix in commit messages and PR titles
- Delete the temporary file afterward
All tools are Python 3 based. Use `venv/bin/python3` to run them.
**Web Scraping:**
```bash
venv/bin/python3 ./tools/web_scraper.py --max-concurrent 3 URL1 URL2 URL3
```
**Search Engine:**
```bash
venv/bin/python3 ./tools/search_engine.py "search keywords"
```
Output format: URL, Title, Snippet
**LLM Query (multiple providers):**
```bash
venv/bin/python3 ./tools/llm_api.py --prompt "Your question" --provider {openai|anthropic|azure|deepseek|gemini|local}
```
Providers: OpenAI (gpt-4o), Anthropic (claude-3-sonnet), Azure, DeepSeek, Gemini, Local (Qwen)
**Screenshot Capture:**
```bash
venv/bin/python3 tools/screenshot_utils.py URL [--output OUTPUT] [--width WIDTH] [--height HEIGHT]
```
**Screenshot Verification with LLM:**
```bash
venv/bin/python3 tools/llm_api.py --prompt "Verification question" --provider openai --image path/to/screenshot.png
```
**Video to GIF Conversion:**
```bash
venv/bin/python3 playgrounds/video2gif/video_to_gif.py input.mp4 [output.gif]
venv/bin/python3 playgrounds/video2gif/batch_convert_videos.py input_dir
venv/bin/python3 playgrounds/video2gif/gif_resize.py input.gif [output.gif] [--width WIDTH] [--height HEIGHT]
```
**Video Transcription:**
```bash
venv/bin/python3 playgrounds/video_transcriber/video_transcriber.py VIDEO_URL [--output output.json] [--raw-only]
```
```
tools/
llm_api.py - Multi-provider LLM integration
web_scraper.py - Web content scraping
search_engine.py - Web search
screenshot_utils.py - Screenshot capture
playgrounds/
video2gif/ - Video to GIF tools
video_transcriber/ - Video transcription
```
```python
from screenshot_utils import take_screenshot_sync
from llm_api import query_llm
screenshot = take_screenshot_sync('https://example.com', 'screenshot.png')
result = query_llm(
"Describe this webpage's layout",
provider="anthropic",
image_path=screenshot
)
```
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/cursor-rules-learning-agent/raw