reddit-cli

reddit-cli is a skill for Claude Code, Codex from ItamarZand88/CLI-Anything-WEB. It costs 91 tokens per session (1,075 once invoked), scanned A, original, MIT.

A command-line tool for Reddit, a website made up of topic-based discussion communities called subreddits. It can read feeds, search posts and communities, inspect comments, and perform account actions after login.

In plain words
What is it for?
Use it to browse feeds, search posts or subreddits, read post and comment details, inspect user activity, and—after login—vote, comment, submit posts, save content, or manage subscriptions.
Why use it?
It gives developers one terminal interface for finding Reddit discussions and examining complete comment threads. Login enables actions such as voting, commenting, posting, saving, and managing subscriptions.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/itamarzand88/cli-anything-web/reddit-cli
Any agent
npx skills add ItamarZand88/CLI-Anything-WEB --skill reddit-cli
Clone the repo
git clone --depth 1 https://github.com/ItamarZand88/CLI-Anything-WEB

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge for your README with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them.

agentmods badge for reddit-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/itamarzand88/cli-anything-web/reddit-cli.svg)](https://agentmods.dev/skills/itamarzand88/cli-anything-web/reddit-cli)
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,075 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00091 $0.01075
Opus 5 $0.00046 $0.00537
Sonnet 5 $0.00018 $0.00215
Haiku 4.5 $0.00009 $0.00108

Measured 3d ago against content hash 0d6fe3f84756, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

reddit-cli scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/reddit-cli/SKILL.md · 77 lines

How it starts

The opening of the file, as written. The whole thing — 77 lines — stays where its author put it; the contents beside it link to each section on GitHub.

cli-web-reddit

Browse Reddit without auth; vote, comment, submit, and manage subscriptions after auth login. Install: pip install cli-web-reddit, then playwright install chromium.

Commands

Read (no auth):

Command Purpose Key options
feed hot|new|top|rising|popular Front-page feeds --limit N (max 100), --after CURSOR; top adds --time hour|day|week|month|year|all
sub hot|new|top NAME Subreddit posts same as feed
sub info NAME / sub rules NAME Subreddit metadata
sub search NAME QUERY Search within a subreddit --sort relevance|hot|top|new|comments, --limit, --after
search posts QUERY Search all of Reddit --sort, --time, --limit, --after
search subs QUERY Find subreddits --limit, --after
post get URL_OR_ID Post + full comment tree (expands nested threads) --sub NAME (required with bare ID), --comments N
user info|posts|comments USERNAME User profiles and activity --sort hot|new|top|controversial, --time, --limit

Write (requires login). THING_ID is a fullname: t3_xxx (post) or t1_xxx (comment):

Command Purpose
vote up|down|unvote THING_ID Vote
comment add THING_ID TEXT / comment edit / comment delete Comment, reply, edit, delete
submit text SUB TITLE BODY [--flair ID] / submit link SUB TITLE URL [--flair ID] Submit posts; submit flairs SUB lists flair IDs first
saved save|unsave THING_ID Save items
sub join|leave NAME Manage subscriptions
me profile|saved|upvoted|subscriptions|inbox Your account (--limit, --after on lists)

Examples

# Top posts this week in r/python
cli-web-reddit sub top python --time week --limit 10 --json | jq '.posts[] | {title, score, url}'

# Search posts, then read one with comments
cli-web-reddit search posts "fastapi tutorial" --limit 3 --json
cli-web-reddit post get https://www.reddit.com/r/python/comments/abc123/my_post/ --json

# Submit a flaired text post (get flair IDs first)
cli-web-reddit submit flairs ClaudeCode --json
cli-web-reddit submit text ClaudeCode "My Title" "Body here" --flair abc123 --json

# Upvote a post
cli-web-reddit vote up t3_abc123 --json

Read the full file on GitHub · 77 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 77 lines · 91 tokens per session scan A 0d6fe3f84756

Subscribe to this mod's changes

reddit-cli is a skill published in the GitHub repository ItamarZand88/CLI-Anything-WEB (216 stars, last pushed 10d ago), licensed MIT. It adds 91 tokens to every session and 1,075 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.