productivity
Instapaper CLI for AI Agents
Use the Instapaper CLI from KosmoKrator to call Instapaper tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.Instapaper CLI Setup
Instapaper can be configured headlessly with `kosmokrator integrations:configure instapaper`.
# Install KosmoKrator first if it is not available on PATH.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash
# Configure and verify this integration.
kosmokrator integrations:configure instapaper --set consumer_key="$INSTAPAPER_CONSUMER_KEY" --set consumer_secret="$INSTAPAPER_CONSUMER_SECRET" --enable --read allow --write ask --json
kosmokrator integrations:doctor instapaper --json
kosmokrator integrations:status --json Credentials
Authentication type: oauth1 oauth1. Configure credentials once, then reuse the same stored profile from scripts, coding CLIs, Lua, and MCP.
| Key | Env var | Type | Required | Label |
|---|---|---|---|---|
consumer_key | INSTAPAPER_CONSUMER_KEY | Secret secret | yes | Consumer Key |
consumer_secret | INSTAPAPER_CONSUMER_SECRET | Secret secret | yes | Consumer Secret |
oauth_token | INSTAPAPER_OAUTH_TOKEN | Secret secret | no | OAuth Token |
oauth_token_secret | INSTAPAPER_OAUTH_TOKEN_SECRET | Secret secret | no | OAuth Token Secret |
simple_username | INSTAPAPER_SIMPLE_USERNAME | Text text | no | Simple API Username |
simple_password | INSTAPAPER_SIMPLE_PASSWORD | Secret secret | no | Simple API Password |
url | INSTAPAPER_URL | Text text | no | API URL |
Command Patterns
The generic command is stable across every integration. The provider shortcut is shorter for humans.
kosmo integrations:call instapaper.instapaper_get_access_token '{}' --json kosmo integrations:instapaper instapaper_get_access_token '{}' --json Discovery
These commands return structured output for coding agents that need to inspect capabilities before choosing a function.
kosmo integrations:docs instapaper --json
kosmo integrations:docs instapaper.instapaper_get_access_token --json
kosmo integrations:schema instapaper.instapaper_get_access_token --json
kosmo integrations:search "Instapaper" --json
kosmo integrations:list --json Automation Contexts
The same configured command surface works in these environments. The command does not change unless the host wrapper, credentials, or permissions change.
CLI Functions
Every function below can be called headlessly. Commands are highlighted, copyable, and scroll horizontally when payloads are long.
instapaper.instapaper_get_access_token
Exchange xAuth username and password for an Instapaper OAuth access token.
write - Parameters
- none
kosmo integrations:call instapaper.instapaper_get_access_token '{}' --json kosmo integrations:instapaper instapaper_get_access_token '{}' --json instapaper.instapaper_verify_credentials
Verify the Instapaper OAuth credentials.
read - Parameters
- none
kosmo integrations:call instapaper.instapaper_verify_credentials '{}' --json kosmo integrations:instapaper instapaper_verify_credentials '{}' --json instapaper.instapaper_list_bookmarks
List Instapaper bookmarks.
read - Parameters
- none
kosmo integrations:call instapaper.instapaper_list_bookmarks '{}' --json kosmo integrations:instapaper instapaper_list_bookmarks '{}' --json instapaper.instapaper_update_read_progress
Update bookmark reading progress.
write - Parameters
- none
kosmo integrations:call instapaper.instapaper_update_read_progress '{}' --json kosmo integrations:instapaper instapaper_update_read_progress '{}' --json instapaper.instapaper_add_bookmark
Add a URL to Instapaper.
write - Parameters
- none
kosmo integrations:call instapaper.instapaper_add_bookmark '{}' --json kosmo integrations:instapaper instapaper_add_bookmark '{}' --json instapaper.instapaper_delete_bookmark
Delete an Instapaper bookmark.
write - Parameters
- none
kosmo integrations:call instapaper.instapaper_delete_bookmark '{}' --json kosmo integrations:instapaper instapaper_delete_bookmark '{}' --json instapaper.instapaper_star_bookmark
Star an Instapaper bookmark.
write - Parameters
- none
kosmo integrations:call instapaper.instapaper_star_bookmark '{}' --json kosmo integrations:instapaper instapaper_star_bookmark '{}' --json instapaper.instapaper_unstar_bookmark
Remove a star from an Instapaper bookmark.
write - Parameters
- none
kosmo integrations:call instapaper.instapaper_unstar_bookmark '{}' --json kosmo integrations:instapaper instapaper_unstar_bookmark '{}' --json instapaper.instapaper_archive_bookmark
Archive an Instapaper bookmark.
write - Parameters
- none
kosmo integrations:call instapaper.instapaper_archive_bookmark '{}' --json kosmo integrations:instapaper instapaper_archive_bookmark '{}' --json instapaper.instapaper_unarchive_bookmark
Move an archived bookmark back to unread.
write - Parameters
- none
kosmo integrations:call instapaper.instapaper_unarchive_bookmark '{}' --json kosmo integrations:instapaper instapaper_unarchive_bookmark '{}' --json instapaper.instapaper_move_bookmark
Move a bookmark to a folder.
write - Parameters
- none
kosmo integrations:call instapaper.instapaper_move_bookmark '{}' --json kosmo integrations:instapaper instapaper_move_bookmark '{}' --json instapaper.instapaper_get_bookmark_text
Get readable HTML text for a bookmark.
read - Parameters
- none
kosmo integrations:call instapaper.instapaper_get_bookmark_text '{}' --json kosmo integrations:instapaper instapaper_get_bookmark_text '{}' --json instapaper.instapaper_list_folders
List Instapaper folders.
read - Parameters
- none
kosmo integrations:call instapaper.instapaper_list_folders '{}' --json kosmo integrations:instapaper instapaper_list_folders '{}' --json instapaper.instapaper_add_folder
Create an Instapaper folder.
write - Parameters
- none
kosmo integrations:call instapaper.instapaper_add_folder '{}' --json kosmo integrations:instapaper instapaper_add_folder '{}' --json instapaper.instapaper_delete_folder
Delete an Instapaper folder.
write - Parameters
- none
kosmo integrations:call instapaper.instapaper_delete_folder '{}' --json kosmo integrations:instapaper instapaper_delete_folder '{}' --json instapaper.instapaper_set_folder_order
Set the order of Instapaper folders.
write - Parameters
- none
kosmo integrations:call instapaper.instapaper_set_folder_order '{}' --json kosmo integrations:instapaper instapaper_set_folder_order '{}' --json instapaper.instapaper_list_highlights
List highlights for a bookmark.
read - Parameters
- none
kosmo integrations:call instapaper.instapaper_list_highlights '{}' --json kosmo integrations:instapaper instapaper_list_highlights '{}' --json instapaper.instapaper_create_highlight
Create a bookmark highlight.
write - Parameters
- none
kosmo integrations:call instapaper.instapaper_create_highlight '{}' --json kosmo integrations:instapaper instapaper_create_highlight '{}' --json instapaper.instapaper_delete_highlight
Delete an Instapaper highlight.
write - Parameters
- none
kosmo integrations:call instapaper.instapaper_delete_highlight '{}' --json kosmo integrations:instapaper instapaper_delete_highlight '{}' --json instapaper.instapaper_simple_authenticate
Validate Simple API credentials with HTTP Basic auth.
read - Parameters
- none
kosmo integrations:call instapaper.instapaper_simple_authenticate '{}' --json kosmo integrations:instapaper instapaper_simple_authenticate '{}' --json instapaper.instapaper_simple_add_url
Save a URL through the Instapaper Simple API.
write - Parameters
- none
kosmo integrations:call instapaper.instapaper_simple_add_url '{}' --json kosmo integrations:instapaper instapaper_simple_add_url '{}' --json instapaper.instapaper_api_post
Call a safe relative Instapaper Full API path with OAuth signing.
write - Parameters
- none
kosmo integrations:call instapaper.instapaper_api_post '{}' --json kosmo integrations:instapaper instapaper_api_post '{}' --json Function Schemas
Use these parameter tables when building CLI payloads without calling integrations:schema first.
instapaper.instapaper_get_access_token 0 parameters
kosmo integrations:schema instapaper.instapaper_get_access_token --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
instapaper.instapaper_verify_credentials 0 parameters
kosmo integrations:schema instapaper.instapaper_verify_credentials --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
instapaper.instapaper_list_bookmarks 0 parameters
kosmo integrations:schema instapaper.instapaper_list_bookmarks --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
instapaper.instapaper_update_read_progress 0 parameters
kosmo integrations:schema instapaper.instapaper_update_read_progress --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
instapaper.instapaper_add_bookmark 0 parameters
kosmo integrations:schema instapaper.instapaper_add_bookmark --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
instapaper.instapaper_delete_bookmark 0 parameters
kosmo integrations:schema instapaper.instapaper_delete_bookmark --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
instapaper.instapaper_star_bookmark 0 parameters
kosmo integrations:schema instapaper.instapaper_star_bookmark --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
instapaper.instapaper_unstar_bookmark 0 parameters
kosmo integrations:schema instapaper.instapaper_unstar_bookmark --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
instapaper.instapaper_archive_bookmark 0 parameters
kosmo integrations:schema instapaper.instapaper_archive_bookmark --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
instapaper.instapaper_unarchive_bookmark 0 parameters
kosmo integrations:schema instapaper.instapaper_unarchive_bookmark --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
instapaper.instapaper_move_bookmark 0 parameters
kosmo integrations:schema instapaper.instapaper_move_bookmark --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
instapaper.instapaper_get_bookmark_text 0 parameters
kosmo integrations:schema instapaper.instapaper_get_bookmark_text --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
instapaper.instapaper_list_folders 0 parameters
kosmo integrations:schema instapaper.instapaper_list_folders --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
instapaper.instapaper_add_folder 0 parameters
kosmo integrations:schema instapaper.instapaper_add_folder --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
instapaper.instapaper_delete_folder 0 parameters
kosmo integrations:schema instapaper.instapaper_delete_folder --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
instapaper.instapaper_set_folder_order 0 parameters
kosmo integrations:schema instapaper.instapaper_set_folder_order --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
instapaper.instapaper_list_highlights 0 parameters
kosmo integrations:schema instapaper.instapaper_list_highlights --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
instapaper.instapaper_create_highlight 0 parameters
kosmo integrations:schema instapaper.instapaper_create_highlight --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
instapaper.instapaper_delete_highlight 0 parameters
kosmo integrations:schema instapaper.instapaper_delete_highlight --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
instapaper.instapaper_simple_authenticate 0 parameters
kosmo integrations:schema instapaper.instapaper_simple_authenticate --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
instapaper.instapaper_simple_add_url 0 parameters
kosmo integrations:schema instapaper.instapaper_simple_add_url --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
instapaper.instapaper_api_post 0 parameters
kosmo integrations:schema instapaper.instapaper_api_post --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
Permissions
Headless calls still follow the integration read/write permission policy. Configure read/write defaults with
integrations:configure. Add --force only for trusted automation that should bypass that policy.