demo-slap
Generate CS2 highlights and fragmovies from demos using the Demo-Slap API, with optional Leetify integration and Demo-Slap match history fallback to select recent matches. Use when a user asks to record a highlight, render a clip, make a fragmovie, clip a round, or turn a CS2 demo into MP4 video.
Why use this skill?
Convert CS2 demos into MP4 highlights automatically. Integrates with Demo-Slap and Leetify to find matches, analyze gameplay, and render professional clips.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/damirikys/demo-slapWhat This Skill Does
The demo-slap skill provides OpenClaw users with a robust automation pipeline for converting CS2 demo files into high-quality MP4 highlight reels and fragmovies. By leveraging the Demo-Slap API, the skill manages the end-to-end lifecycle of clip generation: finding relevant matches, analyzing demo files for intense action, and rendering the final video assets. It supports integration with Leetify for advanced match discovery and provides a flexible fallback mechanism using Demo-Slap's own match history. Designed for seamless operation, the skill keeps track of background tasks via a local state management system, allowing the agent to poll for progress and deliver the final clip directly to the user.
Installation
To install this skill, run the following command in your terminal within the OpenClaw environment:
clawhub install openclaw/skills/skills/damirikys/demo-slap
Ensure you have configured your environment variables, specifically DEMOSLAP_API_KEY. If you wish to leverage the optimized Leetify discovery flow, you should also configure LEETIFY_API_KEY. The skill runs via Python 3 and requires the requests library to interface with the external APIs.
Use Cases
This skill is ideal for players who want to automate the mundane process of clipping their CS2 highlights. It is particularly useful for:
- Rapidly generating highlight reels immediately after a competitive match.
- Creating cinematic fragmovies from specific rounds by identifying timestamps through Demo-Slap analysis.
- Managing social media content creation by converting raw demo files directly into shareable MP4 formats.
- Streamlining the review process by offloading the render tasks to background jobs that notify the user upon completion.
Example Prompts
- "Can you make a highlight reel of my last game?"
- "Render the last round of my recent match into a video clip for me."
- "Hey OpenClaw, take my CS2 demo and turn it into a fragmovie."
Tips & Limitations
- Match Selection: When multiple matches are returned, always verify the match index before triggering the analysis to ensure you are processing the correct game.
- State Tracking: The skill maintains a
data/state.jsonfile. If a job appears to be stuck, check thestatusfield in this file for potential error messages. - Dependencies: Keep your Python environment updated with the latest
requestsversion to prevent handshake issues with the Demo-Slap API. - Reliability: If no highlights are found, ensure the demo file uploaded to the provider is valid and that the match ID is correctly resolved.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-damirikys-demo-slap": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-write, file-read, external-api, code-execution
Related Skills
leetify
Get CS2 player statistics, match analysis, and gameplay insights from Leetify API. Supports player comparison and season stats. Use for stat queries and demo analysis.
scrapling
Web scraping using Scrapling — a Python framework with anti-bot bypass (Cloudflare Turnstile, fingerprint spoofing), adaptive element tracking, stealth headless browser, and full CSS/XPath extraction. Use when web_fetch fails (Cloudflare, JS-rendered pages), or when extracting structured data from websites (prices, articles, lists). Supports HTTP, stealth, and full browser modes. Source: github.com/D4Vinci/Scrapling (PyPI: scrapling). Only use on sites you have permission to scrape.
markitdown
MarkItDown is a Python utility from Microsoft for converting various files (PDF, Word, Excel, PPTX, Images, Audio) to Markdown. Useful for extracting structured text for LLM analysis.
faster-whisper
Local speech-to-text using faster-whisper. High-performance transcription with GPU acceleration support. Includes word-level timestamps and distilled models. Use when asked to "transcribe audio", "whisper", or "speech to text".