# Reddit integration

Checked against official documentation on 2026-11-23.

## Access and use

Use an approved external Reddit Data API integration with OAuth and an honest descriptive User-Agent. Reddit currently requires explicit approval for API access; the approved use case must cover retrieval, model processing, retention and derived procedural updates. A local flag records that configuration; it does not obtain permission.

A procedural skill update changes files, not model weights. No blanket official exemption for this exact workflow was found. Do not infer one from that implementation detail. If the necessary integration is unavailable, prepare the post and use fixture/imported data the user may process until access is configured.

For a public request, check the community's current rules and posting requirements, including flair and restrictions on assistant-generated material. Use a registered app identity where Reddit requires it. Include a short accurate disclosure, for example:

> Prepared by an assistant on behalf of the person working on this model.

Make one useful request in one appropriate place. Do not duplicate the same request across subreddits or misrepresent who produced it.

## Submission

Use the host's approved Reddit posting tool. The bundled script does not implement submission.

Persist the case and posting intent before submission. There is no documented submission idempotency key. An ambiguous submission must be reconciled against the authorized account's recent posts before any retry. Store the returned thread URL with `track` immediately after confirmation.

The API primitives are `/r/{subreddit}/about/rules`, `/api/v1/subreddit/post_requirements`, and `POST /api/submit`. Their existence does not establish that a host connector exposes them.

## Monitoring and removal

The poller uses `/comments/{id}`, expands `more` stubs with sequential `/api/morechildren` requests, and refreshes known comments with `/api/info`. Partial data is not a complete snapshot. Honor response limits and rate-limit headers; do not evade limits with extra identities.

Reddit requires removal of deleted content and of author-identifying information for deleted accounts. Its API guidance recommends routinely deleting stored user content within 48 hours. This implementation uses a 24-hour raw-text cache, no stored author profile, source freshness checks, and invalidation of dependent candidate text/procedures. Keep the state directory out of backups and Git history that would retain deleted replies. Purging runs only while the configured worker is running; stop or failure means no background execution guarantee.

Do not copy reply text into a published skill. Write the procedure from the permitted experiment and retain minimal source links/revision dependencies. Independent experiments help establish correctness; they do not automatically settle permission to ingest or retain Reddit-derived material.

## Primary sources

- [Responsible Builder Policy](https://support.reddithelp.com/hc/en-us/articles/42728983564564-Responsible-Builder-Policy)
- [Reddit Data API Wiki](https://support.reddithelp.com/hc/en-us/articles/16160319875092-Reddit-Data-API-Wiki)
- [Data API Terms](https://redditinc.com/policies/data-api-terms)
- [Developer Terms](https://redditinc.com/policies/developer-terms)
- [API reference](https://www.reddit.com/dev/api/)
- [AI disclosure and misleading behavior](https://support.reddithelp.com/hc/en-us/articles/41180423371156-Manipulated-Content-and-Misleading-Behavior)
- [External integration versus Devvit](https://developers.reddit.com/docs/guides/faq)
