cosense

Installation
SKILL.md

cosense — SKILL.md

Reference for AI agents (especially Claude Code) to operate cosense-cli.

Purpose

CLI tool for searching, fetching, creating, and appending pages in Cosense (formerly Scrapbox) projects. Outputs JSON by default, designed for pipeline and agent integration.

Authentication

  • Cosense authenticates via connect.sid (SID)
  • SID is stored per profile in ~/.config/cosense-cli/config.json
  • Projects are registered and linked to a profile (account)
  • Run bunx cosense profile set and bunx cosense project add before use
  • Public projects can be accessed without SID
# 1. Create a profile (human only, one-time setup)
bunx cosense profile set personal --sid <connect.sid>
Installs
1
GitHub Stars
2
First Seen
Apr 6, 2026
cosense — mrsekut/cosense-cli