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

v1.0.0

Über diesen Skill

Perfekt für Social Media-Agents, die Reddit API-Interaktionen für eine verbesserte Community-Engagement nutzen müssen. 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

Perfekt für Social Media-Agents, die Reddit API-Interaktionen für eine verbesserte Community-Engagement nutzen müssen. Interact with the Reddit API from server-side code. Use when reading user info, submitting posts/comments, setting flair, or accessing subreddit data.

Warum diese Fähigkeit verwenden

Ermächtigt Agenten, mit der Reddit API zu interagieren, indem Kontextvariablen wie userId, postId und subredditId verwendet werden, was eine nahtlose Integration mit Reddit-integrierten Anwendungen über Bibliotheken wie @devvit/web/server ermöglicht.

Am besten geeignet für

Perfekt für Social Media-Agents, die Reddit API-Interaktionen für eine verbesserte Community-Engagement nutzen müssen.

Handlungsfähige Anwendungsfälle for use-reddit-api

Automatisierung der Überwachung von Subreddit-Beiträgen unter Verwendung von context.subredditId
Generierung benutzerspezifischer Inhalts-Empfehlungen basierend auf context.userId
Fehlerbehebung der Post-Engagement-Metriken mit context.postId

! Sicherheit & Einschränkungen

  • Benutzeranmeldung erforderlich, um auf context.userId zuzugreifen
  • Abhängig von der Bibliothek @devvit/web/server
  • Kontextvariablen können in bestimmten Szenarien undefiniert sein

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?

Perfekt für Social Media-Agents, die Reddit API-Interaktionen für eine verbesserte Community-Engagement nutzen müssen. 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: Automatisierung der Überwachung von Subreddit-Beiträgen unter Verwendung von context.subredditId, Generierung benutzerspezifischer Inhalts-Empfehlungen basierend auf context.userId, Fehlerbehebung der Post-Engagement-Metriken mit 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?

Benutzeranmeldung erforderlich, um auf context.userId zuzugreifen. Abhängig von der Bibliothek @devvit/web/server. Kontextvariablen können in bestimmten Szenarien undefiniert sein.

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

Verwandte Fähigkeiten

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

Alle anzeigen

openclaw-release-maintainer

Logo of openclaw
openclaw

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

333.8k
0
Künstliche Intelligenz

widget-generator

Logo of f
f

Erzeugen Sie anpassbare Widget-Plugins für das Prompts.Chat-Feed-System

149.6k
0
Künstliche Intelligenz

flags

Logo of vercel
vercel

Das React-Framework

138.4k
0
Browser

pr-review

Logo of pytorch
pytorch

Tensor und dynamische neuronale Netze in Python mit starker GPU-Beschleunigung

98.6k
0
Entwickler