Loading...
Loading...
A skill for reading, researching, and editing pages on Cosense (formerly Scrapbox). Used when users make requests like "Look up XX on Cosense", "Read this Cosense page", "Do XX on Scrapbox", "View the page on scrapbox.io", "Add a comment to this page", etc. Retrieves pages using the cosense CLI and answers users' questions while citing the source of information.
npx skill4agent add helpfeel/cosense-cli cosensecosense[Page Title]https://scrapbox.io/<project>https://scrapbox.io/<project>/<title>https://__/'...'browsePageChangesbrowsePageunknown commandunknown option--helpcosense <command> <args...>npm install -g @helpfeel/cosense-cli| command | Purpose |
|---|---|
| login | Save Personal Access Token or Service Account to the configuration file |
| whoami | Retrieve information about the currently authenticated user |
| listProjects | Retrieve a list of projects you are participating in |
| browsePage | Read a single page. Outputs metadata + icon notation + telomere + Infobox + body in a format easy for AI to read. Marks the relevant line if a line permalink ( |
| browseRelatedPages | Outputs a list of 1-hop+2-hop related page titles in a format easy for AI to read. For infobox definition pages, outputs a literary database (TSV table) |
| browsePageChanges | Retrieve the edit history (commits) of a page starting from the pageId, and explain who changed what and how in natural language. Detects title changes (renaming) |
| readPage | Read a single page |
| readPageSnapshot | Read the past body content from Page History by specifying the snapshot ID |
| readFileInfo | Retrieve file metadata and extracted text |
| downloadFile | Download the file itself and save it locally |
| uploadFile | Upload a file to the project and retrieve the embed URL |
| deleteFile | Delete a file from the project |
| readProjectMembers | Retrieve a list of project members |
| listPages | Retrieve a list of project pages |
| listPageSnapshots | Retrieve a list of page snapshots (Page History) starting from the pageId |
| list1hopLinks | Retrieve 1-hop neighbors |
| list2hopLinks | Retrieve 2-hop neighbors |
| searchVector | Search for pages using vector search (only targets titles + link notation in the body) |
| searchFullText | Perform a full-text search of the body content |
| search1hopLinks | Filter 1-hop neighbors with full-text search |
| search2hopLinks | Filter 2-hop neighbors with full-text search |
| previewEdit | Dry-run page edit ops to retrieve a previewId |
| previewDelete | Dry-run page deletion to retrieve a previewId |
| submitEdit | Use the previewId obtained from previewEdit/previewDelete to confirm page edits/deletions |
| replaceLinks | Batch replace link notation to old titles with new titles |
cosense --helpcosense <command> --help