Logo van Octo Docs

Octo Docs

Organisatie
Mininglamp-OSS
octo-docs

Docs domain — create and govern documents, read and incrementally edit a doc's live body, read and edit spreadsheets including structural row/column edits, find & replace, cells, layout, shared filters, sorting, freeze panes, and validation/dropdowns, read and batch-edit whiteboard scenes, create and edit PPT presentations, members and sharing, inline comments, versions/snapshots, and attachment metadata as a bot. Bots cannot delete documents. Load after octo-shared.

Overzicht

UitgeverMininglamp-OSS
Repositoryocto-cli
Skillnaamocto-docs
Sterren
918
Forks
130
Meegeleverde bestanden
5
LicentieApache-2.0
Links
  • Instructies in Markdown

    Een SKILL.md-bestand dat het model laadt wanneer nodig, zodat het alleen tokens kost als een verzoek er daadwerkelijk bij past.

  • Werkt met elk LLM

    AI-skills zijn gewone Markdown, geen aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • 5 meegeleverde bestanden

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. Bestanden zijn alleen-lezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door Mininglamp-OSS op GitHub. Lees de broninhoud voordat je de skill installeert.

Installatie

Installeer de AI-skill Octo Docs in TypingMind om deze met elke LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map — het leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/Mininglamp-OSS/octo-cli/tree/main/skills/octo-docs
  4. Schakel de skill in elke chat in waarin je deze beschikbaar wilt hebben.
Plug-ins → Skills → Nieuwe skill → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Mininglamp-OSS/octo-cli.git /tmp/octo-cli
mkdir -p .claude/skills
cp -r /tmp/octo-cli/skills/octo-docs .claude/skills/octo-docs
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Octo Docs in een willekeurige chat in TypingMind in en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek erbij past, laadt het model zelf de volledige instructies — je hoeft de skill nooit handmatig aan te roepen en deze kost pas tokens wanneer je de skill daadwerkelijk gebruikt.

Het model laadt Octo Docs automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Octo Docs niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

octo-docs — bot access to Octo documents, spreadsheets, whiteboards & presentations

This skill is progressive: this file covers the shared essentials (auth, document lifecycle) and routes you to a focused reference file for each surface. Load the one reference that matches your task — don't read them all. The reference files sit next to this file in the skill directory.

All commands call $OCTO_API_BASE_URL/v1/bot/docs/*.

For a named spreadsheet tab, use docs sheet list <docId> to discover IDs and names, then docs sheet get <docId> --sheet-id <sheetId> --limit 1000. See sheet.md for exact-name selection, scoped pagination and deployment checks.

When to read which reference

Your taskRead
Read/edit a spreadsheet (doc_type: sheet): conditional formatting, safe split/deduplication, structural row/column edits, find & replace, cells, formulas, styles, layout, floating images, freeze panes, shared filters, sorting, data validation/dropdowns, paged reads, xlsx exportsheet.md
Read/edit a rich-text document body (doc_type: doc): incremental block opsdoc.md
Read/edit a whiteboard (doc_type: board): scene elements/files, image exportboard.md
Create/edit a PPT (doc_type: html_ppt): slides, comments, versions and HTML exportppt.md
Continue from a searchable HTML document (doc_type: html): resolve its document reference, then use immutable versions/drafts/assets/comments../octo-html/SKILL.md
Members & sharing, attachments (presign/upload and external-image ingest); document/sheet/board comments and versionscommon.md

The first four split by doc_type (what kind of document you're handling); common.md covers shared document management; PPT comments, versions and media usage are described in ppt.md. Read a reference with your file tool (it sits beside this SKILL.md, e.g. sheet.md), or reprint the whole skill set anytime with octo-cli skills octo-docs.

Pick by doc_type: a doc body → doc.md; a sheet → sheet.md; a board → board.md; a PPT → ppt.md; an html result → the separate octo-html skill. Using the wrong surface returns 409 unsupported_doc_type. For an HTML search result, run docs get <docId> and use its octoDocSlug value as the document reference with html get <octoDocSlug> (or another html command). Do not retry HTML through docs content, docs sheet, or docs scene. docs get <docId> reports the doc_type, your role, and octoDocSlug for HTML. That value is the canonical doc_id for new documents and the retained legacy slug for old documents; callers do not infer the distinction from mount state.

Auth & space

  • Authenticate with a bot token via a stored profile (--profile / --bot-id) or OCTO_BOT_TOKEN; both app_* and bf_* tokens work. Confirm with octo-cli config show.
  • Do not pass a space flag for docs. The bot mount resolves the space server-side from the token and deliberately ignores any client-supplied space header (anti-spoof). Role enforcement (reader / writer / admin) also happens server-side, so the CLI surfaces the backend's 403/404 envelopes unchanged.

Document lifecycle

Bots cannot delete documents, even as owner/admin or for cleanup of their own test documents. Do not run octo-cli docs delete <docId>. Ask a human with document admin permission to delete the document in Octo.

The docs-backend bot-deletion policy returns HTTP 403 / bot_delete_forbidden for both DELETE /v1/bot/docs/:docId and DELETE /v1/bot/docs/octo-doc/:octoDocSlug, including already-deleted retries. The CLI emits error.type: permission and keeps that error code. Stop on this denial: do not retry or treat it as successful cleanup. Identity comes from server-side authentication; changing uid, owner, Space, or the bot's role does not authorize deletion. Do not switch to html rm, a raw API call, another credential, or an older deployment to work around the policy.

Bot creation and editing remain available under their existing permissions. Deleting a comment/version, sheet rows/columns, or individual scene elements is not whole-document deletion and retains its own permission checks.

bash
# Create an empty doc (caller becomes owner/admin). A new doc has NO body —
# seed a `doc` with `docs content edit` (doc.md), a `sheet` with
# `docs sheet edit` (sheet.md), and a `board` with `docs scene edit` (board.md).
octo-cli docs create [--title "Runbook"] [--folderId f_123] [--docType doc|sheet|board]

# Create a presentation from a template (ppt.md).
octo-cli docs create --docType html_ppt --title "Quarterly Review" --templateId signal --idempotency-key <unique-key>
# Native gallery choices: signal, terra, orbital, picnic (requires the matching backend).
# Read ppt.md for style selection and the create -> read -> edit -> verify workflow.

# List docs you own or are a member of. Page-based (see the pagination note below).
octo-cli docs list [--folderId f_123] [--page 1] [--pageSize 20] [--sort updatedAt:desc]

# Full-text search every doc the bot may read. Repeat --doc-type to combine kinds.
# Search is cursor-based; --page-all follows nextCursor automatically.
octo-cli docs search --keyword "quarterly plan" [--doc-type doc|sheet|board|html] [--page-size 20] [--page-all]

octo-cli docs get    <docId>                 # metadata + doc_type + your role

# Import a local file into an existing target. .md/.markdown/.docx require a doc;
# .xlsx requires a sheet and imports its first visible worksheet.
octo-cli docs import <docId> --file ./input.md

# Export to a local file. -o is required and its extension must match.
# --export-format is distinct from global --format (the envelope renderer).
octo-cli docs export <docId> --export-format pdf -o ./output.pdf
# Other accepted matching pairs: md/.md, docx/.docx, xlsx/.xlsx, png/.png, svg/.svg

octo-cli docs rename <docId> --title "New title"

Pagination note

Pagination depends on the endpoint's response contract:

  • docs list is page-based — response is {total, items}. Walk it with --page / --pageSize; --page-all is not offered.
  • docs search is cursor-based — response is {total, items, nextCursor}. Pass nextCursor back via --cursor, or use --page-all to follow it automatically; --page-limit caps automatic requests (default 10).
  • docs comments list and docs versions list are cursor-based — response is {items, nextCursor}. Pass the returned nextCursor back via --cursor to get the next page; stop when nextCursor is null.

Not in this version

docs attachments upload (binary helper), invites, access-requests, and link-card are out of scope here. Body editing is limited to doc_type: doc incremental block ops (doc.md), the spreadsheet batches documented in sheet.md, doc_type: board scene batches (board.md), and revision-checked PPT edits (ppt.md). doc_type: html belongs to the separate html domain, uses its returned document reference, and is published as immutable versions; it cannot be read or edited through these content surfaces. The document outline is not editable through the CLI.

Schema lookup

Any operation's parameters + response schema come from the embedded registry:

bash
octo-cli schema docs.create
octo-cli schema docs.search
octo-cli schema docs.content.edit     # + docs.sheet.edit / docs.sheet.replace / docs.sheet.rows.insert / docs.sheet.columns.delete / …

Meegeleverde bestanden

Het model leest deze bestanden wanneer nodig terwijl de skill geladen is. Ze worden beschikbaar gesteld als leesbare bestanden en worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-skill Octo Docs?

Docs domain — create and govern documents, read and incrementally edit a doc's live body, read and edit spreadsheets including structural row/column edits, find & replace, cells, layout, shared filters, sorting, freeze panes, and validation/dropdowns, read and batch-edit whiteboard scenes, create and edit PPT presentations, members and sharing, inline comments, versions/snapshots, and attachment metadata as a bot. Bots cannot delete documents. Load after octo-shared.

Waarom Octo Docs gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Octo Docs bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model, en je kunt midden in een chat van model wisselen zonder dat de skill niet meer werkt. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Octo Docs in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/Mininglamp-OSS/octo-cli/tree/main/skills/octo-docs. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Octo Docs gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Octo Docs gebruiken?

Zoveel als je wilt. Zolang een model skills ondersteunt, kun je Octo Docs ermee gebruiken: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama en meer. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Octo Docs gratis?

Ja. Deze skill is door Mininglamp-OSS op GitHub gepubliceerd onder de licentie Apache-2.0. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. Deze volgt het open Agent Skills-formaat: een bestand met de naam SKILL.md met een naam en beschrijving, plus eventuele scripts, sjablonen of referentiebestanden die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Toon alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇