use-reddit-api — community use-reddit-api, decept, community, ide skills

v1.0.0

Acerca de este Skill

Perfecto para Agentes de Medios Sociales que necesitan aprovechar las interacciones de la API de Reddit para una mayor participación de la comunidad. Interact with the Reddit API from server-side code. Use when reading user info, submitting posts/comments, setting flair, or accessing subreddit data.

vigneshksaithal vigneshksaithal
[0]
[0]
Updated: 3/5/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 7/11

This page remains useful for operators, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution
Review Score
7/11
Quality Score
33
Canonical Locale
en
Detected Body Locale
en

Perfecto para Agentes de Medios Sociales que necesitan aprovechar las interacciones de la API de Reddit para una mayor participación de la comunidad. Interact with the Reddit API from server-side code. Use when reading user info, submitting posts/comments, setting flair, or accessing subreddit data.

¿Por qué usar esta habilidad?

Habilita a los agentes a interactuar con la Reddit API, utilizando variables de contexto como userId, postId y subredditId, lo que permite una integración fluida con aplicaciones integradas con Reddit a través de bibliotecas como @devvit/web/server.

Mejor para

Perfecto para Agentes de Medios Sociales que necesitan aprovechar las interacciones de la API de Reddit para una mayor participación de la comunidad.

Casos de uso accionables for use-reddit-api

Automatización de la supervisión de publicaciones de subreddit utilizando context.subredditId
Generación de recomendaciones de contenido personalizadas según context.userId
Depuración de las métricas de participación de publicaciones con context.postId

! Seguridad y limitaciones

  • Requiere inicio de sesión del usuario para acceder a context.userId
  • Dependiente de la biblioteca @devvit/web/server
  • Las variables de contexto pueden estar indefinidas en determinados escenarios

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.
  • - The underlying skill quality score is below the review floor.

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

After The Review

Decide The Next Action Before You Keep Reading Repository Material

Killer-Skills should not stop at opening repository instructions. It should help you decide whether to install this skill, when to cross-check against trusted collections, and when to move into workflow rollout.

Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is use-reddit-api?

Perfecto para Agentes de Medios Sociales que necesitan aprovechar las interacciones de la API de Reddit para una mayor participación de la comunidad. Interact with the Reddit API from server-side code. Use when reading user info, submitting posts/comments, setting flair, or accessing subreddit data.

How do I install use-reddit-api?

Run the command: npx killer-skills add vigneshksaithal/decept/use-reddit-api. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for use-reddit-api?

Key use cases include: Automatización de la supervisión de publicaciones de subreddit utilizando context.subredditId, Generación de recomendaciones de contenido personalizadas según context.userId, Depuración de las métricas de participación de publicaciones con context.postId.

Which IDEs are compatible with use-reddit-api?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for use-reddit-api?

Requiere inicio de sesión del usuario para acceder a context.userId. Dependiente de la biblioteca @devvit/web/server. Las variables de contexto pueden estar indefinidas en determinados escenarios.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add vigneshksaithal/decept/use-reddit-api. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use use-reddit-api immediately in the current project.

! Reference-Only Mode

This page remains useful for installation and reference, but Killer-Skills no longer treats it as a primary indexable landing page. Read the review above before relying on the upstream repository instructions.

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

use-reddit-api

Install use-reddit-api, an AI agent skill for AI agent workflows and automation. Review the use cases, limitations, and setup path before rollout.

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
Supporting Evidence

Use Reddit API

All code must follow the Coding Principles in AGENTS.md (functional, minimal, readable, modular).

Available imports

typescript
1import { reddit, context } from '@devvit/web/server'

Context variables

VariableTypeAvailable when
context.userIdstring | undefinedUser is logged in
context.postIdstring | undefinedInside a post
context.subredditIdstringAlways
context.subredditNamestringAlways

Always guard optional context before use (see api-route skill for guard helpers).

Common operations

Get current user

typescript
1const user = await reddit.getCurrentUser() 2if (!user) { 3 return c.json({ status: 'error', message: 'Not logged in' }, 400) 4} 5const username = user.username

Get current subreddit

typescript
1const subreddit = await reddit.getCurrentSubreddit()

Submit a custom post

typescript
1const post = await reddit.submitCustomPost({ 2 subredditName: context.subredditName!, 3 title: 'My Post Title', 4 entry: 'default', // matches entrypoint key in devvit.json 5}) 6// post.id is the new post ID (e.g. "t3_abc")

Submit a comment

typescript
1await reddit.submitComment({ 2 postId: context.postId!, 3 text: 'Great job! 🎉', 4})

Set user flair

typescript
1await reddit.setUserFlair({ 2 subredditName: context.subredditName!, 3 username: user.username, 4 text: 'Champion 🏆', 5})

When a menu item handler needs to redirect the user to a post:

typescript
1app.post('/internal/menu/create-game', async (c) => { 2 const post = await reddit.submitCustomPost({ 3 subredditName: context.subredditName!, 4 title: 'New Game', 5 entry: 'default', 6 }) 7 return c.json({ 8 navigateTo: `https://reddit.com/r/${context.subredditName}/comments/${post.id}`, 9 }) 10})

Constraints

  • Reddit API calls are server-side only — never from client Svelte code
  • 30-second request timeout applies to all operations
  • Error handling follows the api-route skill pattern (try/catch, instanceof Error)

Checklist before finishing

  • Tests written FIRST in src/server/__tests__/ using bun:test and devvit-mocks
  • All Reddit API calls are in server code (src/server/)
  • context.userId and context.postId guarded before use
  • Response uses standard shape from api-route skill
  • Menu item handlers return { navigateTo: url } when redirecting
  • bun run test passes with zero failures

Habilidades relacionadas

Looking for an alternative to use-reddit-api or another community skill for your workflow? Explore these related open-source skills.

Ver todo

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

333.8k
0
Inteligencia Artificial

widget-generator

Logo of f
f

Generar complementos de widgets personalizables para el sistema de feeds de prompts.chat

149.6k
0
Inteligencia Artificial

flags

Logo of vercel
vercel

El Marco de React

138.4k
0
Navegador

pr-review

Logo of pytorch
pytorch

Tensores y redes neuronales dinámicas en Python con fuerte aceleración de GPU

98.6k
0
Desarrollador