Reddit listings + Citedy Agent API autopilot (no scout credits). Optional interactive setup.
Project description
citedy-reddit-writer
Public Reddit listings (.json API) → filter/dedupe → Citedy POST /api/agent/autopilot with source_urls and optional auto_publish. Does not call scout/reddit (no scout credits per tick).
Repository: github.com/citedy/citedy-reddit-writer
Quick start
git clone https://github.com/citedy/citedy-reddit-writer.git
cd citedy-reddit-writer
python3 -m venv .venv
source .venv/bin/activate
pip install -e .
# Interactive: creates config.yaml + .env (API key only in .env)
citedy-reddit-setup
set -a && source .env && set +a
citedy-reddit-run --config config.yaml
Dry-run (no Citedy calls, no state writes):
citedy-reddit-run --config config.yaml --dry-run
Agent skills (Claude Code, Cursor, Codex)
| Environment | Skill / command location |
|---|---|
| Claude Code | .claude/skills/citedy-reddit-writer/SKILL.md + /citedy-reddit-writer (.claude/commands/citedy-reddit-writer.md) |
| Cursor | In saas-blog monorepo: .cursor/skills/citedy-reddit-writer/SKILL.md (triggers on “citedy reddit writer”, citedy-reddit-run, etc.) |
| Codex | In saas-blog monorepo: .codex/skills/citedy-reddit-writer/SKILL.md |
Standalone clone ships .claude/ and .cursor/skills/citedy-reddit-writer/. For Codex only, copy .codex/skills/citedy-reddit-writer/SKILL.md from the saas-blog monorepo if needed.
Verify in Cursor: open this workspace, start a chat, ask e.g. “Run citedy-reddit-writer dry-run from citedy-reddit-writer” — the agent should load the skill and cd citedy-reddit-writer then run ./.venv/bin/citedy-reddit-run --config config.example.yaml --dry-run (after pip install -e . if needed).
Requirements
- Python 3.10+
CITEDY_AGENT_API_KEY(Bearercitedy_agent_…)- Reddit API / data terms — sensible
User-Agent, no abusive polling
Configuration
citedy-reddit-setup— prompts for base URL, key, subreddits, filters, caps,auto_publish, writesconfig.yaml+.env.config.example.yaml— full YAML reference if you edit by hand.- Env:
CITEDY_AGENT_API_KEY,CITEDY_REDDIT_CONFIG, optionalCITEDY_BASE_URL,CITEDY_ALERT_WEBHOOK_URL,DRY_RUN.
State file path (dedupe.state_path) is resolved relative to the config file directory.
Scheduling
- systemd:
systemd/citedy-reddit-writer.service+citedy-reddit-writer.timer - cron:
crontab.example
Security
Do not commit .env or a config.yaml that contains agent_api_key. Prefer an empty key in YAML and load from the environment.
License
MIT — see LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file citedy_reddit_writer-0.1.0.tar.gz.
File metadata
- Download URL: citedy_reddit_writer-0.1.0.tar.gz
- Upload date:
- Size: 13.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3714bbf5d20cecf2b647aeaca49cfb3c770a7cb09e0d5431ee1df947fdef017b
|
|
| MD5 |
c2413a77763aac9b77bc8a0788ea4d66
|
|
| BLAKE2b-256 |
b4f504a43996204d63ee9e3d451cd0ecc3a29fe34baf76f1ad40dae557918de0
|
Provenance
The following attestation bundles were made for citedy_reddit_writer-0.1.0.tar.gz:
Publisher:
publish-pypi.yml on citedy/citedy-reddit-writer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
citedy_reddit_writer-0.1.0.tar.gz -
Subject digest:
3714bbf5d20cecf2b647aeaca49cfb3c770a7cb09e0d5431ee1df947fdef017b - Sigstore transparency entry: 1320360758
- Sigstore integration time:
-
Permalink:
citedy/citedy-reddit-writer@5aa623c3160b181a8a664fc160f8b0f54730f821 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/citedy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@5aa623c3160b181a8a664fc160f8b0f54730f821 -
Trigger Event:
push
-
Statement type:
File details
Details for the file citedy_reddit_writer-0.1.0-py3-none-any.whl.
File metadata
- Download URL: citedy_reddit_writer-0.1.0-py3-none-any.whl
- Upload date:
- Size: 15.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
891aee539baf1eb0c1bf8292771fe3fdda9549be196c28ca2343aeba95ed50ea
|
|
| MD5 |
ee94f9761472073000197bbbdd6f4f99
|
|
| BLAKE2b-256 |
e08b5587ad49861d4f122f440d62419b5455b854a6051427e743327410eef1ef
|
Provenance
The following attestation bundles were made for citedy_reddit_writer-0.1.0-py3-none-any.whl:
Publisher:
publish-pypi.yml on citedy/citedy-reddit-writer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
citedy_reddit_writer-0.1.0-py3-none-any.whl -
Subject digest:
891aee539baf1eb0c1bf8292771fe3fdda9549be196c28ca2343aeba95ed50ea - Sigstore transparency entry: 1320361291
- Sigstore integration time:
-
Permalink:
citedy/citedy-reddit-writer@5aa623c3160b181a8a664fc160f8b0f54730f821 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/citedy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@5aa623c3160b181a8a664fc160f8b0f54730f821 -
Trigger Event:
push
-
Statement type: