Substack API

Use Substack's unofficial cookie-authenticated API to read posts, create drafts, publish issues, and manage publications on behalf of a logged-in Substack user. Required when the user asks to post to Substack, schedule a Substack send, mirror content to Substack, or extract data from a Substack account.

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add AnthonyDavidAdams/substack-api-reference --skill substack-api
Manual install
git clone --depth 1 https://github.com/AnthonyDavidAdams/substack-api-reference.git /tmp/substack-api-reference
mkdir -p ~/.claude/skills
cp -r /tmp/substack-api-reference/. ~/.claude/skills/substack-api

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Substack API Skill

You can drive Substack programmatically using their internal cookie-authenticated
API. There is no public API key program — auth is the session cookie a normal
browser uses.

## When to use this skill

Trigger phrases (not exhaustive):
- "post to Substack" / "send via Substack"
- "create a draft in [my Substack]"
- "publish to {publication}.substack.com"
- "import my Substack subscribers"
- "read my Substack posts"
- "schedule a Substack send"

## Before you do anything

You need TWO pieces of state from the user:

1. **Session cookie** — `connect.sid` value (or `substack.sid` on older
   accounts). See `AUTH.md` for how to obtain.
2. **Publication subdomain** — e.g. `yournewsletter` (NOT the full URL).
   Get this from `/api/v1/user/profile/self` if not supplied.

Always confirm both before making mutating calls. If the user supplied a URL
like `https://yournewsletter.substack.com`, parse out the subdomain.

## Canonical request shape

```
Cookie: connect.sid=<value>; substack.sid=<value>
User-Agent: Mozilla/5.0
```

`Mozilla/5.0` is enough — default Node/Python User-Agents get 403'd.

## The five operations you'll actually do

### 1. Validate a cookie + discover the user's publications

```http
GET https://substack.com/api/v1/user/profile/self
```

Returns `{id, handle, publicationUsers: [{publication: {id, name, subdomain}, role, is_primary}]}`.
- Any 200 = cookie valid
- 401 = cookie expired or wrong
Read the full skill on GitHub

Details

Skill name
substack-api
License
MIT
Repo updated
23 June 2026

FAQ

What does the Substack API skill do?

Use Substack's unofficial cookie-authenticated API to read posts, create drafts, publish issues, and manage publications on behalf of a logged-in Substack user. Required when the user asks to post to Substack, schedule a Substack send, mirror content to Substack, or extract data from a Substack account.

How do I install the Substack API skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add AnthonyDavidAdams/substack-api-reference --skill substack-api. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Substack API popular?

It lives in AnthonyDavidAdams/substack-api-reference, which has 6 GitHub stars and 0 forks.

Related skills

Cra Readiness

5

Killerz007/cra-readiness-skill

Evidence-backed readiness assessment of a software or hardware product against the EU Cyber Resilience Act, Regulation (EU) 2024/2847, using the pinned Official Journal text, Implementing Regulation (EU) 2025/2392 and the Commission's 2026 guidance. Use when the user mentions the CRA, Cyber Resilience Act, CE marking for software, products with digital elements, Annex I essential requirements, SBOM obligations, vulnerability handling, the 11 September 2026 reporting duty, ENISA single reporting platform, support period, substantial modification, important or critical products, or asks to prepa

Software Development

Skillize Any Lib

6

pointerliu/skillize-any-libs

Generate SKILL.md for any library by analyzing its source and real-world usage. Supports Rust, Python, JavaScript, Go, C/C++, and more.

Software Development

Fact Check X Complete

4

ASI2030/Fact-Check-X

面向真实业务决策的多平台事实核验 Skill。正式支持深知晓、深知晓(深度溯源)、豆包、腾讯元宝、DeepSeek 和通义千问,按用户输入动态选择 N≥1 个平台。完整采集原回答、引用、截图与页面存证,结构化比较关键事实,按需使用可信搜索逐点核验权威证据,并评估各平台表现。权威答案是核验产物之一,原始证据、冲突与证据边界全程可追溯。基础采集与对比无需 API Key;可信搜索是权威核验阶段的可选增强。语义工作由 Codex、Claude Code、WorkBuddy 等当前运行载体完成,不调用外部大模型 API。

Software DevelopmentIn 1 list

Shipwright

6

saadjangda/shipwright

The only skill you need to build and ship world-class software — from idea to production. Covers the COMPLETE lifecycle: architecture design, domain modeling, service boundaries, data architecture, implementation with TDD, distinctive frontend design (anti-AI-slop), exhaustive QA across all layers, security hardening, scalability and load balancing, reliability engineering, performance optimization, accessibility (WCAG 2.1 AA), CI/CD, observability, and operational excellence. Applies Airbnb/Stripe/Meta-level engineering standards. Use this skill whenever: building something new ('let's build

Software Development

Trace My Code

4

kgohil/trace-my-code

Build and maintain a living trace of a codebase — the domain flow plus the underlying code structure and patterns — as curated Markdown that gives a coding agent the right, always-current context to develop features, follow existing patterns, and refactor safely without re-reading the whole repo. Use this whenever you map or document how a feature/flow works end to end, author or update a DOMAIN/ARCHITECTURE/DATA_FLOW doc or an ADR, record an architecture decision, onboard to or trace an unfamiliar area, link a service's docs to the services it talks to, or refresh docs after code changed — ev

Software DevelopmentIn 1 list

Power Coding

6

APareek89/power-coding

Mindful-coding OS for any LLM coding agent — faster, quality, scalable output. One invoke configures seven layers (0–6): (0) BRIEF — optional one-page PRD.md (skipped if design.MD/README already covers it, or on request), plus git init, gitignore, and a day-one security baseline; (1) HARNESSING — Handoff.MD (user-picked sections, one magic phrase chains sessions, updated on concrete events — before every commit / end of every phase — with a line/item compaction cap and a last-synced sha for concurrent-session reconcile) + auto Learning.MD for bugs and flow changes; (2) LOOP ENGINEERING — Loop.

Software Development

Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.