Otherdokki
dokki
Entry point for working with Dokki. Interprets the user's intent, routes to the right specialized skill, and orchestrates multi-skill workflows (e.g., write + publish, search + edit, data + visualize).
500 est. installs0 stars
Estimated installs are a discovery signal based on public repository popularity and source completeness, not recorded Dokki installation events.
Repository
Dokki-lab/dokki-plugin
Pinned commit
5d48ad9dcffa
License
MIT
Execution
Instructions only
Complete source instructions
SKILL.md
Dokki — Intent Router & Workflow Orchestrator
This is the entry skill for Dokki. When a user describes what they want to do in natural language, this skill maps it to one or more specialized skills and runs the full workflow.
The facade surface
Dokki's MCP exposes 8 facade tools + preview_resource. Every call is <facade> with
{ action: "<action>", <top-level ids>, args: { <payload> } }. Top-level ids are
workspace_id, resource_id, parent_id, insert_after_id, site_id; everything else
goes in args.
Facade self-teaching conventions
The facades teach themselves — you rarely need to enumerate every arg:
- Call a facade with no
action→ it lists its available actions. A partial action (e.g.edit {action:"table.columns"}) returns that subtree. An unknown/typo action returnsinvalid_actionwith nearest matches. - Missing or invalid args → a
missing_argshint with the exact keys and an example. Don't over-specify; name the action and let the facade guide you. - Dangerous actions (
edit {action:"resource.delete"}, anedit {action:"table.edit"}with acolumns.deleteop,share {action:"public"},publish {action:"add"}) returnrequires_confirmation+ aconfirm_token. Re-call the SAME action + args WITH theconfirm_tokento execute.
Specialized Skills Map
Intent → Skill Routing
Match the user's request to these patterns:
Single-skill intents
External integrations — the connect facade
The canonical home for this is dokki-workspace CONNECT mode — route there for the full
flow. This table is the router's quick reference for orchestrating it inside multi-skill
workflows (e.g. #8 below).
Dokki's MCP is also a gateway to 1000+ external integrations (via Composio: GitHub, Slack, Gmail, Notion, Google Sheets/Drive/Calendar, Linear, and more). Connections are user-scoped — the user authorizes their own accounts through Dokki, once, and every skill can then read/write those systems.
When a user asks to pull data from or push data to an outside system, check connect list
first; if the toolkit isn't connected, walk them through authorize before calling tools.
Multi-skill workflows
These are the high-value flows — chain skills in this order:
1. Write & Publish
"Write a blog post / doc and publish it"
dokki-document→create {action:"doc", workspace_id, args:{name, content}}dokki-publish→publish {action:"site", workspace_id}; create the site if missing (publish {action:"site.create", workspace_id, args:{slug}})publish {action:"add", site_id, resource_id}with the new document (confirm — exposes it publicly)
- Return the public URL
2. Research & Summarize
"Find info on X and write a summary doc"
dokki-workspace→find {action:"search", args:{query, limit:20-30}}with a broad query- Read the top matches with
read {action:"doc", resource_id}(defaultviewmode = markdown) dokki-document→create {action:"doc", workspace_id, args:{name, content}}with a synthesized summary that cites source resource IDs
3. Data-Driven Visualization
"Make a chart/dashboard of my table data"
dokki-table→read {action:"table", resource_id}(usecolumns/where/sortto pull just what you need)dokki-artifact→create {action:"artifact", workspace_id, args:{name, source}}with source that embeds the data inline and renders it with Recharts/Mermaid- Optionally place the artifact alongside the table in the same folder (
dokki-workspace→edit {action:"resource.move", …})
4. Publish Site Bootstrap
"Launch a public docs site with these documents"
dokki-workspace→find {action:"resources", workspace_id}to pick which to publishdokki-publish→publish {action:"site.create", workspace_id, args:{slug}}dokki-publish→publish {action:"add", site_id, resource_id}for each selected resource (confirm each)dokki-publish→publish {action:"site.update", site_id, args:{settings:{home, nav_tags}}}- (Optional)
dokki-publish→publish {action:"domain.set", …}+publish {action:"domain.status", …}
5. Reorganize Knowledge Base
"Clean up my workspace / restructure my docs"
dokki-workspace→find {action:"resources", workspace_id}to see the current treedokki-workspace→create {action:"folder", workspace_id, args:{name}}for new structuredokki-workspace→edit {action:"resource.move", resource_id, args:{new_parent_path}}for each resourcedokki-workspace→edit {action:"resource.tag", resource_id, args:{tag_names}}to categorize- Confirm summary before executing
6. Human Confirmation
"Ask the team before doing this"
dokki-workspace→message {action:"members", workspace_id}if the user names a persondokki-workspace→message {action:"send", workspace_id, args:{content, require_response:true}}dokki-workspace→message {action:"read", workspace_id}before proceeding
7. Update Published Content
"The published doc is stale, refresh it"
dokki-document→ edit the source resource (edit {action:"doc.edit"/"doc.rewrite", …})dokki-publish→ re-callpublish {action:"add", site_id, resource_id}(refreshes the frozen snapshot)- Confirm the public URL now shows the new content
8. External Data → Dokki
"Pull my open GitHub issues (or latest Slack messages) into a Dokki doc/table"
connect {action:"list"}— confirm the toolkit is connected; if not,connect {action:"authorize", args:{toolkit:"github"}}and walk the user through the OAuth URLconnect {action:"tools", args:{toolkit:"github"}}to find the right tool, thenconnect {action:"call", args:{tool, args}}to fetch the datadokki-table→create {action:"table", workspace_id, args:{name, columns, rows}}(structured) ordokki-document→create {action:"doc", …}(narrative) with the fetched data- (Optional)
dokki-artifactto visualize, ordokki-publishto share externally
Bootstrap: Context Resolution
Before any operation, resolve context in this order:
- Workspace: If not specified and the user has only one, use it. Otherwise
find {action:"workspaces"}and ask. Workspaces may be Personal (org_id: null) or Org-owned (org_id/org_name); include the Org name when disambiguating. If the desired Org is missing, the MCP connection may not be authorized for it. - Resource: If the user gives a name,
find {action:"resources", workspace_id}to match by name. If multiple match, ask. If the name is not obvious,find {action:"search", args:{query}}as a fallback. - Parent folder (for creates): If not specified, create at workspace root.
Always report the resolved IDs back to the user so they can confirm.
Choosing Between Skills
Some intents are genuinely ambiguous. Decision hints:
- "Track X" → Is X tabular (tasks, inventory)? →
dokki-table. Is X narrative (journal, notes)? →dokki-document. - "Visualize X" → Is data already in Dokki? →
dokki-artifactreading from a table. Is it new data? →dokki-tablefirst, thendokki-artifact. - "Share with someone" → Single user by email →
dokki-workspaceshare {action:"user"}. Public URL →dokki-publish. - "Show me what's there" → Hierarchy view →
dokki-workspacebrowse. Content search →dokki-workspacesearch. - "Get X from " →
dokki-workspaceCONNECT mode first to fetch, then route the result to the right content skill.
Output Conventions
When completing any workflow, always end with:
- What was done — a one-sentence summary
- Resource IDs — short IDs for anything created/modified
- URLs — document URL, table URL, artifact URL, or public site URL
- Next steps — suggested follow-up actions (publish? tag? share?)
When to Say No
Don't invoke skills when:
- User is just asking "what is Dokki?" or asking for help — answer directly
- The operation would be clearly destructive (bulk delete, remove custom domain) without explicit confirmation — remember dangerous facade actions return a
confirm_tokenyou must echo back - The required context (workspace, resource) can't be resolved — ask first
Same repository
Related Skills
dokki-artifact
Create or edit HTML or JSX artifacts — self-contained pages, React components, charts (Recharts), diagrams (Mermaid), animations (Framer Motion). Use for anything interactive or visual beyond what a document can express.
View detailsdokki-document
Create new documents or edit existing ones using compact node-based operations. Use for writing and modifying rich-text content.
View detailsdokki-publish
Publish Dokki content as a public site — manage published sites, publish or unpublish resources, configure custom domains and site settings.
View detailsdokki-table
Create tables with typed columns, and edit rows, columns, and cells. Use for structured/tabular data.
View detailsdokki-workspace
Browse Personal and Org workspaces, search the knowledge base, explore related entities, upload files, message workspace members, connect external integrations (GitHub, Slack, Gmail, Notion, …), and organize resources (move, rename, tag, share, delete). Use for navigation, discovery, coordination, integrations, and workspace hygiene.
View details