Pipefy Html Interfaces 标志

Pipefy Html Interfaces

组织
pipefy
pipefy-html-interfaces

Use when the user wants to create, read, or rewrite a Pipefy HTML interface: a standalone page whose content is one HTML document, optionally showing live data from pipes and tables. Covers choosing data sources, creating the page, and rewriting it. Needs HTML interfaces enabled on the organization. For the main portal, its grid-layout pages, and sub-portals, use `pipefy-portal-setup`.

Add to TypingMind

概览

发布者pipefy
代码仓库ai-toolkit
技能名称pipefy-html-interfaces
星标数
52
复刻数
24
附带文件
2
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 2 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 pipefy 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Pipefy Html Interfaces AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/pipefy/ai-toolkit/tree/main/plugins/pipefy/skills/pipefy-html-interfaces
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/pipefy/ai-toolkit.git /tmp/ai-toolkit
mkdir -p .claude/skills
cp -r /tmp/ai-toolkit/plugins/pipefy/skills/pipefy-html-interfaces .claude/skills/pipefy-html-interfaces
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Pipefy Html Interfaces,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Pipefy Html Interfaces。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Pipefy Html Interfaces 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

HTML interfaces

MCP clients: read references/mcp.md. CLI users: read references/cli.md.

An HTML interface is a page whose single element is a customCode element holding one HTML document. The element can declare data sources (pipes or tables) that the HTML reads by source id. Writing the HTML publishes it: there is no draft.

When to use

  • "Build a page that shows our open requests", "make a dashboard page from this pipe."
  • "Change the layout / copy / colors of my HTML interface."
  • "Add the table X as a data source to my page."
  • "List my HTML interfaces", "show me the HTML of page Y."

If the user asks for a "page" and it is unclear whether they mean a standalone HTML page or a page inside their main portal, ask before doing anything.

When not to use: the main portal, its grid-layout pages and elements, and sub-portals live in pipefy-portal-setup (list_portals and get_portal cover those, and get_interface_html refuses them). Pipes, fields, and cards themselves live in pipefy-pipes-and-cards. Never change an HTML interface with the portal page or element tools: they accept its customCode element, but they replace its metadata and sources without the checks the tools here make.

Prerequisites

  • HTML interfaces enabled on the organization. Pipefy enables them per organization; organization admins cannot turn them on. If a call fails because the feature is not enabled, stop and tell the user to ask Pipefy to enable HTML interfaces for their organization. No tool can enable them.
  • Organization id. list_interface_repos accepts only the numeric organization id; create_html_interface and list_interfaces accept the numeric id or the uuid. Users usually give the uuid or the name, so look up the numeric id with list_organizations (its id) and use it everywhere.
  • Admin access to the pipes and tables the page shows. list_interface_repos lists only published pipes and tables the caller administers.

Operations

OperationRead-onlyPurpose
get_interface_html_guidelinesYesThe rules the HTML must follow, the data-pfy-* vocabulary for binding data, and the filter format; with include_design_system, also a design-system catalog.
list_interface_reposYesPipes and tables that can be a data source.
get_interface_repo_fieldsYesA pipe's or table's custom fields, to pick a source's fieldKeys.
list_interfacesYesThe organization's HTML interfaces, with their visibility.
get_interface_htmlYesOne interface's pages, elements, data sources, and live HTML.
create_html_interfaceNoCreate an interface and write its first page, with optional sources.
set_interface_sourcesNoReplace an element's data sources.
write_interface_htmlNoReplace and publish an element's HTML.

Rules that hold in every flow

  • Read the guidelines first. Call get_interface_html_guidelines before writing any HTML, and follow it. This skill does not repeat the rules: the guidelines are their single source, and they change with the platform. By default it leaves out designSystem, a component catalog several times the size of the rules. Ask for it with include_design_system only when styling the page.
  • Bind data exactly as dataPfyVocabulary says. It says what each data-pfy-* attribute does, for most which element it goes on, and the value it takes. The validator only checks that an attribute is allowed, so it accepts a binding in the wrong place.
  • Every write is live. create_html_interface, write_interface_html, and set_interface_sources change what visitors see at once. A specific request from the user ("rename the heading to X") is approval for that change. Before anything beyond it, such as rewriting markup they did not mention or removing a source they still use, show the user the change and get their approval.
  • Keep the live page reading only declared sources. HTML that reads a source id the element does not declare renders blank, with no error. Add a source before writing the HTML that reads it. Remove or rename a source only after the live HTML no longer reads it.
  • Fix every violation before writing again. A rejected write stores nothing and lists every violation. Fix all of them in one pass, then write again. If the HTML came from the user, show them the violations and a version that follows the rules, and publish only once they agree.

Steps — create a page

  1. Read the rules, and the design-system catalog if you will style the page:

    text
    get_interface_html_guidelines
    get_interface_html_guidelines include_design_system=true
  2. Check the name is free. If an interface with that name exists, ask the user whether to change it (see the next section) or create another.

    text
    list_interfaces organization_uuid=<org_id> search_term=<name>
  3. Pick the data (skip for a page without live data). List candidate repos, then the fields of each one you use:

    text
    list_interface_repos organization_id=<org_id> repo_name=<name_fragment>
    get_interface_repo_fields repo_uuid=<repo_uuid>

    A source is {"id", "name", "repoId", "fieldKeys", "filters"}. repoId is the repo's uuid. fieldKeys holds 1 to 30 keys: a custom field's uuid (not its id), or a built-in key such as title (the guidelines list built-in keys under filters.fixedColumnNames). filters is optional and follows the guidelines' filter format. id and name are unique within the element; the HTML reads the source by id. An element holds at most 10 sources.

  4. Write the HTML against the guidelines, binding each source by its id with the dataPfyVocabulary attributes.

  5. Create the interface with its sources and HTML in one call:

    text
    create_html_interface organization_uuid=<org_id> name="Open requests" html=<document> data_sources=[{"id": "requests", "name": "Open requests", "repoId": <repo_uuid>, "fieldKeys": ["title", <field_uuid>]}]

    The result carries the new interface's uuid and its page and element ids. Tell the user the interface's name and uuid.

Steps — change an existing page

  1. Find it and read it:

    text
    list_interfaces organization_uuid=<org_id> search_term=<name_fragment>
    get_interface_html interface_uuid=<interface_uuid>

    Use the element whose type is customCode on the page the user means. If the interface has more than one page or customCode element, list them and ask which one. Take page_id from pages[].uuid, element_id from pages[].elements[].uuid, the current sources from the element's dataSources, and note its htmlDocument.contentHash.

  2. Add sources if the new HTML needs more data. For a field the page does not read yet, find its uuid with get_interface_repo_fields on the source's repoId. Send the complete list, the current sources plus the new ones: it replaces the element's sources, and [] removes them all. Sources read with get_interface_html can be sent back as read. Keep the id of every source you keep.

    text
    set_interface_sources interface_uuid=<interface_uuid> page_id=<page_id> element_id=<element_id> data_sources=[...]
  3. Write the new HTML, starting from the document you read. Right before writing, read the interface again: if contentHash changed, someone else edited the page, so start again from the new document and show the user the change.

    text
    write_interface_html page_id=<page_id> element_id=<element_id> content=<document>
  4. Remove or rename sources the new HTML no longer reads, if the user wants them gone, with one more set_interface_sources call that sends the complete list.

Success criteria

  • The create or write returns success, with no violations.
  • get_interface_html shows the new document and the expected dataSources on the element.
  • Every source id the HTML reads is in the element's dataSources.

Failure modes

  • The create succeeded but the write failed. The interface exists with a blank page, and the error gives its uuid, page_id, and element_id. Resolve the error (fix the HTML for a rejection), then call write_interface_html with those ids. Do not call create_html_interface again: it would create a second, orphaned interface.
  • The create returned no page to write into. The interface may exist anyway, and the error gives its uuid. Check it with get_interface_html before doing anything else, and never retry the create blindly.
  • The create failed and the error has no uuid. The interface may exist anyway. Search for it with list_interfaces by name before any retry, and create again only if no new interface with that name appears.
  • The HTML was rejected on a write. Nothing was stored. Fix every listed violation against the guidelines and write again.
  • A write failed without listing violations. Read the page with get_interface_html to see what is stored, then write again once. If it fails again, stop and tell the user.
  • The page renders blank sections. The HTML reads a source id that the element does not declare, or one that was renamed or removed. Compare the HTML with dataSources from get_interface_html, then fix the sources or the HTML.
  • A duplicate interface exists. Show the user both, with names and uuids. With their approval, delete the extra one with delete_portal, which takes the interface's uuid as portal_uuid and asks for confirmation.
  • A repo is missing from list_interface_repos. It is unpublished, or the caller is not its admin. An empty list can also mean the organization id is wrong: the listing does not report an unknown organization or interface.
  • get_interface_html refuses the interface. It is a grid-layout portal or sub-portal; use pipefy-portal-setup.
  • Unsure what a source update stored. set_interface_sources returns the sources as sent, not as stored. Read them back with get_interface_html.

See also

  • pipefy-portal-setup: the main portal, its grid-layout pages and elements, and sub-portals.
  • pipefy-pipes-and-cards: create the pipes and fields a page reads.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Pipefy Html Interfaces AI 技能有什么作用?

Use when the user wants to create, read, or rewrite a Pipefy HTML interface: a standalone page whose content is one HTML document, optionally showing live data from pipes and tables. Covers choosing data sources, creating the page, and rewriting it. Needs HTML interfaces enabled on the organization. For the main portal, its grid-layout pages, and sub-portals, use `pipefy-portal-setup`.

为什么在 TypingMind 中使用 Pipefy Html Interfaces?

因为您只需安装一次,就能搭配任何模型使用。Pipefy Html Interfaces 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Pipefy Html Interfaces?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/pipefy/ai-toolkit/tree/main/plugins/pipefy/skills/pipefy-html-interfaces。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Pipefy Html Interfaces?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Pipefy Html Interfaces 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Pipefy Html Interfaces 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Pipefy Html Interfaces AI 技能免费吗?

是的。pipefy 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇