Skip to content
Skill

scrapbox-skill

by sizumita

AI Summary

A TypeScript/CLI tool for reading and writing Scrapbox/Cosense pages using Playwright, with authentication support for private projects. Useful for developers who need programmatic access to Scrapbox content in their workflows.

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to install the "scrapbox-skill" skill in my project.

Please run this command in my terminal:
# Install skill into the correct directory
mkdir -p .claude/skills/scrapbox-skill && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/scrapbox-skill/SKILL.md "https://raw.githubusercontent.com/sizumita/scrapbox-skill/main/SKILL.md"

Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.

Description

PlaywrightでScrapbox/Cosenseのページを読み書き(非公開はconnect.sid)。ページ本文の取得・一覧取得・末尾追記をCLIで行う時に使う。

Overview

Playwright(headless)でScrapbox/Cosenseを読み書きするローカルCLI+TSライブラリ。非公開は connect.sid で認証する。

セットアップ(初回のみ)

`bash cd {baseDir} (pnpm install || npm install) npx playwright install chromium npm run build `

使い方(CLI)

環境変数(推奨) • SCRAPBOX_PROJECT(または COSENSE_PROJECT) • SCRAPBOX_SID(または COSENSE_SID): connect.sid • SCRAPBOX_HOST(または COSENSE_HOST): 省略時 https://scrapbox.io

connect.sid をWebログインで保存

`bash node {baseDir}/dist/cli.js login --project "プロジェクト名" --headless false ` 保存先: ~/.openclaw/credentials/scrapbox-skill.json (以降は --sid を省略可能)

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 2mo ago
Active
AdoptionUnder 100 stars
1 ★ · Niche
DocsREADME + description
Well-documented

GitHub Signals

Stars1
Issues0
Updated2mo ago
View on GitHub
MIT License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Claude Code