Resources
7Install
npx skillscat add imoonkey/openweb/src-sites-substack Install via the SkillsCat registry.
SKILL.md
Substack
Overview
Newsletter and long-form content platform. Content platform archetype.
Workflows
Find and read a post
searchPosts(query)→slug,publication.subdomaingetPost(subdomain=publication.subdomain, slug)→ full article withbody_html
Browse a publication's posts
getArchive(subdomain)→ posts withid,sluggetPost(subdomain, slug)→ full article withid,title,body_htmlgetPostComments(subdomain, postId=id)→ discussion withbody,name,children
Search within a publication
getArchive(subdomain, search="keyword")→ filtered posts withsluggetPost(subdomain, slug)→ full article
Operations
| Operation | Intent | Key Input | Key Output | Notes |
|---|---|---|---|---|
| searchPosts | find posts by keyword | query | title, slug, publication.subdomain, post_date | entry point; cross-publication |
| getArchive | list/search posts in a publication | subdomain ← searchPosts (or known) | id, title, slug, post_date, audience | paginated (offset, limit) |
| getPost | read full article | subdomain, slug ← searchPosts / getArchive | title, body_html, word_count, reaction_count | slug from search or archive |
| getPostComments | read discussion | subdomain, postId ← getArchive / getPost | body, name, date, reaction_count, children | nested replies via children |
Quick Start
# Search for posts about AI
openweb substack exec searchPosts '{"query":"artificial intelligence"}'
# List recent posts from a publication
openweb substack exec getArchive '{"subdomain":"astralcodexten","sort":"new","limit":5}'
# Read a specific post
openweb substack exec getPost '{"subdomain":"astralcodexten","slug":"open-thread-427"}'
# Get comments on a post
openweb substack exec getPostComments '{"subdomain":"astralcodexten","postId":158504113}'