monologue-notes-api — скилл для Claude Code: читать заметки через API
Скилл monologue-notes-api для чтения и поиска заметок Monologue через REST API. Работает с аутентификацией по MONOLOGUE_API_KEY, поддерживает пагинацию, фильтры по времени и полнотекстовый поиск.
CC0-1.0 221 установок ★ 304 обновлён 2026-04-25
npx skills add intellectronica/agent-skills --skill monologue-notes-api -a claude-codeЧто делает monologue-notes-api
Скилл даёт всё необходимое для работы с read-only API Monologue Notes. Под капотом — прямые HTTP-запросы через curl или любой другой REST-клиент. Два основных эндпоинта: GET /v1/public-api/notes для списка заметок с поддержкой лимитов, курсоров, поиска по q и фильтров по датам создания и обновления; GET /v1/public-api/notes/{note_id} для полного содержимого одной заметки с транскриптом и его сегментами.
Аутентификация работает через переменную окружения MONOLOGUE_API_KEY в заголовке Authorization: Bearer. Скилл учит безопасно проверять наличие токена без логирования и обрабатывать ошибки вроде 401 (токен не валиден), 403 (не хватает скоупа notes:read) и 404 (заметка не найдена). API возвращает JSON с ISO 8601 датами; можно пайпить ответы в jq для нужной структуры.
Поиск охватывает названия, сводки и полные транскрипты заметок. Для больших наборов работает пагинация через cursor из предыдущего ответа — передаёшь его обратно в параметре и идёшь к следующей странице, пока next_cursor есть. Без MONOLOGUE_API_KEY скилл не допустит выполнение запроса и попросит у пользователя токен.
Какие задачи решает
- найти заметку по ключевому слову в названии, сводке или транскрипте
- вытащить полный текст и структурированные сегменты из одной заметки
- листать большие списки заметок по 20–100 за раз
- отфильтровать заметки по датам создания или изменения
- безопасно работать с API-ключом, не выводя его в логи
Примеры запросов агенту
- Найди все заметки со словом «встреча» в содержимом
- Получи полный текст заметки с ID
NOTE_ID - Покажи 50 последних заметок, созданных после 1 января 2026
Как установить monologue-notes-api
1Через Skills CLI (Vercel)
npx skills add intellectronica/agent-skills --skill monologue-notes-api -a claude-code2Вручную: положить файлы
~/.claude/skills/monologue-notes-api/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/monologue-notes-api/
1Через Skills CLI (Vercel)
npx skills add intellectronica/agent-skills --skill monologue-notes-api -a codex2Вручную: положить файлы
.agents/skills/monologue-notes-api/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add intellectronica/agent-skills --skill monologue-notes-api -a cursor2Вручную: положить файлы
.cursor/skills/monologue-notes-api/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install intellectronica/agent-skills skills/monologue-notes-api2Вручную: положить файлы
.github/skills/monologue-notes-api/SKILL.md1Через Skills CLI (Vercel)
npx skills add intellectronica/agent-skills --skill monologue-notes-api -a gemini-cli2Командой платформы
gemini skills install https://github.com/intellectronica/agent-skills --path skills/monologue-notes-apiВручную: положить файлы
.devin/skills/monologue-notes-api/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add intellectronica/agent-skills --skill monologue-notes-api -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о monologue-notes-api
Как установить monologue-notes-api в Claude Code?
Выполни npx skills add intellectronica/agent-skills --skill monologue-notes-api -a claude-code, затем открой ~/.claude/skills/monologue-notes-api/SKILL.md.
Что делает monologue-notes-api?
Скилл обучает агента вызывать REST API Monologue для чтения и поиска заметок. Работает с аутентификацией, пагинацией, временными фильтрами и полнотекстовым поиском.
Что нужно, чтобы скилл работал?
Переменная окружения MONOLOGUE_API_KEY с действующим токеном API и скоупом notes:read. Без неё агент откажется делать запросы и попросит ключ у пользователя.
Исходный текст
SKILL.md · CC0-1.0
---
name: monologue-notes-api
description: >
Use this skill when the user wants to read or search their Monologue notes through the
Monologue Notes REST API. It covers authentication with the MONOLOGUE_API_KEY environment
variable, safe token handling, listing notes, fetching a single note, pagination, filters,
and error handling. The API is read-only and should be accessed with direct HTTP requests
such as curl or any equivalent REST client.
---
# Monologue Notes API
This skill provides the information needed to call the Monologue Notes REST API directly.
Use it for read-only operations on the authenticated user's notes.
Use whatever HTTP client fits the task: `curl`, a short script, or another REST-capable tool.
Do not invent client libraries unless the user asks for one.
## Authentication
Use the environment variable `MONOLOGUE_API_KEY` as the bearer token.
- Required auth header: `Authorization: Bearer $MONOLOGUE_API_KEY`
- Required scope: `notes:read`
- Never print the token, echo it, log it, or include it in a response to the user
- Only pass it through the `Authorization` header as a shell variable expansion
Check whether the token is available without displaying it:
```bash
if [ -z "${MONOLOGUE_API_KEY:-}" ]; then
echo "MONOLOGUE_API_KEY is not set"
fi
```
If `MONOLOGUE_API_KEY` is missing:
- Report that the environment variable is not present
- Ask the user whether they want to provide an API key
- Do not attempt authenticated API calls until a token is available
Avoid commands such as these because they would expose secrets:
```bash
echo "$MONOLOGUE_API_KEY"
env | grep MONOLOGUE_API_KEY
set | grep MONOLOGUE_API_KEY
```
## Base URL
- Base URL: `https://api.monologue.to`
- API shape: read-only Notes API
- Data format: JSON
- Timestamps: ISO 8601 date-time strings
## Request Pattern
For all requests:
```bash
curl -sS \
-H "Authorization: Bearer $MONOLOGUE_API_KEY" \
"https://api.monologue.to/..."
```
If structured output is useful, pipe the response to `jq`.
## Endpoints
### List notes
`GET /v1/public-api/notes`
Returns a page of notes for the authenticated user.
Supported query parameters:
- `limit`: integer from `1` to `100`, default `20`
- `cursor`: opaque pagination cursor from a previous response
- `created_after`: ISO 8601 timestamp
- `created_before`: ISO 8601 timestamp
- `updated_after`: ISO 8601 timestamp
- `q`: full-text search across titles, summaries, and transcripts
Example:
```bash
curl -sS \
-H "Authorization: Bearer $MONOLOGUE_API_KEY" \
"https://api.monologue.to/v1/public-api/notes?limit=20&q=interview"
```
Example with `jq`:
```bash
curl -sS \
-H "Authorization: Bearer $MONOLOGUE_API_KEY" \
"https://api.monologue.to/v1/public-api/notes?limit=20" \
| jq '{next_cursor, items: [.items[] | {note_id, title, summary, created_at, updated_at}]}'
```
Expected response fields:
- `items`: array of note summaries
- `next_cursor`: cursor for the next page, if any
Each list item may include:
- `note_id`
- `title`
- `summary`
- `created_at`
- `updated_at`
Possible errors:
- `400`: invalid filter or cursor
- `401`: missing or invalid token
- `403`: token lacks the required scope
- `422`: validation error
### Get a single note
`GET /v1/public-api/notes/{note_id}`
Returns the full details for one note belonging to the authenticated user.
Path parameters:
- `note_id`: note identifier returned by the list endpoint
Example:
```bash
curl -sS \
-H "Authorization: Bearer $MONOLOGUE_API_KEY" \
"https://api.monologue.to/v1/public-api/notes/NOTE_ID"
```
Example with `jq`:
```bash
curl -sS \
-H "Authorization: Bearer $MONOLOGUE_API_KEY" \
"https://api.monologue.to/v1/public-api/notes/NOTE_ID" \
| jq '{note_id, title, summary, transcript, transcript_segments, created_at, updated_at}'
```
In addition to the list fields, the full note response may include:
- `transcript`
- `transcript_segments`
Notes:
- `transcript_segments` is loosely typed structured JSON and may be `null`
- `404` means the note was not found for the authenticated user
Possible errors:
- `401`: missing or invalid token
- `403`: token lacks the required scope
- `404`: note not found
- `422`: validation error
## Common Workflows
### Search notes by keyword
Use the `q` parameter:
```bash
curl -sS \
-H "Authorization: Bearer $MONOLOGUE_API_KEY" \
"https://api.monologue.to/v1/public-api/notes?q=meeting"
```
Search covers:
- note titles
- note summaries
- note transcripts
### Page through results
1. Call `GET /v1/public-api/notes`
2. Read `next_cursor` from the response
3. Pass that cursor back as the `cursor` query parameter
4. Stop when `next_cursor` is absent or `null`
Example:
```bash
curl -sS \
-H "Authorization: Bearer $MONOLOGUE_API_KEY" \
"https://api.monologue.to/v1/public-api/notes?limit=50&cursor=OPAQUE_CURSOR"
```
### Filter by time
Use ISO 8601 date-time values:
```bash
curl -sS \
-H "Authorization: Bearer $MONOLOGUE_API_KEY" \
"https://api.monologue.to/v1/public-api/notes?created_after=2026-01-01T00:00:00Z"
```
## Operating Rules
- Treat this API as read-only
- Do not claim write support; this skill only covers listing and reading notes
- Prefer `https://api.monologue.to` for requests
- When reporting failures, summarise the HTTP status and relevant response body without exposing the token
- If the user asks for a workflow that requires local post-processing, fetch the data first and then transform it separately
## Source Notes
This skill is based on:
- `/Users/eleanor/repos/obsidian/intellectronica/2026-04-21-20-10 Monologue API.md`
- Live OpenAPI checks against `https://api.monologue.to/public-openapi.json` on 2026-04-22
© intellectronica · CC0-1.0 · intellectronica/agent-skills