skool-cli

skool-cli is a skill for Claude Code, Codex from Samin12/claude-course. It costs 114 tokens per session (1,439 once invoked), scanned A, original, MIT.

A command-line workflow for managing Skool classrooms through a logged-in browser tab. Skool is a platform for hosting online communities and courses.

In plain words
What is it for?
Use it to rename folders, create or update pages, push course content in batches, duplicate course structures, and perform other classroom changes.
Why use it?
It avoids repetitive manual classroom maintenance when many folders or course pages need to be changed.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/samin12/claude-course/skool-cli
Any agent
npx skills add Samin12/claude-course --skill skool-cli
Clone the repo
git clone --depth 1 https://github.com/Samin12/claude-course

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for skool-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/samin12/claude-course/skool-cli.svg)](https://agentmods.dev/skills/samin12/claude-course/skool-cli)
Your own site
<a href="https://agentmods.dev/skills/samin12/claude-course/skool-cli"><img src="https://agentmods.dev/badge/skills/samin12/claude-course/skool-cli.svg" alt="Measured on agentmods" height="20"></a>
Per session 114 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,439 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00114 $0.01439
Opus 5 $0.00057 $0.00720
Sonnet 5 $0.00023 $0.00288
Haiku 4.5 $0.00011 $0.00144

Measured 4d ago against content hash 1b504e7f3b31, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

skool-cli scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (skool.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/skool-cli/SKILL.md · 113 lines

How it starts

The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Skool CLI

You're about to programmatically update a Skool classroom via its internal API (reverse-engineered — Skool has no public API). The CLI runs inside a logged-in Skool browser tab and uses the user's session cookies for auth, so you don't need tokens or credentials.

Source repo: https://github.com/Samin12/skool-cli

Pre-flight

  1. Chrome MCP required. This skill drives a logged-in Skool tab via mcp__Claude_in_Chrome__javascript_tool. Confirm Chrome MCP tools are available. If not, ask the user to connect the Chrome extension.
  2. User must be logged into Skool in Chrome. Check tabs context — you need a tab at skool.com/<group>/classroom/<courseId>.
  3. Navigate to the classroom root before injecting the CLI so window.__NEXT_DATA__ has the tree loaded:
    https://www.skool.com/<group-slug>/classroom/<course-slug>
    

Inject the CLI

Paste the full CLI source into a javascript_exec call against the Skool tab. The source is kept in this skill at skool.js (see below) — copy-paste the whole IIFE.

After injection, window.skool is available. Verify:

window.skool.flattenTree().units.length

Core operations

Rename a folder or page

await skool.update('<unit-id>', { title: '📂 Day 01 — New Title' })

Title limit: 50 UTF-16 code units. 📂 and 📝 emojis each count as 2. A plain " — " (em-dash) counts as 1.

Update a page's content

await skool.updatePageContent('<page-id>', markdownString, optionalNewTitle)

The markdown is converted to Tiptap v2 format. Supports: paragraphs (blank-line-separated), **bold**, `inline code`. Does NOT render markdown headers (## will show literally) — use **Header** paragraphs instead.

Create a folder (at course root)

await skool.createFolder('📂 New folder')
// returns the new unit object with .id

Create a page (inside a folder)

await skool.createPage('<parent-folder-id>', '📝 Page title', markdown)

Delete

await skool.remove('<unit-id>')

Read the full file on GitHub · 113 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 113 lines · 114 tokens per session scan A 1b504e7f3b31

Subscribe to this mod's changes

skool-cli is a skill published in the GitHub repository Samin12/claude-course (20 stars, last pushed 4mo ago), licensed MIT. It adds 114 tokens to every session and 1,439 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

playwright

Use when the task requires capturing or automating a real browser from the terminal.

openai/openai-agents-python · 19 tokens

livecodes

Open-source, client-side code playground supporting 90+ languages/frameworks. Runs entirely in the browser with SDK for embedding. Entry point for all LiveCodes skills.

live-codes/livecodes · 36 tokens

svg-press

Teaches agents how to hand-craft self-contained SVG diagrams that render correctly in browsers, tags, and Playwright PDF/PNG. Covers containment math, viewBox sizing, arrow construction, text hierarchy, KDCube brand color tokens, semantic zone fills, badges, the PNG inspection loop, writepng parameters, multi-diagram…

kdcube/kdcube · 87 tokens

onboarding

First-30-seconds design, invisible tutorials, difficulty curves, failure/retry loops and assist modes for link-shared browser games — distilled from George Fan's PvZ tutorial rules, Jenova Chen's flow thesis, Koster's Theory of Fun, Juul's Art of Failure, and Celeste's Assist Mode. Use when: 'players don't get it'…

kyh/vibedgames · 123 tokens

web-scraper-subagent

Construction d'un sous-agent spécialisé dans la collecte de données web pour un agent parent. Crawling, extraction, parsing et retour structuré. Se déclenche avec "sous-agent web", "scraper agent", "agent qui collecte", "web extraction agent", "crawl agent", "agent browsing", "browser subagent". Also triggers on "web…

khalilbenaz/claude-skills-collection · 92 tokens

browser-agent-builder

Construction d'agents de navigation web autonomes incluant scraping intelligent, interaction DOM et gestion de sessions. Se déclenche avec "browser agent", "agent navigateur", "agent web autonome", "Puppeteer agent", "Playwright agent. Also triggers on "web browsing agent", "autonomous scraping agent".

khalilbenaz/claude-skills-collection · 67 tokens