pp-skool

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese
<!-- GENERATED FILE — DO NOT EDIT. This file is a verbatim mirror of library/media-and-entertainment/skool/SKILL.md, regenerated post-merge by tools/generate-skills/. Hand-edits here are silently overwritten on the next regen. Edit the library/ source instead. See AGENTS.md "Generated artifacts: registry.json, cli-skills/". -->
<!-- 生成文件——请勿编辑。 此文件是library/media-and-entertainment/skool/SKILL.md的精确镜像,由tools/generate-skills/在合并后重新生成。此处的手动编辑会在下次重新生成时被静默覆盖。请改为编辑library/中的源文件。 详见AGENTS.md中的“生成产物:registry.json, cli-skills/”。 -->

Skool — Printing Press CLI

Skool — Printing Press CLI

Prerequisites: Install the CLI

前置条件:安装CLI

This skill drives the
skool-pp-cli
binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:
  1. Install via the Printing Press installer:
    bash
    npx -y @mvanhorn/printing-press install skool --cli-only
  2. Verify:
    skool-pp-cli --version
  3. Ensure
    $GOPATH/bin
    (or
    $HOME/go/bin
    ) is on
    $PATH
    .
If the
npx
install fails before this CLI has a public-library category, install Node or use the category-specific Go fallback after publish.
If
--version
reports "command not found" after install, the install step did not put the binary on
$PATH
. Do not proceed with skill commands until verification succeeds.
Community + course platform (skool.com). No public API — reverse-engineered from www.skool.com Next.js data routes (reads) and api2.skool.com REST (writes), authenticated via the auth_token JWT cookie.
此技能驱动
skool-pp-cli
二进制文件。在调用此技能的任何命令之前,您必须确认CLI已安装。如果未安装,请先执行以下步骤:
  1. 通过Printing Press安装程序安装:
    bash
    npx -y @mvanhorn/printing-press install skool --cli-only
  2. 验证:
    skool-pp-cli --version
  3. 确保
    $GOPATH/bin
    (或
    $HOME/go/bin
    )已添加到
    $PATH
    环境变量中。
如果在该CLI拥有公共库分类之前
npx
安装失败,请安装Node.js,或在发布后使用特定分类的Go备用安装方式。
如果安装后执行
--version
提示“command not found”,说明安装步骤未将二进制文件添加到
$PATH
中。请在验证成功前不要继续执行技能命令。
社区+课程平台(skool.com)。无公开API——通过反向工程解析www.skool.com的Next.js数据路由(读取)和api2.skool.com的REST接口(写入),通过auth_token JWT cookie进行身份验证。

When to Use This CLI

何时使用此CLI

Use this CLI when you operate or moderate a Skool community and need analytics, exports, or automation that the native UI cannot do — classroom-to-markdown export, cross-community SQL, or scheduled digests for an agent.
当您运营或管理Skool社区,且需要原生UI无法提供的分析、导出或自动化功能时,可使用此CLI——例如课堂内容转Markdown导出、跨社区SQL查询,或为Agent生成定时摘要。

Unique Capabilities

独特功能

These capabilities aren't available in any other tool for this API.
这些功能是其他基于该API的工具所不具备的。

Local state that compounds

可累积的本地状态

  • posts top
    — Rank recent posts by upvotes, comments, or engagement and return them with full content.
    Pick this for a daily/weekly cron that surfaces the 3-5 most-engaging posts from any community — perfect for catching up without scrolling.
    bash
    skool-pp-cli posts top --community earlyaidopters --since 7d --top 5 --by engagement --json
  • leaderboard
    — Top members by points for the community, with level and bio fields included.
    Pick this when an agent needs the current community leaderboard in one call without scraping the page.
    bash
    skool-pp-cli leaderboard --community bewarethedefault --top 25 --json
  • digest since
    — Aggregate everything new across posts, comments, members, and lessons since a timestamp.
    Pick this when an agent needs a single brief of community activity for a daily/weekly cron.
    bash
    skool-pp-cli digest since 24h --json
  • sql
    — Run read-only SQL across every community in your local store.
    Pick this when an agent needs to compose a query across multiple Skool communities you own or operate.
    bash
    skool-pp-cli sql 'SELECT community, COUNT(*) FROM posts GROUP BY community'
  • posts top
    —— 根据点赞数、评论数或互动量对近期帖子进行排名,并返回完整内容。
    适合用于每日/每周定时任务,筛选出社区内3-5条互动量最高的帖子——无需滚动浏览即可快速了解热点。
    bash
    skool-pp-cli posts top --community earlyaidopters --since 7d --top 5 --by engagement --json
  • leaderboard
    —— 显示社区内积分最高的成员,包含等级和简介字段。
    适合让Agent通过一次调用获取当前社区排行榜,无需页面爬取。
    bash
    skool-pp-cli leaderboard --community bewarethedefault --top 25 --json
  • digest since
    —— 汇总指定时间戳以来的所有新内容,包括帖子、评论、成员和课程。
    适合让Agent生成每日/每周的社区活动简报,用于定时任务。
    bash
    skool-pp-cli digest since 24h --json
  • sql
    —— 在本地存储中对所有社区执行只读SQL查询。
    适合让Agent对您拥有或运营的多个Skool社区进行组合查询。
    bash
    skool-pp-cli sql 'SELECT community, COUNT(*) FROM posts GROUP BY community'

Agent-native plumbing

原生Agent适配

  • calendar export
    — Export upcoming community events to an .ics file for Google Cal / Outlook.
    Pick this when a member wants community events on their personal calendar without manual entry.
    bash
    skool-pp-cli calendar export --ics > community.ics
  • classroom export
    — Export an entire course to a markdown bundle (modules, lessons, attachments, video URLs).
    Pick this when an agent needs to ingest a course for offline reference, search, or LLM retrieval.
    bash
    skool-pp-cli classroom export <course-slug> --out ./course/
  • calendar export
    —— 将即将到来的社区活动导出为.ics文件,用于Google日历/Outlook。
    适合让成员将社区活动同步到个人日历,无需手动录入。
    bash
    skool-pp-cli calendar export --ics > community.ics
  • classroom export
    —— 将整个课程导出为Markdown包(包含模块、课程、附件、视频URL)。
    适合让Agent导入课程内容,用于离线参考、搜索或LLM检索。
    bash
    skool-pp-cli classroom export <course-slug> --out ./course/

HTTP Transport

HTTP传输

This CLI uses Chrome-compatible HTTP transport for browser-facing endpoints. It does not require a resident browser process for normal API calls.
此CLI使用兼容Chrome的HTTP传输处理面向浏览器的端点,正常API调用无需常驻浏览器进程。

Command Reference

命令参考

calendar — Community calendar events
  • skool-pp-cli calendar <buildId>
    — List upcoming and recent calendar events
classroom — Classroom (courses, modules, lessons) for a community
  • skool-pp-cli classroom get-course
    — Get a single course with its modules and lessons
  • skool-pp-cli classroom list
    — List all courses in a community
community — Community feed, settings, and metadata
  • skool-pp-cli community about
    — About page (rules, owner, member count)
  • skool-pp-cli community info
    — Get the community feed (posts, leaderboard summary, upcoming events, settings)
  • skool-pp-cli community leaderboard-tab
    — Leaderboard tab (community page rendered with t=leaderboard)
  • skool-pp-cli community members-tab
    — Members tab data (community page rendered with t=members)
me — Current authenticated user dashboard
  • skool-pp-cli me <buildId>
    — Get current user, joined communities, and dashboard state
members — Community members and moderation
  • skool-pp-cli members approve
    — Approve a pending member request
  • skool-pp-cli members ban
    — Ban a member from the community
  • skool-pp-cli members pending
    — List pending member join requests
  • skool-pp-cli members reject
    — Reject a pending member request
notifications — User notifications
  • skool-pp-cli notifications list
    — List notifications for the authenticated user
  • skool-pp-cli notifications mark-read
    — Mark notifications as read (empty ids = mark all)
posts — Posts (forum threads) inside a community
  • skool-pp-cli posts comment
    — Add a comment to a post
  • skool-pp-cli posts create
    — Create a new post (body = TipTap JSON; use --md to convert markdown)
  • skool-pp-cli posts delete
    — Delete a post
  • skool-pp-cli posts get
    — Get a post detail page including comment tree
  • skool-pp-cli posts like
    — Like (upvote) a post
  • skool-pp-cli posts unlike
    — Unlike a post
  • skool-pp-cli posts update
    — Update an existing post
calendar —— 社区日历事件
  • skool-pp-cli calendar <buildId>
    —— 列出即将到来和近期的日历事件
classroom —— 社区课堂(课程、模块、课时)
  • skool-pp-cli classroom get-course
    —— 获取单个课程及其模块和课时
  • skool-pp-cli classroom list
    —— 列出社区内所有课程
community —— 社区动态、设置和元数据
  • skool-pp-cli community about
    —— 关于页面(规则、所有者、成员数量)
  • skool-pp-cli community info
    —— 获取社区动态(帖子、排行榜摘要、即将到来的活动、设置)
  • skool-pp-cli community leaderboard-tab
    —— 排行榜标签页(渲染t=leaderboard的社区页面)
  • skool-pp-cli community members-tab
    —— 成员标签页数据(渲染t=members的社区页面)
me —— 当前已认证用户仪表盘
  • skool-pp-cli me <buildId>
    —— 获取当前用户、已加入社区和仪表盘状态
members —— 社区成员与管理
  • skool-pp-cli members approve
    —— 批准待处理的成员加入请求
  • skool-pp-cli members ban
    —— 将成员从社区封禁
  • skool-pp-cli members pending
    —— 列出待处理的成员加入请求
  • skool-pp-cli members reject
    —— 拒绝待处理的成员加入请求
notifications —— 用户通知
  • skool-pp-cli notifications list
    —— 列出已认证用户的通知
  • skool-pp-cli notifications mark-read
    —— 将标记通知为已读(空id表示标记全部)
posts —— 社区内的帖子(论坛主题)
  • skool-pp-cli posts comment
    —— 为帖子添加评论
  • skool-pp-cli posts create
    —— 创建新帖子(body为TipTap JSON;使用--md转换Markdown)
  • skool-pp-cli posts delete
    —— 删除帖子
  • skool-pp-cli posts get
    —— 获取帖子详情页,包含评论树
  • skool-pp-cli posts like
    —— 点赞帖子
  • skool-pp-cli posts unlike
    —— 取消点赞帖子
  • skool-pp-cli posts update
    —— 更新现有帖子

Freshness Contract

新鲜度约定

This printed CLI owns bounded freshness only for registered store-backed read command paths. In
--data-source auto
mode, those paths check
sync_state
and may run a bounded refresh before reading local data.
--data-source local
never refreshes.
--data-source live
reads the API and does not mutate the local store. Set
SKOOL_NO_AUTO_REFRESH=1
to skip the freshness hook without changing source selection.
Covered paths:
  • skool-pp-cli notifications
  • skool-pp-cli notifications list
  • skool-pp-cli notifications mark-read
When JSON output uses the generated provenance envelope, freshness metadata appears at
meta.freshness
. Treat it as current-cache freshness for the covered command path, not a guarantee of complete historical backfill or API-specific enrichment.
此CLI仅对注册的存储支持型读取命令路径提供有限的新鲜度保障。在
--data-source auto
模式下,这些路径会检查
sync_state
,并可能在读取本地数据前执行有限刷新。
--data-source local
模式从不刷新。
--data-source live
模式直接读取API,且不会修改本地存储。设置
SKOOL_NO_AUTO_REFRESH=1
可跳过新鲜度检查,无需更改数据源选择。
覆盖的路径:
  • skool-pp-cli notifications
  • skool-pp-cli notifications list
  • skool-pp-cli notifications mark-read
当JSON输出使用生成的溯源信封时,新鲜度元数据会显示在
meta.freshness
中。将其视为对应命令路径的当前缓存新鲜度,而非完整历史回填或API特定增强的保证。

Finding the right command

查找正确的命令

When you know what you want to do but not which command does it, ask the CLI directly:
bash
skool-pp-cli which "<capability in your own words>"
which
resolves a natural-language capability query to the best matching command from this CLI's curated feature index. Exit code
0
means at least one match; exit code
2
means no confident match — fall back to
--help
or use a narrower query.
当您知道要执行的操作但不确定对应命令时,可直接询问CLI:
bash
skool-pp-cli which "<用您自己的语言描述功能>"
which
会将自然语言功能查询解析为CLI精选功能索引中最匹配的命令。退出码
0
表示至少有一个匹配项;退出码
2
表示无可靠匹配项——请回退使用
--help
或缩小查询范围。

Recipes

使用示例

Daily digest cron

每日摘要定时任务

bash
skool-pp-cli sync bewarethedefault && skool-pp-cli digest since 24h --json --select new_posts,new_members,top_comments
One sync + one query. Pipes cleanly to a scheduled agent that drafts a Slack/email digest.
bash
skool-pp-cli sync bewarethedefault && skool-pp-cli digest since 24h --json --select new_posts,new_members,top_comments
一次同步 + 一次查询。可直接管道传输到定时Agent,用于生成Slack/邮件摘要。

Export a course to markdown

将课程导出为Markdown

bash
skool-pp-cli classroom export ai-foundations --out ./ai-foundations/
Recursive walk: modules → lessons → attachments + Mux URLs. One folder per course, ready for LLM ingestion.
bash
skool-pp-cli classroom export ai-foundations --out ./ai-foundations/
递归遍历:模块 → 课时 → 附件 + Mux URL。每个课程对应一个文件夹,可直接用于LLM导入。

Cross-community engagement SQL

跨社区互动SQL查询

bash
skool-pp-cli sql 'SELECT community, COUNT(*) AS posts_30d FROM posts WHERE created_at > date("now","-30 days") GROUP BY community ORDER BY posts_30d DESC'
Read-only SQL over the local store. Works across every community you have synced.
bash
skool-pp-cli sql 'SELECT community, COUNT(*) AS posts_30d FROM posts WHERE created_at > date("now","-30 days") GROUP BY community ORDER BY posts_30d DESC'
对本地存储执行只读SQL查询。适用于您已同步的所有社区。

Top 10 leaderboard

前10名排行榜

bash
skool-pp-cli leaderboard --community bewarethedefault --top 10 --json
Current 30-day leaderboard. Members with rank, points, level, bio fields.
bash
skool-pp-cli leaderboard --community bewarethedefault --top 10 --json
当前30天排行榜。包含成员的排名、积分、等级和简介字段。

Multi-community use

多社区使用

The CLI supports any Skool community you're a member of — the
auth_token
cookie covers all communities you're logged into globally. Switch communities via the
--community <slug>
flag on any command, or change the default in
~/.config/skool-pp-cli/config.toml
under
[template_vars]
.
bash
undefined
CLI支持您加入的任何Skool社区——
auth_token
cookie适用于您全局登录的所有社区。可通过在任何命令中添加
--community <slug>
标志切换社区,或在
~/.config/skool-pp-cli/config.toml
[template_vars]
下修改默认社区。
bash
undefined

Default community from config

使用配置中的默认社区

skool-pp-cli digest since 24h
skool-pp-cli digest since 24h

Override per call

每次调用时覆盖默认社区

skool-pp-cli digest since 24h --community early-ai-adopters --json skool-pp-cli leaderboard --community some-other-community --top 10
skool-pp-cli digest since 24h --community early-ai-adopters --json skool-pp-cli leaderboard --community some-other-community --top 10

Sync multiple communities into one local store (each row gets a community tag)

将多个社区同步到一个本地存储(每行都会添加社区标签)

skool-pp-cli sync --community bewarethedefault skool-pp-cli sync --community early-ai-adopters
skool-pp-cli sync --community bewarethedefault skool-pp-cli sync --community early-ai-adopters

Cross-community SQL once both are synced

同步完成后执行跨社区SQL查询

skool-pp-cli sql "SELECT community, resource_type, COUNT(*) FROM resources GROUP BY community, resource_type"
skool-pp-cli sql "SELECT community, resource_type, COUNT(*) FROM resources GROUP BY community, resource_type"

Bash one-liner: daily digest across N communities

Bash单行命令:多个社区的每日摘要

for c in bewarethedefault early-ai-adopters another-community; do skool-pp-cli digest since 24h --community $c --json --select community,new_post_count,new_posts >> ~/skool-daily-digest.jsonl done

The community-tagged store is the foundation for the v0.3 cross-community analytics commands (at-risk members, churn cohort, engagement profile across communities).
for c in bewarethedefault early-ai-adopters another-community; do skool-pp-cli digest since 24h --community $c --json --select community,new_post_count,new_posts >> ~/skool-daily-digest.jsonl done

带社区标签的存储是v0.3版本跨社区分析命令(高风险成员、流失群组、跨社区互动画像)的基础。

Top posts by engagement (signal in the noise)

按互动量排序的热门帖子(筛选有效信息)

bash
skool-pp-cli posts top --community earlyaidopters --since 7d --top 5 --by engagement --json
skool-pp-cli posts top --community bewarethedefault --since 24h --top 3 --by upvotes
The headline daily/weekly command. Walks paginated community feed, dedups, filters to window, ranks by upvotes / comments / engagement / newest, returns full post body so the agent has everything it needs in one call.
bash
skool-pp-cli posts top --community earlyaidopters --since 7d --top 5 --by engagement --json
skool-pp-cli posts top --community bewarethedefault --since 24h --top 3 --by upvotes
日常/每周核心命令。遍历分页社区动态,去重、筛选时间范围,按点赞数/评论数/互动量/最新排序,返回完整帖子内容,让Agent一次调用即可获取所需全部信息。

Auth Setup

身份验证设置

Skool has no public API. Authenticate with the auth_token JWT cookie from your logged-in browser session:
skool-pp-cli auth set-token
(writes ~/.config/skool-pp-cli/config.toml). Same cookie covers reads and writes; CloudFront requires a realistic User-Agent which the CLI sets automatically.
Run
skool-pp-cli doctor
to verify setup.
Skool无公开API。使用您已登录浏览器会话中的auth_token JWT cookie进行身份验证:执行
skool-pp-cli auth set-token
(写入~/.config/skool-pp-cli/config.toml)。同一个cookie适用于读取和写入操作;CloudFront要求使用真实的User-Agent,CLI会自动设置。
执行
skool-pp-cli doctor
验证设置是否正确。

Agent Mode

Agent模式

Add
--agent
to any command. Expands to:
--json --compact --no-input --no-color --yes
.
  • Pipeable — JSON on stdout, errors on stderr
  • Filterable
    --select
    keeps a subset of fields. Dotted paths descend into nested structures; arrays traverse element-wise. Critical for keeping context small on verbose APIs:
    bash
    skool-pp-cli calendar mock-value --community example-value --agent --select id,name,status
  • Previewable
    --dry-run
    shows the request without sending
  • Offline-friendly — sync/search commands can use the local SQLite store when available
  • Non-interactive — never prompts, every input is a flag
  • Explicit retries — use
    --idempotent
    only when an already-existing create should count as success, and
    --ignore-missing
    only when a missing delete target should count as success
在任何命令后添加
--agent
参数。等效于:
--json --compact --no-input --no-color --yes
  • 可管道传输 —— JSON输出到stdout,错误输出到stderr
  • 可筛选 ——
    --select
    保留字段子集。点路径可深入嵌套结构;数组会遍历每个元素。对于冗长的API,这是缩小上下文的关键:
    bash
    skool-pp-cli calendar mock-value --community example-value --agent --select id,name,status
  • 可预览 ——
    --dry-run
    显示请求但不发送
  • 离线友好 —— 同步/搜索命令可在可用时使用本地SQLite存储
  • 非交互式 —— 从不提示,所有输入均通过标志传递
  • 显式重试 —— 仅当已存在的创建操作应视为成功时使用
    --idempotent
    ,仅当缺失的删除目标应视为成功时使用
    --ignore-missing

Response envelope

响应信封

Commands that read from the local store or the API wrap output in a provenance envelope:
json
{
  "meta": {"source": "live" | "local", "synced_at": "...", "reason": "..."},
  "results": <data>
}
Parse
.results
for data and
.meta.source
to know whether it's live or local. A human-readable
N results (live)
summary is printed to stderr only when stdout is a terminal — piped/agent consumers get pure JSON on stdout.
从本地存储或API读取数据的命令会将输出包装在溯源信封中:
json
{
  "meta": {"source": "live" | "local", "synced_at": "...", "reason": "..."},
  "results": <data>
}
解析
.results
获取数据,
.meta.source
可判断数据是实时还是本地的。仅当stdout为终端时,才会向stderr打印人类可读的
N results (live)
摘要;管道/Agent消费者仅会在stdout获取纯JSON。

Agent Feedback

Agent反馈

When you (or the agent) notice something off about this CLI, record it:
skool-pp-cli feedback "the --since flag is inclusive but docs say exclusive"
skool-pp-cli feedback --stdin < notes.txt
skool-pp-cli feedback list --json --limit 10
Entries are stored locally at
~/.skool-pp-cli/feedback.jsonl
. They are never POSTed unless
SKOOL_FEEDBACK_ENDPOINT
is set AND either
--send
is passed or
SKOOL_FEEDBACK_AUTO_SEND=true
. Default behavior is local-only.
Write what surprised you, not a bug report. Short, specific, one line: that is the part that compounds.
当您(或Agent)发现此CLI存在问题时,可记录反馈:
skool-pp-cli feedback "the --since flag is inclusive but docs say exclusive"
skool-pp-cli feedback --stdin < notes.txt
skool-pp-cli feedback list --json --limit 10
反馈条目会存储在本地
~/.skool-pp-cli/feedback.jsonl
中。仅当设置了
SKOOL_FEEDBACK_ENDPOINT
且传递了
--send
参数或设置
SKOOL_FEEDBACK_AUTO_SEND=true
时,才会POST反馈。默认行为仅存储在本地。
请写下让您感到意外的内容,而非正式的错误报告。简短、具体、单行描述:这样的反馈才更有价值。

Output Delivery

输出交付

Every command accepts
--deliver <sink>
. The output goes to the named sink in addition to (or instead of) stdout, so agents can route command results without hand-piping. Three sinks are supported:
SinkEffect
stdout
Default; write to stdout only
file:<path>
Atomically write output to
<path>
(tmp + rename)
webhook:<url>
POST the output body to the URL (
application/json
or
application/x-ndjson
when
--compact
)
Unknown schemes are refused with a structured error naming the supported set. Webhook failures return non-zero and log the URL + HTTP status on stderr.
每个命令都支持
--deliver <sink>
参数。输出会发送到指定的sink,同时也会(或替代)输出到stdout,因此Agent无需手动管道即可路由命令结果。支持三种sink:
Sink效果
stdout
默认;仅输出到stdout
file:<path>
原子性地将输出写入
<path>
(先写入临时文件再重命名)
webhook:<url>
将输出体POST到指定URL(当使用
--compact
时为
application/json
application/x-ndjson
格式)
未知的协议会被拒绝,并返回结构化错误,列出支持的协议集。Webhook失败时返回非零退出码,并在stderr记录URL和HTTP状态码。

Named Profiles

命名配置文件

A profile is a saved set of flag values, reused across invocations. Use it when a scheduled agent calls the same command every run with the same configuration - HeyGen's "Beacon" pattern.
skool-pp-cli profile save briefing --json
skool-pp-cli --profile briefing calendar mock-value --community example-value
skool-pp-cli profile list --json
skool-pp-cli profile show briefing
skool-pp-cli profile delete briefing --yes
Explicit flags always win over profile values; profile values win over defaults.
agent-context
lists all available profiles under
available_profiles
so introspecting agents discover them at runtime.
配置文件是一组保存的标志值,可在多次调用中复用。适用于定时Agent每次运行都使用相同配置调用同一命令的场景——即HeyGen的“Beacon”模式。
skool-pp-cli profile save briefing --json
skool-pp-cli --profile briefing calendar mock-value --community example-value
skool-pp-cli profile list --json
skool-pp-cli profile show briefing
skool-pp-cli profile delete briefing --yes
显式标志始终优先于配置文件值;配置文件值优先于默认值。
agent-context
会在
available_profiles
下列出所有可用配置文件,因此自省Agent可在运行时发现它们。

Exit Codes

退出码

CodeMeaning
0Success
2Usage error (wrong arguments)
3Resource not found
4Authentication required
5API error (upstream issue)
7Rate limited (wait and retry)
10Config error
代码含义
0成功
2使用错误(参数错误)
3资源未找到
4需要身份验证
5API错误(上游问题)
7速率限制(请等待后重试)
10配置错误

Argument Parsing

参数解析

Parse
$ARGUMENTS
:
  1. Empty,
    help
    , or
    --help
    → show
    skool-pp-cli --help
    output
  2. Starts with
    install
    → ends with
    mcp
    → MCP installation; otherwise → see Prerequisites above
  3. Anything else → Direct Use (execute as CLI command with
    --agent
    )
解析
$ARGUMENTS
  1. 为空、
    help
    --help
    → 显示
    skool-pp-cli --help
    输出
  2. install
    开头
    → 若结尾为
    mcp
    → MCP安装;否则 → 参见上方的前置条件
  3. 其他情况 → 直接使用(添加
    --agent
    参数执行CLI命令)

MCP Server Installation

MCP服务器安装

  1. Install the MCP server:
    bash
    go install github.com/mvanhorn/printing-press-library/library/other/skool/cmd/skool-pp-mcp@latest
  2. Register with Claude Code:
    bash
    claude mcp add skool-pp-mcp -- skool-pp-mcp
  3. Verify:
    claude mcp list
  1. 安装MCP服务器:
    bash
    go install github.com/mvanhorn/printing-press-library/library/other/skool/cmd/skool-pp-mcp@latest
  2. 向Claude Code注册:
    bash
    claude mcp add skool-pp-mcp -- skool-pp-mcp
  3. 验证:
    claude mcp list

Direct Use

直接使用

  1. Check if installed:
    which skool-pp-cli
    If not found, offer to install (see Prerequisites at the top of this skill).
  2. Match the user query to the best command from the Unique Capabilities and Command Reference above.
  3. Execute with the
    --agent
    flag:
    bash
    skool-pp-cli <command> [subcommand] [args] --agent
  4. If ambiguous, drill into subcommand help:
    skool-pp-cli <command> --help
    .
  1. 检查是否已安装:
    which skool-pp-cli
    若未找到,提供安装选项(参见顶部的前置条件)。
  2. 将用户查询与上方“独特功能”和“命令参考”中最匹配的命令关联。
  3. 添加
    --agent
    参数执行:
    bash
    skool-pp-cli <command> [subcommand] [args] --agent
  4. 若存在歧义,查看子命令帮助:
    skool-pp-cli <command> --help