Agent skill

Doca Editor Integration

by smartdoca in smartdoca/doca

Integrate or standardize any document-type editor subpackage (rich text, spreadsheet, Markdown, canvas, slides, and future formats) in Doca and online-office modules, including resource callbacks…

MITAuto-check passedDocuments & Office

Install Doca Editor Integration

skills CLI
$ npx skills add smartdoca/doca --skill doca-editor-integration -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install smartdoca/doca doca-editor-integration --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/smartdoca/doca.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/doca-editor-integration .claude/skills/doca-editor-integration && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
doca-editor-integration
GitHub stars
118
Token cost
~690 tokens
SKILL.md length
298 words
Files
3 (incl. references)
Skills in repo
3
Repo updated
First seen
Licence
MIT

At a glance

Integrate or standardize any document-type editor subpackage (rich text, spreadsheet, Markdown, canvas, slides, and future formats) in Doca and online-office modules, including resource callbacks…

  • Developing a subpackage
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Adapting editor packages
  • Defining their host API

What it does

Doca Editor Integration is an agent skill from smartdoca/doca. Integrate or standardize any document-type editor subpackage (rich text, spreadsheet, Markdown, canvas, slides, and future formats) in Doca and online-office modules, including resource callbacks, readonly behavior, custom inline elements, toolbar commands, find/replace and host-owned permissions. Use when developing a subpackage, adapting editor packages, or defining their host API, not for unrelated application UI.

Its SKILL.md is about 690 tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/file-exchange.md` and `references/integration.md`).

It sits in Documents & Office, covering Excel spreadsheets and Slides and decks. The repository describes itself as: Document and knowledge base for individuals and small teams. The licence is MIT.

When your agent uses it

  • Developing a subpackage
  • Adapting editor packages
  • Defining their host API
  • Not for unrelated application UI

Example prompts

  • “/doca-editor-integration”

What it can do on your machine

Read from SKILL.md and the folder at commit b4356a4. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Doca Editor Integration loads about 690 tokens when it runs, and up to ~5.4k if it reads all its reference files. Until then it costs about 111 tokens; SKILL.md has 298 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~111
When it runs · the whole SKILL.md, loaded when a task matches
~690
With references · SKILL.md plus every file in references/, read only if the agent opens them
~5.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from smartdoca/doca at commit b4356a4, republished under its MIT licence (© smartdoca). 298 words, ~690 tokens.

Download SKILL.mdSave it as .claude/skills/doca-editor-integration/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
doca-editor-integration
description
Integrate or standardize any document-type editor subpackage (rich text, spreadsheet, Markdown, canvas, slides, and future formats) in Doca and online-office modules, including resource callbacks, readonly behavior, custom inline elements, toolbar commands, find/replace and host-owned permissions. Use when developing a subpackage, adapting editor packages, or defining their host API, not for unrelated application UI.

Doca editor integration

Read the integration contract before changing a package boundary. It separates verified slatetsx APIs from target capabilities for other editors. Inspect the installed artifact's README and exported types before using any method; do not assume a proposed API exists.

This boundary contract applies to every document-type subpackage, current and future — the per-format sections are instances of one shared host/package boundary. Subpackage developers and Doca host developers maintain it together: boundary changes require agreement on both sides, and the project docs and every packaged skill copy (project skills/ and user skills directories) are updated in the same change.

Keep the package responsible for its document model, editing commands, selection, undo, atomic nodes and format-specific rendering. Keep identity, user lookup/cards, assets/ACL, discovery policy, notifications, business references and networking in the host. Do not import Doca routes, cookies, user directory or deployment domains into a reusable editor package.

For collaboration work also follow the project's collaboration contract. A unified component surface is not permission to change a codec, rebuild existing documents or add another autosave channel.

Implement the document scenario first and prove its behavior. Other modules reuse lifecycle and capability semantics, not Slate types or DOM implementation details. Explicitly mark unsupported capabilities; a spreadsheet should not pretend to have text ranges or permanent anchors based on transient A1 coordinates.

Before handoff verify actual package roundtrips, readonly guards, media permission checks, stable props, atomic clipboard behavior, model-based replacement/undo, and two-client convergence for affected operations. Tests use isolated data. Record what is shipped, host-adapted, proposed upstream, and unverified. A build is not evidence of collaboration correctness.

For file import/export or conversion-package upgrades, also read file exchange. Accept documented lossy conversion when it meets the requested basic-content fidelity; preserve host-owned assets/ACL and distinguish real file formats from internal JSON/recovery models.

© smartdoca, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (references) in skills/doca-editor-integration of smartdoca/doca.

  • SKILL.md
  • references/file-exchange.md
  • references/integration.md

Open the folder on GitHubat commit b4356a4

Compare with similar skills

Doca Editor Integration next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Doca Editor Integration compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Doca Editor Integration this skillsmartdoca/doca118—~690Automated safety check: PassMIT
Xiaobei Skill Image To Vbaxiao24bei/xiaobei-skill582—~6.9kAutomated safety check: PassApache-2.0
Harness Useautonomous-ai/Physical-AI-Operating-System381—~8kAutomated safety check: PassApache-2.0
Sn Da Non Spreadsheet AnalysisOpenSenseNova/SenseNova-Skills5.7k—~1.2kAutomated safety check: PassMIT
Jev Office GatePluviobyte/rnskill1.6k—~965Automated safety check: PassCustom licence
Office Productivityaiskillstore/marketplace4303 repos~1.2kAutomated safety check: PassNone

Similar skills

  • Xiaobei Skill Image To Vba

    xiao24bei/xiaobei-skill

    A skill your agent uses when users want XiaoBei skill / xiaobei-skill / 小北在读研 style academic image-to-VBA reconstruction: convert academic figures, scientific diagrams, slides, screenshots, or other…

    582 GitHub stars~6.9k tokensUpdated 1 mo ago
    Documents & OfficeAuto-check passed
  • Harness Use

    autonomous-ai/Physical-AI-Operating-System

    Delegate digital work to agents on the computer paired through Harness; discover Store packages and prepare an agent when needed.

    381 GitHub stars~8k tokensUpdated today
    Documents & OfficeAuto-check passed
  • Sn Da Non Spreadsheet Analysis

    OpenSenseNova/SenseNova-Skills

    Word / PDF / PPT 文档解析与数据分析引擎。覆盖三类文件格式的全量提取、表格数值化、图表理解与跨文档汇总分析。遇到以下任一情况就主动使用本 skill:①用户上传或指定了 .docx / .doc / .pdf / .pptx / .ppt 文件并要求分析、提取或统计其中内容;②用户出现触发词:Word分析 / PDF解析 / PPT提取 / 文档分析 / 报告解析 /…

    5.7k GitHub stars~1.2k tokensUpdated 20 days ago
    Documents & OfficeAuto-check passed
  • Jev Office Gate

    Pluviobyte/rnskill

    Add a Jev-powered decision and release gate after an office assistant generates a report, proposal, spreadsheet, document, or slide deck.

    1.6k GitHub stars~965 tokensUpdated 17 days ago
    Documents & OfficeAuto-check passed
  • Office Productivity

    aiskillstore/marketplace

    Office productivity workflow covering document creation, spreadsheet automation, presentation generation, and integration with LibreOffice and Microsoft Office formats.

    430 GitHub starsUsed in 3 repos~1.2k tokens
    Documents & OfficeAuto-check passed
  • Tencent Docs

    LeoYeAI/openclaw-master-skills

    Tencent Docs - Provides complete Tencent Docs operations. An agent skill from LeoYeAI/openclaw-master-skills.

    2.2k GitHub stars~3k tokensUpdated 2 mo ago
    Documents & OfficeAuto-check passed

More from smartdoca/doca

  • Doca I18n

    smartdoca/doca

    Add interface languages to a Doca editor subpackage (rich text, spreadsheet, Markdown, canvas, slides, and future formats) or the Doca host.

    118 GitHub stars~304 tokensUpdated 4 days ago
    Auto-check passed
  • Doca Collaboration

    smartdoca/doca

    Implement, review, or upgrade realtime collaboration between Doca and any document-type editor subpackage (rich text, spreadsheet, Markdown, canvas, slides, and future formats) using the shared Yjs…

    118 GitHub stars~1.4k tokensUpdated 4 days ago
    Auto-check passed

Questions about Doca Editor Integration

What does Doca Editor Integration do?

Integrate or standardize any document-type editor subpackage (rich text, spreadsheet, Markdown, canvas, slides, and future formats) in Doca and online-office modules, including resource callbacks…. Doca Editor Integration is an agent skill from smartdoca/doca. Integrate or standardize any document-type editor subpackage (rich text, spreadsheet, Markdown, canvas, slides, and future formats) in Doca and online-office modules, including resource callbacks, readonly behavior, custom inline elements, toolbar commands, find/replace and host-owned permissions.

When should I use Doca Editor Integration?

Doca Editor Integration fits situations like: developing a subpackage; adapting editor packages; defining their host API; not for unrelated application UI.

How do I install Doca Editor Integration in Claude Code?

Run `npx skills add smartdoca/doca --skill doca-editor-integration -a claude-code`. Or copy the skill folder (skills/doca-editor-integration in smartdoca/doca) into .claude/skills/doca-editor-integration in your project. Claude Code loads it when a task matches its description.

How do I install Doca Editor Integration in Codex?

Run `npx skills add smartdoca/doca --skill doca-editor-integration -a codex`. Or copy the skill folder (skills/doca-editor-integration in smartdoca/doca) into .agents/skills/doca-editor-integration in your project. Codex loads it when a task matches its description.

Can I use Doca Editor Integration in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add smartdoca/doca --skill doca-editor-integration -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/doca-editor-integration, .gemini/skills/doca-editor-integration, .github/skills/doca-editor-integration and .opencode/skills/doca-editor-integration in your project.

What does Doca Editor Integration need to run?

SKILL.md names no scripts, command-line tools or credentials: Doca Editor Integration is instructions for the agent only.

Does Doca Editor Integration access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Doca Editor Integration safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Doca Editor Integration use?

Doca Editor Integration is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Doca Editor Integration use?

About 690 tokens (SKILL.md is roughly 2.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 4.7k tokens, read only when the agent opens those files.

What are the alternatives to Doca Editor Integration?

Skills that share tags, products or a category with Doca Editor Integration: Xiaobei Skill Image To Vba (xiao24bei/xiaobei-skill, 582 stars), Harness Use (autonomous-ai/Physical-AI-Operating-System, 381 stars), Sn Da Non Spreadsheet Analysis (OpenSenseNova/SenseNova-Skills, 5.7k stars) and Jev Office Gate (Pluviobyte/rnskill, 1.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Doca Editor Integration?

smartdoca (a GitHub user) maintains it in smartdoca/doca, which has 118 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 4, 2026.

Source: smartdoca/doca on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.