Submits link/text posts to subreddits and reads Reddit identity/submissions via the Reddit API. Use when the user mentions Reddit or posting to a subreddit.
How this skill is triggered — by the user, by Claude, or both
Slash command
/acedatacloud-ai-media:redditWhen to use
Trigger when the user wants to submit a post to a subreddit (link or self/text post), or read their own Reddit identity and submissions. Posting to a subreddit is public and subject to that subreddit's rules / karma requirements — confirm the target subreddit, title and body before submitting.
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Call the **Reddit API** (OAuth endpoints) with `curl + jq`. The user's bearer
Call the Reddit API (OAuth endpoints) with curl + jq. The user's bearer
token is in $REDDIT_TOKEN. Every call MUST send a User-Agent header or
Reddit returns 429. Use the OAuth host https://oauth.reddit.com.
UA="web:cloud.acedata.connectors:v1.0 (by /u/acedatacloud)"
Errors are JSON; a submit returns {"json":{"errors":[...], "data":{...}}} —
if errors is non-empty, show them verbatim. 401 → token expired, re-connect.
Always start by confirming identity:
curl -sS -H "Authorization: Bearer $REDDIT_TOKEN" -H "User-Agent: $UA" \
"https://oauth.reddit.com/api/v1/me" | jq '{name, total_karma, link_karma}'
Confirm the subreddit + title + body with the user first. sr is the
subreddit name WITHOUT the r/ prefix.
# Self (text) post: kind=self + text. Link post: kind=link + url.
curl -sS -X POST "https://oauth.reddit.com/api/submit" \
-H "Authorization: Bearer $REDDIT_TOKEN" -H "User-Agent: $UA" \
--data-urlencode "sr=test" \
--data-urlencode "kind=self" \
--data-urlencode "title=My title" \
--data-urlencode "text=My self-post body in markdown" \
--data-urlencode "api_type=json" \
| jq '.json | {errors, url: .data.url, id: .data.id}'
For a link post:
curl -sS -X POST "https://oauth.reddit.com/api/submit" \
-H "Authorization: Bearer $REDDIT_TOKEN" -H "User-Agent: $UA" \
--data-urlencode "sr=test" --data-urlencode "kind=link" \
--data-urlencode "title=My title" --data-urlencode "url=https://example.com" \
--data-urlencode "api_type=json" | jq '.json'
curl -sS -H "Authorization: Bearer $REDDIT_TOKEN" -H "User-Agent: $UA" \
"https://oauth.reddit.com/user/USERNAME/submitted?limit=10" \
| jq '.data.children[] | .data | {title, subreddit, ups, num_comments, permalink}'
429.errors like [["SUBREDDIT_NOTALLOWED", ...]] — surface it and try
r/test to validate the flow.X-Ratelimit-Remaining response header; space
out bulk submits.r/test as a safe target when validating that the connection works.npx claudepluginhub acedatacloud/skills --plugin acedatacloud-ai-toolsCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.