Files
jackwener__opencli/docs/adapters/browser/lesswrong.md
Xule Lin d2051cdab7 feat(lesswrong): add LessWrong adapter (#773)
* feat(lesswrong): add LessWrong adapter

15 commands for the LessWrong rationality and AI alignment community:
- Post listings: curated, frontpage, new, top, top-week/month/year
- Content: read (full post), comments, shortform (quick takes)
- Discovery: tag, tags, sequences
- Users: user (profile), user-posts

All commands use the public GraphQL API (no browser required).
Time-filtered views use the `after` date parameter.
Tag lookup resolves slugs to IDs via the `tagBySlug` view.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix: move lesswrong adapter to clis/ (post PR #782 restructure)

New adapter files were created at src/clis/lesswrong/ but PR #782 moved
all adapters to root clis/. Move to correct location.

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: jackwener <jakevingoo@gmail.com>
2026-04-05 03:21:48 +08:00

57 lines
1.6 KiB
Markdown

# LessWrong
**Mode**: Public · **Domain**: `www.lesswrong.com`
Rationality community and AI alignment research forum.
## Commands
| Command | Description |
|---------|-------------|
| `opencli lesswrong curated` | Editor's picks |
| `opencli lesswrong frontpage` | Algorithmic frontpage feed |
| `opencli lesswrong new` | Latest posts |
| `opencli lesswrong top` | Top rated (all time) |
| `opencli lesswrong top-week` | Top rated this week |
| `opencli lesswrong top-month` | Top rated this month |
| `opencli lesswrong top-year` | Top rated this year |
| `opencli lesswrong read` | Read full post by URL or ID |
| `opencli lesswrong comments` | Top comments on a post |
| `opencli lesswrong user` | User profile |
| `opencli lesswrong user-posts` | List a user's posts |
| `opencli lesswrong tag` | Posts by tag |
| `opencli lesswrong tags` | List popular tags |
| `opencli lesswrong sequences` | Post collections |
| `opencli lesswrong shortform` | Quick takes |
## Usage Examples
```bash
# Browse curated posts
opencli lesswrong curated --limit 5
# Top posts this week
opencli lesswrong top-week --limit 10
# Read a specific post
opencli lesswrong read CzoiqGzpShprcv2Jd
opencli lesswrong read https://www.lesswrong.com/posts/xxx/slug
# Posts tagged "AI"
opencli lesswrong tag ai --limit 5
# User profile and posts
opencli lesswrong user zvi
opencli lesswrong user-posts zvi --limit 5
# Comments on a post
opencli lesswrong comments CzoiqGzpShprcv2Jd --limit 10
# JSON output
opencli lesswrong curated -f json
```
## Prerequisites
- No browser required — uses public LessWrong GraphQL API