omnicogg
بواسطة dexiaong
Coding Agents & IDEsموجز
Universal service integration for OpenClaw — connect Reddit, Steam, Spotify, GitHub, Discord.
الوصف
ما الذي تفعله هذه المهارة
OmniCog provides a unified API for connecting to Reddit, Steam, Spotify, GitHub, Discord, and YouTube from a single client. Each service uses a consistent interface, so switching between platforms requires no changes to how you initialize or call methods. Credentials for each service are passed at client initialization.
Instead of managing separate SDKs, authentication flows, and rate limit logic for each platform, OmniCog exposes all six services through one client object with a consistent calling convention.
متى تستخدمها
- Check trending posts on a subreddit and post a Discord summary
- Look up Steam achievements for a game while playing a playlist on Spotify
- Monitor a GitHub repo for new issues and send Discord notifications
- Search YouTube for a topic and log results alongside Reddit discussion threads
- Pull a Steam friend's game library and compare it to your own
مثال على سير العمل
User asks: find the top 5 hot posts on r/programming and post them to a Discord channel
- 1
Initialize OmniClient with Reddit and Discord credentials
- 2
Call client.reddit.get_hot('programming', limit=5) to fetch top posts
- 3
Format each post title and URL into a message string
- 4
Call client.discord.send_message(channel_id, message) for each post
Five Reddit post links sent to the specified Discord channel
المتطلبات
- OMNICOG_REDDIT_CLIENT_ID environment variable
- OMNICOG_REDDIT_CLIENT_SECRET environment variable
- OMNICOG_STEAM_API_KEY environment variable
- OMNICOG_SPOTIFY_CLIENT_ID environment variable
- OMNICOG_SPOTIFY_CLIENT_SECRET environment variable
- OMNICOG_GITHUB_TOKEN environment variable
- OMNICOG_DISCORD_TOKEN environment variable
- OMNICOG_YOUTUBE_API_KEY environment variable
- Reddit API application (client ID and secret from reddit.com/prefs/apps)
- Steam API key from steamcommunity.com/dev/apikey
- Spotify developer app (client ID and secret from developer.spotify.com)
- GitHub personal access token
- Discord bot token from discord.com/developers
- YouTube Data API key from Google Cloud Console
التثبيت
clawhub install dexiaong/omnicoggشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.