跳到主内容
智客 ZICQ

技能库 智客分类:文档办公 docyrus-cli-app

Docyrus Cli App

使用多西鲁斯CLI("多西鲁斯")从终端与多西鲁斯平台进行互动. 当用户要求认证、列出应用程序、查询或管理数据记录(`ds'),管理dev应用数据源计划对象(`studio'),包括数据源、字段、enum、数据视图、表格、网页窗体、HTML/PDF导出模板和电子邮件模板,管理自动化及其触发点/行动节点(`自动'),建立或编辑自定义的AI代理及其子资源(`代理'),设置应用程序的AI代理上下文或管理应用的AI工具(`apps'),列出租户电子邮件账户并发送电子邮件(`message'),管理租户账户设置-品牌,当前用户的概况,以及租户区域/格式化偏好选择(`账户'),发现和呼叫连接者(`连接'),发送API请求,切换租户/账户,发现租户OpenAPI的光谱,驱动浏览器自动化(`browser'),与plla的聊天 成形剂( " docy " )、发射Pi同工/编码剂( " worky " / " cody " / " coder " )、管理代理桥服务器( " 服务器 " )、管理回波知识图( " 知识 " )和项目计划( " 项目计划 " )、减少释放( " 释放 " )或通过 " docyrus turi " 使用终端UI。 " docyrus ds list " 、 " docyrus ds compression " 、 " docyrus ds files上传 " 、 " docyrus工作室 " 、 " docyrus工作室搜索场 " 、 " docyrus自动化 " 、 " docyrus自动化创建-node " 、 " docyrus Apps创建 " 、 " docyrus Apps设置-context " 、 " docyrus apps set-ater-context " 、 " docyrus aplan " 、 " docyrus 发布 " 、 "

756 安装量

官方网址:skills.sh

技能介绍

先看中文介绍;官方 description 原文单独保留,不改写 SKILL.md。

做什么

使用多西鲁斯 CLI ("多西鲁斯") 从终端与多西鲁斯平台交互

何时用

用户要求认证、列出应用软件、查询或管理数据记录(`ds'),管理dev应用数据源计划对象(`studio'),包括数据源、字段、enums、数据视图、窗体、网络窗体、HTML/PDF导出模板和电子邮件模板,管理自动化及其三等

代理如何加载

按 Agent Skills 渐进披露:启动时只加载 name 与 description(约 100 token);任务匹配后才读入整份 SKILL.md 正文;scripts/、references/、assets/ 仅在需要时再读。 本文件正文结构:Docyrus CLI、Conventions (apply across all commands)、Command index、auth — authentication, accounts, tenants、apps — apps & app-scoped resources、ds — data records (CRUD + sub-objects)。 其中含规范建议的小节:分步指令。

文件分析

文件分析:这是一份仅含 SKILL.md 的指令型技能,代理激活后整份正文进入上下文。

官方 description(原文)

Use the Docyrus CLI (`docyrus`) to interact with the Docyrus platform from the terminal. Use when the user asks to authenticate, list apps, query or manage data records (`ds`), manage dev app data source schema objects (`studio`) including data sources, fields, enums, data views, forms, webforms, HTML/PDF export templates, and email templates, manage automations and their triggers/action nodes (`automation`), build or edit custom AI agents and their sub-resources (`agent`), set an app's AI agent context or manage app-scoped AI tools (`apps`), list tenant email accounts and send emails (`messaging`), manage tenant account settings — brands, the current user's profile, and tenant regional/formatting preferences (`account`), discover and call connectors (`connect`), send API requests, switch tenants/accounts, discover tenant OpenAPI specs, drive browser automation (`browser`), chat with platform agents (`docy`), launch the pi cowork/coding agents (`worky`/`cody`/`coder`), run the agent bridge server (`server`), manage the repo knowledge graph (`knowledge`) and project plan (`project-plan`), cut releases (`release`), or use the terminal UI via `docyrus tui`. Triggers on `docyrus ds list`, `docyrus ds comments`, `docyrus ds files upload`, `docyrus studio`, `docyrus studio search-fields`, `docyrus automation`, `docyrus automation create-node`, `docyrus agent`, `docyrus apps create`, `docyrus apps set-agent-context`, `docyrus apps ai-tools`, `docyrus messaging email send`, `docyrus account brands`, `docyrus account user-profile`, `docyrus account tenant-preferences`, `docyrus connect`, `docyrus discover`, `docyrus auth`, `docyrus browser`, `docyrus knowledge`, `docyrus project-plan`, `docyrus release`, `docyrus server`, `docyrus tui`, or any terminal-based Docyrus workflow.

Docyrus CLIConventions (apply across all commands)Command indexauth — authentication, accounts, tenantsapps — apps & app-scoped resourcesds — data records (CRUD + sub-objects)dsql — logical SQL queryingstudio — dev app schema CRUDautomation — workflowsagent — custom AI agents & sub-resourcesmessaging — email & notificationsaccount — tenant account management

来源分类:skills.sh agent-skill

SKILL.md 与 Agent 调用

官方规范 ↗
name
docyrus-cli-app
description
Use the Docyrus CLI (`docyrus`) to interact with the Docyrus platform from the terminal. Use when the user asks to authenticate, list apps, query or manage data records (`ds`), manage dev app data source schema objects (`studio`) including data sources, fields, enums, data views, forms, webforms, HTML/PDF export templates, and email templates, manage automations and their triggers/action nodes (`automation`), build or edit custom AI agents and their sub-resources (`agent`), set an app's AI agent context or manage app-scoped AI tools (`apps`), list tenant email accounts and send emails (`messaging`), manage tenant account settings — brands, the current user's profile, and tenant regional/formatting preferences (`account`), discover and call connectors (`connect`), send API requests, switch tenants/accounts, discover tenant OpenAPI specs, drive browser automation (`browser`), chat with platform agents (`docy`), launch the pi cowork/coding agents (`worky`/`cody`/`coder`), run the agent bridge server (`server`), manage the repo knowledge graph (`knowledge`) and project plan (`project-plan`), cut releases (`release`), or use the terminal UI via `docyrus tui`. Triggers on `docyrus ds list`, `docyrus ds comments`, `docyrus ds files upload`, `docyrus studio`, `docyrus studio search-fields`, `docyrus automation`, `docyrus automation create-node`, `docyrus agent`, `docyrus apps create`, `docyrus apps set-agent-context`, `docyrus apps ai-tools`, `docyrus messaging email send`, `docyrus account brands`, `docyrus account user-profile`, `docyrus account tenant-preferences`, `docyrus connect`, `docyrus discover`, `docyrus auth`, `docyrus browser`, `docyrus knowledge`, `docyrus project-plan`, `docyrus release`, `docyrus server`, `docyrus tui`, or any terminal-based Docyrus workflow.
  1. 发现技能客户端向 Agent 提供名称与描述目录。
  2. 匹配与调用用户指定或任务匹配后,载入 SKILL.md 指令。
  3. 按需加载按步骤读取参考文档、使用脚本与素材。

具体调用语法与可用工具以目标 Agent 客户端为准。 查看调用机制说明 ↗

安装这个技能

Skills CLI ↗

先选择目标 Agent 和安装范围,保留技能包的附属文件,安装后检查客户端能否发现该技能。

交给 Agent 安装

复制安装指令给支持 Agent Skills 的代理,确认其中的目标目录与客户端匹配。

把 Agent Skill「docyrus-cli-app」安装到我的项目:SKILL.md 原文与官方 description 见 https://zicq.com/zh/skills/skl-6216c44a65a11f43-Docyrus-Cli-%E5%BA%94%E7%94%A8%E7%A8%8B%E5%BA%8F.html
请存为 .cursor/skills/docyrus-cli-app/SKILL.md 或 .claude/skills/docyrus-cli-app/SKILL.md,frontmatter 的 name 与 description 保持原样,不要改写。

GitHub 完整包 ↗

终端安装 · Skills CLI

需要 Node.js 与 npx。先查看仓库技能列表,确认实际名称。

npx skills add 'https://github.com/docyrus/agent-skills' --list

npx skills add 'https://github.com/docyrus/agent-skills' --skill 'docyrus-cli-app'

CLI 会交互选择目标 Agent,默认安装到项目;用户级安装使用 -g。先通过查看命令核对仓库内容,再用 npx skills list 检查已安装技能。

阅读排版
--- name: docyrus-cli-app description: Use the Docyrus CLI (`docyrus`) to interact with the Docyrus platform from the terminal. Use when the user asks to authenticate, list apps, query or manage data records (`ds`), manage dev app data source schema objects (`studio`) including data sources, fields, enums, data views, forms, webforms, HTML/PDF export templates, and email templates, manage automations and their triggers/action nodes (`automation`), build or edit custom AI agents and their sub-resources (`agent`), set an app's AI agent context or manage app-scoped AI tools (`apps`), list tenant email accounts and send emails (`messaging`), manage tenant account settings — brands, the current user's profile, and tenant regional/formatting preferences (`account`), discover and call connectors (`connect`), send API requests, switch tenants/accounts, discover tenant OpenAPI specs, drive browser automation (`browser`), chat with platform agents (`docy`), launch the pi cowork/coding agents (`worky`/`cody`/`coder`), run the agent bridge server (`server`), manage the repo knowledge graph (`knowledge`) and project plan (`project-plan`), cut releases (`release`), or use the terminal UI via `docyrus tui`. Triggers on `docyrus ds list`, `docyrus ds comments`, `docyrus ds files upload`, `docyrus studio`, `docyrus studio search-fields`, `docyrus automation`, `docyrus automation create-node`, `docyrus agent`, `docyrus apps create`, `docyrus apps set-agent-context`, `docyrus apps ai-tools`, `docyrus messaging email send`, `docyrus account brands`, `docyrus account user-profile`, `docyrus account tenant-preferences`, `docyrus connect`, `docyrus discover`, `docyrus auth`, `docyrus browser`, `docyrus knowledge`, `docyrus project-plan`, `docyrus release`, `docyrus server`, `docyrus tui`, or any terminal-based Docyrus workflow. --- # Docyrus CLI Command index for the `docyrus` CLI (`@docyrus/docyrus`). This skill is a **quick reference to what commands exist**. For exact flags, arguments, and payload shapes of any command, **run its help** — that is the authoritative, always-current source: ```bash docyrus --help # flags + args for a command or group docyrus --help # drill into a subcommand docyrus --llms # machine-readable (LLM) manifest of a command tree ``` ## Conventions (apply across all commands) - **Output:** add `--json` (or `--format `) for machine-readable output; `--verbose` shows the full envelope. - **Flag forms:** `--help` prints flags in kebab-case (`--app-slug`, `--from-file`); the parser also accepts the camelCase schema keys (`--appSlug`, `--fromFile`). Both work. - **Selectors are exclusive pairs** — pass exactly one of each; the CLI resolves the other: `--appId | --appSlug`, `--dataSourceId | --dataSourceSlug`, `--fieldId | --fieldSlug`, etc. - **Write payloads:** mutating commands take convenience flags **and/or** `--data ''` / `--from-file `. Explicit flags merge over the JSON. Complex objects (nested `data`, `field_mapping`, schemas, conditions) must go through `--data`/`--from-file`. - **Settings scope & sessions:** settings live in a project-local `./.docyrus/` folder (ancestor-resolved from cwd); `-g`/`--global` uses `~/.docyrus/`. Auth and the active tenant are per-scope. - **Escape hatch:** `docyrus curl [-X .. -d .. -G]` sends an authenticated request to any API path — use it for endpoints without a dedicated command (e.g. template render, webform items). For complex reads, pass query params as one JSON object with `-G -d '{...}'` (URL-encoded for you). ## Command index Run `docyrus --help` for flags. Groups marked **(group)** have their own subcommands — drill in with `--help`. ### auth — authentication, accounts, tenants `login` · `logout` · `who` · `tenant` · `set-tokens` · `sso-session` · `github` · `sandbox` · `git-credential` · `accounts` (group) · `tenants` (group) ### apps — apps & app-scoped resources `create` (requires `--slug`) · `clone` · `templates` · `check-slug` (app creation + local-dev bootstrap — see **docyrus-create-app**) · `list` · `update` · `delete` · `restore` · `permanent-delete` · `set-agent-context` · `actions` (group: action CRUD + run) · `ai-tools` (group: app-scoped AI tool CRUD — see **docyrus-app-ai-tools**) ### ds — data records (CRUD + sub-objects) `get` (data source metadata) · `list` (query records) · `create` · `update` · `delete` · `comments` (group: record comments) · `files` (group: record file attachments, incl. `upload`) ### dsql — logical SQL querying `query` (read-only SELECT over `appSlug.dataSourceSlug`) · `ask` (NL → query → run) · `generate` (NL → query, no run) · `schema` (group: schema discovery). See **docyrus-dsql-query-design**. Custom query records (saved, parameterized query templates): `list-custom-query` · `get-custom-query` · `create-custom-query` · `update-custom-query` · `delete-custom-query` · `run-custom-query` (execute; `--debug` = compiled SQL, `--simulate` = EXPLAIN ANALYZE). See **docyrus-custom-query**. ### studio — dev app schema CRUD Data sources: `create-data-source` · `get-data-source` · `update-data-source` · `delete-data-source` · `restore-data-source` · `permanent-delete-data-source` · `list-data-sources` · `bulk-create-data-sources` Fields: `create-field` · `get-field` · `update-field` · `delete-field` · `list-fields` · `create-fields-batch` · `update-fields-batch` · `delete-fields-batch` · `search-fields` Enums: `create-enums` · `update-enums` · `delete-enums` · `list-enums` · `search-enums` · `search-enum-sets` Data views: `create-data-view` · `get-data-view` · `update-data-view` · `delete-data-view` · `list-data-views` Forms: `create-form` · `get-form` · `update-form` · `delete-form` · `list-forms` Webforms: `create-webform` · `get-webform` · `update-webform` · `delete-webform` · `list-webforms` (see **docyrus-webform-design**) HTML/PDF templates: `create-html-template` · `get-html-template` · `update-html-template` · `delete-html-template` · `list-html-templates` (see **docyrus-print-pdf-template-design**) Email templates: `create-email-template` · `get-email-template` · `update-email-template` · `delete-email-template` · `list-email-templates` (see **docyrus-email-template-design**) → Design how-to: **docyrus-data-source-design**. ### automation — workflows Automations: `create` · `get` · `update` · `delete` · `list` Triggers: `create-trigger` · `update-trigger` · `delete-trigger` · `get-trigger` · `list-triggers` Action nodes: `create-node` · `update-node` · `delete-node` · `get-node` · `list-nodes` → Design how-to: **docyrus-automation-design**. ### agent — custom AI agents & sub-resources Agent: `create` · `get` · `update` · `delete` · `list` · `upload` Sub-resource groups (each list/get/create/update/delete): `models` · `tools` · `data-sources` · `docs` · `mcps` · `connections` · `dynamic-contexts` · `workflow-steps` · `deployments` · `deployment-tools` · `deployment-data-sources` · `workflow-jobs` (read-only + delete) · `tasks` · `recurring-tasks` → Design how-to: **docyrus-agent-design**. ### messaging — email & notifications `accounts` (list tenant email accounts) · `email` (group: incl. `send`) ### account — tenant account management `brands` (group: tenant brand CRUD — `list` · `get` · `create` · `update` · `delete` · `fetch-from-website`) · `user-profile` (group: `get` · `update` the current user's own profile) · `tenant-preferences` (group: `get` · `update` the tenant's regional/formatting preferences) - **`brands`** — the tenant's visual identity, typography, voice, and content guidelines (`tenant_brand`). `create`/`update` take camelCase convenience flags (1:1 with the snake_case DTO keys) plus `--data` / `--from-file`; `--name` is required on `create`. → Manage how-to (incl. full field catalog): **docyrus-tenant-brand-management**. - **`user-profile`** — the authenticated user's own profile (`get`/`update`, no selector). `update` flags cover the self-service fields: `--firstname` · `--lastname` · `--mobile` · `--dateOfBirth` · `--gender` · `--timeZone` · `--language`. - **`tenant-preferences`** — the workspace's regional/formatting settings. `update` is tenant-admin only and takes camelCase flags (1:1 with the snake_case `--data` keys) plus `--data` / `--from-file`: `--language` · `--locale` · `--timeZone` · `--startWeekOn` · `--fiscalYear` · `--dateFormat` · `--dateTimeFormat` · `--timeFormat` · `--longDateFormat` · `--businessHoursBegin` · `--businessHoursEnd` · `--dailyWorkingHours` (seconds) · `--weeklyWorkingCapacity` · `--timeRounding` · `--baseCurrency` · `--currencyAbbrPosition` (`BEFORE`/`AFTER`) · `--decimalPrecision` · `--decimalSeparator` · `--thousandSeparator`. `get` returns just the preferences record (camelCase keys). → `user-profile` / `tenant-preferences` how-to (incl. full field catalog): **docyrus-account-settings**. ### connect — connectors & actions `list-connectors` · `get-connector` · `list-connections` · `get-action` · `run-action` · `curl` (request through a connector's provider auth) → Usage how-to: **docyrus-integrations-and-connectors**. ### discover — tenant OpenAPI discovery `api` (download spec) · `namespaces` · `path` · `endpoint` · `entity` · `search` ### curl — raw API `docyrus curl [-X ] [-d ] [-G] [-H ]` — authenticated request to any Docyrus API path. - **Body:** `docyrus curl -X POST /v1/apps -d '{"name":"..."}'` — a JSON `-d` is sent as the request body. - **Query params:** with `-G`, pass `-d` a **single JSON object** — each key becomes a query param, nested values are JSON-stringified, and every value is URL-encoded for you. This is the way to send complex reads (`columns`, `filters`, `childQueries`) without escaping: `docyrus curl "/v1/apps//data-sources//items/" -G -d '{"columns":"id,rel(id,name),app_child__ref","childQueries":[{"alias":"app_child__ref","from":"app_child","using":"ref","columns":"name"}]}'` - `-d` is a single value (not repeatable) and there is no `--data-urlencode` — the `-G` JSON-object form above replaces both. ### AI agents & runtime `docy ""` (chat with the platform's main AI agent) · `worky` (pi Cowork agent) · `cody` / `coder` (pi Coding agent) · `server` (HTTP bridge from a pi agent to AI SDK `useChat`) ### browser — browser automation (local Chrome or remote Cloudflare) `start` · `nav` · `snapshot` · `click` · `fill` · `select` · `eval` · `run-script` · `screenshot` · `content` · `console` · `network` · `cookies` · `devtools` · `info` · `tabs` · `wait` · `close` ### knowledge — repo knowledge graph (dev tooling) `search` · `section` · `locate` · `refs` · `expand` · `check` · `doctor` · `audit-staged` · `pre-commit` · `list-impacted` · `init` · `generate-initial` · `refresh` · `config` · `hook` ### project-plan — repo-tracked project plan (dev tooling) `show` · `summary` · `list-phases` · `list-features` · `list-tasks` · `find-tasks` · `get-task` · `upsert-phase` · `upsert-feature` · `upsert-task` · `set-task-status` · `set-order` · `ensure` · `check` · `config` · `create-linked-todo` · `upsert-from-architect` · `upsert-from-plan` ### release — versioning `new-version` · `status` ### tui — terminal UI `docyrus tui` — launch the OpenTUI terminal UI (requires Bun; if Bun is missing, offers to install it in an interactive terminal). ### Built-ins `docyrus completions` (shell completion) · `docyrus mcp add` (register as MCP server) · `docyrus skills add` (sync skill files) · global `--mcp` (start as MCP stdio server). ## Related skills For *creating apps* and bootstrapping local development (`docyrus apps create` / `clone` / `templates`), use **docyrus-create-app**. For *designing* the things these commands manage, use the dedicated skills: **docyrus-data-source-design**, **docyrus-automation-design**, **docyrus-agent-design**, **docyrus-app-ai-tools**, **docyrus-email-template-design**, **docyrus-print-pdf-template-design**, **docyrus-webform-design**, **docyrus-acl-design** (`docyrus acl`), **docyrus-tenant-brand-management** (`docyrus account brands`), **docyrus-account-settings** (`docyrus account user-profile` / `tenant-preferences`), **docyrus-dsql-query-design**, **docyrus-custom-query** (saved query records via `docyrus dsql *-custom-query`). For platform architecture/concepts: **docyrus-platform**. For the REST API in app code: **docyrus-api-dev**.

相关技能

文档办公

Ontology

为结构化的代理内存和可堆肥技能所打入的知识图. 在创建/征服实体(Person, project, Task, Evention, Document)时使用,链接相关对象,强制约束,规划多步动作作为图变,或技能需要共享状态时使用. 触发到"记住","我知道什么","链接X到Y",…

文档办公

Nano Pdf

使用纳米-pdf CLI编辑带有自然语言指令的PDF.

文档办公

Word / DOCX

创建,检查,并编辑有可靠样式的Microsoft Word文档和DOCX文件,编号,跟踪更改,表格,章节,并进行相容性检查. 当 (1) 任务涉及 Word 或 ".docx " 时使用; (2) 文件包括跟踪的更改,评论,字段,表格,模板,或页面布局限制; (3) 文档必须在不…

文档办公

Api Gateway

通过 Maton 网关调用第三方 API, 它为用户已经连接的应用程序注入证书 。 当用户命名一个连接的应用程序和其中的具体行动时使用此技能——读取一个邮箱,查询一个CMM,归档一个问题,更新一个电子表格,通过一个连接的搜索或刮取提供者运行一个查询. 每一次通话都到用户连接的应用…