sylo-reddit

Read-only Reddit access for Pi coding agent — public posts and subreddit listings via old.reddit.com HTML (no credentials, no OAuth). Ships a Sylo-only host plugin (pi.sylo) that is inert on vanilla Pi.

Packages

Package details

extensionskill

Install sylo-reddit from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:sylo-reddit
Package
sylo-reddit
Version
0.1.1
Published
Sep 12, 2026
Downloads
307/mo · 307/wk
Author
yeti-trix
License
MIT
Types
extension, skill
Size
30.9 KB
Dependencies
2 dependencies · 0 peers
Pi manifest JSON
{
  "skills": [
    "./skills/reddit"
  ],
  "extensions": [
    "./extensions/reddit/index.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

sylo-reddit

Read-only Reddit access for Sylo/Pi via old.reddit.com HTML (no credentials needed) — as an individual, self-contained pi package (one repo = one npm package).

Reddit closed self-service OAuth app creation (Responsible Builder Policy), so this package ships no OAuth settings and no API-tier access — only public HTML reads.

  • Works on vanilla Pi and inside Sylo (where it adds a small Sylo-only host plugin)

Install

pi install npm:sylo-reddit

In Sylo: Capability manager → Pi.dev package catalog (or Install by exact specnpm:sylo-reddit), then Restart broker. No config file required.

Tools

Tool Behavior
sylo_reddit_read Post URL → title, body, comments, image URLs
sylo_reddit_list Subreddit listing (hot / new / top / rising)

Scores and comment counts are best-effort; comment coverage is limited to one page.

Sylo-only extras (inert on vanilla Pi)

This package carries a pi.sylo manifest block. Vanilla Pi ignores it completely. Inside Sylo, the host-plugin loader loads host/index.js, which provides:

  • reddit.ping RPC op — reports { ok, plugin: 'sylo-reddit', version }.

No credentials, no personal data, and nothing here publishes any operator data.

Folder structure

extensions/reddit/
  index.ts             Tools
  fetch-old-reddit.ts  old.reddit HTML parser (linkedom)
  reddit-types.ts      Shared post/comment types
  url-parse.ts         URL helpers
  format.ts            Markdown formatters
skills/reddit/         Agent skill
host/                  Sylo-only host plugin (inert on vanilla Pi)

Development

npm install
npm test        # URL-parsing tests (esbuild-bundled, node --test)