use-reddit-api — community use-reddit-api, decept, community, ide skills, Claude Code, Cursor, Windsurf

v1.0.0

このスキルについて

Reddit APIの相互作用を利用してコミュニティへの関与を高める必要があるソーシャルメディアエージェントに最適です。 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

Reddit APIの相互作用を利用してコミュニティへの関与を高める必要があるソーシャルメディアエージェントに最適です。 Interact with the Reddit API from server-side code. Use when reading user info, submitting posts/comments, setting flair, or accessing subreddit data.

このスキルを使用する理由

Reddit APIとのやり取りを可能にすることで、userId、postId、subredditIdなどのコンテキスト変数を利用し、@devvit/web/serverなどのライブラリを通じてReddit統合アプリケーションとのシームレスな統合を実現します。

おすすめ

Reddit APIの相互作用を利用してコミュニティへの関与を高める必要があるソーシャルメディアエージェントに最適です。

実現可能なユースケース for use-reddit-api

context.subredditIdを使用してsubredditの投稿を自動監視する
context.userIdに基づいてユーザー特有のコンテンツ推奨を行う
context.postIdを使用して投稿のエンゲージメントメトリクスをデバッグする

! セキュリティと制限

  • context.userIdへのアクセスにはユーザーログインが必要
  • @devvit/web/serverライブラリに依存
  • コンテキスト変数は特定のシナリオでは未定義になる可能性がある

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 supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.

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?

Reddit APIの相互作用を利用してコミュニティへの関与を高める必要があるソーシャルメディアエージェントに最適です。 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: context.subredditIdを使用してsubredditの投稿を自動監視する, context.userIdに基づいてユーザー特有のコンテンツ推奨を行う, 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?

context.userIdへのアクセスにはユーザーログインが必要. @devvit/web/serverライブラリに依存. コンテキスト変数は特定のシナリオでは未定義になる可能性がある.

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.

Imported Repository Instructions

The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.

Supporting Evidence

use-reddit-api

Install use-reddit-api, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly
Imported Repository Instructions
The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.
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

関連スキル

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

すべて表示

openclaw-release-maintainer

Logo of openclaw
openclaw

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

333.8k
0
AI

widget-generator

Logo of f
f

カスタマイズ可能なウィジェットプラグインをprompts.chatのフィードシステム用に生成する

149.6k
0
AI

flags

Logo of vercel
vercel

React フレームワーク

138.4k
0
ブラウザ

pr-review

Logo of pytorch
pytorch

Pythonにおけるテンソルと動的ニューラルネットワーク(強力なGPUアクセラレーション)

98.6k
0
開発者