social-intelligence
Search and monitor Reddit using x402-protected APIs. USE FOR: - Searching Reddit posts and discussions - Getting comments from Reddit threads - Social media monitoring and research TRIGGERS: - "reddit", "subreddit", "reddit discussion" - "what are people saying", "social media", "sentiment" - "trending", "viral", "popular posts" Use `npx agentcash@latest fetch` for Reddit endpoints. Reddit $0.02/call. IMPORTANT: Use exact endpoint paths from the Quick Reference table below.
How do I install this agent skill?
npx skills add https://github.com/merit-systems/agentcash-skills --skill social-intelligenceIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill facilitates Reddit monitoring through the third-party agentcash CLI tool and micropayment-gated APIs. While it performs its stated function, it relies on unversioned external package execution and creates a potential surface for indirect prompt injection via the Reddit content it processes.
- Socketpass
No alerts
- Snykwarn
Risk: MEDIUM · 2 issues
- Runlayerpass
1/3 files flagged
- ZeroLeakspass
Score: 93/100 · 2 sections analyzed
What does this agent skill do?
Social Intelligence with x402 APIs
Access Reddit through x402-protected endpoints.
Setup
See rules/getting-started.md for installation and wallet setup.
Quick Reference
| Task | Endpoint | Price | Description |
|---|---|---|---|
| Search Reddit | https://stableenrich.dev/api/reddit/search | $0.02 | Search Reddit posts |
| Get comments | https://stableenrich.dev/api/reddit/post-comments | $0.02 | Comments on a post |
See rules/rate-limits.md for usage guidance.
Search Posts
Search Reddit for posts:
npx agentcash@latest fetch https://stableenrich.dev/api/reddit/search -m POST -b '{"query": "best programming languages 2024"}'
Parameters:
query- Search terms (required). Scope to a subreddit with Reddit'ssubreddit:operator inside the query (there is no separate subreddit field)sort- relevance, new, top, comment_count (default: relevance)timeframe- all, day, week, month, year (default: all)maxResults- Maximum results, 1-25 (default: 10)after- Pagination cursor from a previous response
Returns:
- Post title and content
- Author and subreddit
- Upvotes and comment count
- Post URL
Search in Subreddit
npx agentcash@latest fetch https://stableenrich.dev/api/reddit/search -m POST -b '{
"query": "typescript vs javascript subreddit:programming",
"sort": "top",
"timeframe": "year"
}'
Get Post Comments
Get comments from a Reddit post:
npx agentcash@latest fetch https://stableenrich.dev/api/reddit/post-comments -m POST -b '{"url": "https://reddit.com/r/programming/comments/abc123/..."}'
Parameters:
url- Full Reddit post URL (required)cursor- Pagination cursor for more comments
Returns:
- Post details
- Comment text and author
- Comment scores
- Comment timestamps
hasMore/cursorfor pagination
Workflows
Standard
- (Optional) Check balance:
npx agentcash@latest balance - Use
npx agentcash@latest discover https://stableenrich.devto list endpoints - Use
npx agentcash@latest check <endpoint-url>to see expected parameters and pricing - Call endpoint with
npx agentcash@latest fetch - Parse and present results
Brand Monitoring
- (Optional) Check balance:
npx agentcash@latest balance - Search Reddit for discussions
- Summarize sentiment and key mentions
npx agentcash@latest fetch https://stableenrich.dev/api/reddit/search -m POST -b '{"query": "YourBrand", "sort": "new"}'
Competitor Research
- Search Reddit for competitor reviews
- Analyze common complaints and praise
npx agentcash@latest fetch https://stableenrich.dev/api/reddit/search -m POST -b '{"query": "competitor name review", "sort": "top", "timeframe": "year"}'
Community Sentiment
- Identify relevant subreddit
- Search for discussions on topic
- Get comments from top posts
- Synthesize overall sentiment
npx agentcash@latest fetch https://stableenrich.dev/api/reddit/search -m POST -b '{"query": "new feature name subreddit:relevant_community", "sort": "top"}'
npx agentcash@latest fetch https://stableenrich.dev/api/reddit/post-comments -m POST -b '{"url": "https://reddit.com/..."}'
Response Data
Reddit Post Fields
title- Post titleselftext- Post body (for text posts;selftextTruncatedflags truncation)author- Usernamesubreddit- Subreddit namescore- Upvotes minus downvotesnumComments- Comment countpermalink- Link to postcreatedAt- Timestamp
Search responses also include after (pagination cursor) and searchContext (query + result count).
Reddit Comment Fields
body- Comment text (bodyTruncatedflags truncation)author- Usernamescore- Net upvotescreatedAt- Timestamp
Comments are returned as a flat list; use hasMore and cursor to page through more.
Cost Estimation
| Task | Calls | Cost |
|---|---|---|
| Reddit thread + comments | 2 | $0.04 |
| Full monitoring scan | 3-5 | $0.06-0.10 |
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/merit-systems/agentcash-skills/social-intelligence">View social-intelligence on skillZs</a>