Логотип Service Portal Pages

Service Portal Pages

Организация
serac-labs
service-portal-pages

The container side of Service Portal — the sp_portal → sp_page → sp_row → sp_column → sp_instance hierarchy, why widget options belong on the instance and not the widget, cloning pages, and what is theme (sp_theme, sp_brand, sp_css) rather than page.

Add to TypingMind

Обзор

Издательserac-labs
Репозиторийserac
Название навыкаservice-portal-pages
Звёзды
78
Форки
26
Файлы в комплекте
Только инструкции
ЛицензияApache-2.0
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Всё необходимое — в инструкциях

    Всё необходимое для модели содержится в инструкциях — никаких дополнительных файлов для синхронизации.

  • Открытый исходный код

    Издатель навыка на GitHub — serac-labs. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Service Portal Pages в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/serac-labs/serac/tree/main/packages/skills/service-portal-pages
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/serac-labs/serac.git /tmp/serac
mkdir -p .claude/skills
cp -r /tmp/serac/packages/skills/service-portal-pages .claude/skills/service-portal-pages
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Service Portal Pages в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Service Portal Pages, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Service Portal Pages не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

Service Portal Pages and Themes

widget-coherence covers the inside of one widget — server script, client controller and HTML staying in step. This covers everything around it: the page the widget sits on, and the theme the page renders in.

The hierarchy

sp_portal      one portal. Has a URL suffix ("sp"), a homepage, and a THEME.
  └── sp_page       a page, addressed by its stable `id` → /sp?id=<id>
       └── sp_row        a row in the page layout
            └── sp_column    a column in that row (12-column grid)
                 └── sp_instance   ONE PLACEMENT of one widget, with its options
                      └── sp_widget    the widget definition, shared by every instance

The two things to hold onto:

A page is not "in" a portal. sp_page has no portal reference. A page is reachable from any portal as /<portal-suffix>?id=<page-id>; what ties it to one is being that portal's homepage, or being linked from a menu. Listing pages "for a portal" is therefore a convenience filter, not a containment query.

id is the address, sys_id is the record. sp_page.id is the human-readable stable key that appears in the URL. Both are accepted by the management tool; the id is what a user will quote at you.

Creating and placing

javascript
await snow_create_sp_page({ id: "team_requests", title: "Team requests", public: false })

await snow_sp_page_manage({ action: "add_widget_instance", id: "team_requests",
                            widget_id: "widget-my-requests", column_sys_id: colSysId, order: 100 })

public: true means reachable without login — anonymous. It is the one field on this page worth a second look before setting it.

add_widget_instance prefers column_sys_id. Omitting it attaches the instance to the page directly, which renders but sits outside the grid; a page built that way cannot be laid out afterwards without recreating the instances. Build rows and columns first when the layout matters.

Widget options live on the instance

This is the single most useful fact in this guide. sp_widget is the definition — template, client script, server script, CSS, and an option schema. It is shared by every page that uses it. sp_instance is one placement, and it carries the values: title, glyph, colour, and everything in the widget's option schema, stored as JSON in sp_instance.options.

So: "the widget shows the wrong list on the team page" is almost never a widget change. Editing the widget changes it everywhere; editing the instance changes it on that page.

javascript
// what a widget is actually configured as, per placement
await snow_query_table({ table: "sp_instance", query: "sp_widget.id=widget-my-requests",
                         fields: "sys_id,title,sp_column,options" })

Change the widget only when the behaviour is wrong for everyone. widget-coherence is the skill for that, and it is a different blast radius.

Cloning

javascript
await snow_sp_page_manage({ action: "clone", id: "team_requests", new_id: "team_requests_v2",
                            title: "Team requests (draft)", copy_widget_instances: true })

copy_widget_instances: true (the default) duplicates the sp_instance rows with their options, which is what makes the clone a working copy rather than an empty shell. Cloning is the safe way to change a live page: clone, edit the clone, then point whatever links to the page at the new id.

delete does not cascade. Deleting a page leaves its sp_instance rows orphaned. List and remove them first, or leave the page in place with draft: true — which is usually the better answer, because a deleted page breaks every bookmark to it.

What is theme, not page

Theme is a different axis from layout, and the split is not obvious:

Belongs to the pageBelongs to the theme
which widgets, in which columnsheader and footer widgets
per-instance titles and optionscolour variables, fonts
page-level CSS (sp_page.css)portal-wide CSS (sp_css)
public, draft, internallogo, favicon, brand name (sp_brand)

snow_sp_theme_manage covers sp_theme (definitions), sp_css (theme-scoped stylesheets), sp_brand (per-portal logo/favicon/colours) and the sp_portal.theme pointer:

javascript
// a per-tenant variant, editable without touching the source theme
await snow_sp_theme_manage({ action: "clone_theme", theme_name: "Base", name: "Acme", copy_css: true })

// branding is upserted per portal — an existing sp_brand row is patched, not duplicated
await snow_sp_theme_manage({ action: "update_branding", portal: portalSysId, logo: logoUrl,
                             primary_color: "#1f6feb", brand_name: "Acme Support" })

// and finally point the portal at it
await snow_sp_theme_manage({ action: "apply_theme_to_portal", portal: portalSysId, theme_name: "Acme" })

apply_theme_to_portal sets sp_portal.theme and takes effect on the next page load — no publish step, no cache flush. That also means it is instantly visible to every user of that portal, so apply to a test portal first.

If a colour change does not show up, the order to check is: the portal's theme pointer, then sp_css rows on that theme, then the page's own css, then the widget's CSS. The most specific one wins, and widget CSS overriding a theme variable is the usual culprit.

Related

  • widget-coherence — the inside of a widget, and the only place widget-level changes belong.
  • update-set-workflow — sp_page, sp_instance, sp_theme and sp_widget are all captured.

Часто задаваемые вопросы

Что делает навык ИИ Service Portal Pages?

The container side of Service Portal — the sp_portal → sp_page → sp_row → sp_column → sp_instance hierarchy, why widget options belong on the instance and not the widget, cloning pages, and what is theme (sp_theme, sp_brand, sp_css) rather than page.

Зачем использовать Service Portal Pages в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Service Portal Pages — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Service Portal Pages в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/serac-labs/serac/tree/main/packages/skills/service-portal-pages. TypingMind прочитает файл SKILL.md и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Service Portal Pages?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Service Portal Pages?

С любым количеством. В TypingMind вы можете использовать Service Portal Pages с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Service Portal Pages?

Да. Навык опубликован на GitHub по лицензии Apache-2.0. Издатель — serac-labs. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все
Логотип openclaw

Solid

openclaw
ОрганизацияПопулярный

Write, port, review, or test Solid 2 UI in OpenClaw (Control UI, plugin views, Canvas hosts), including state ownership, Lit interop during the migration, native overlays, testing, performance, and…

82.4K
391.7K
Файлы: 9
Открыть
Логотип openclaw

Auto Qa

openclaw
ОрганизацияПопулярный

Проводите масштабные автономные кампании QA и проверки в реальном времени и под нагрузкой во всех подсистемах OpenClaw, подтверждайте исправления и формируйте отчёт с доказательствами, который можно продолжить.

82.2K
391K
Файлы: 5
Открыть
Логотип openclaw

Autoreview

openclaw
ОрганизацияПопулярный

Проводите структурированный анализ кода по прямому запросу; в первую очередь используйте OpenAI/Codex, а затем Claude.

82.2K
391K
Файлы: 12
Открыть
Логотип openclaw

Claw Score

openclaw
ОрганизацияПопулярный

Проверяйте или обновляйте документацию с оценочной картой зрелости OpenClaw на основе корневой таксономии, оценок зрелости и артефактов QA, не используя данные maintainer discrawl или закоммиченные отчёты об инвентаризации.

82.2K
391K
Файлы: 51
Открыть

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇