Логотип 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, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний 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. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/serac-labs/serac/tree/main/packages/skills/service-portal-pages
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
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 цю навичку публікує serac-labs за ліцензією Apache-2.0. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату 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
Відкрити

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇