Agent skill

Uui Services Context

by epam in epam/UUI

Helps work with UUI services layer including ContextProvider, ApiContext, ModalContext, NotificationContext, and useUuiContext.

MITAuto-check passed

Install Uui Services Context

skills CLI
$ npx skills add epam/UUI --skill uui-services-context -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install epam/UUI uui-services-context --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/epam/UUI.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.cursor/skills/services-context .claude/skills/uui-services-context && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
uui-services-context
GitHub stars
248
Token cost
~1.2k tokens
SKILL.md length
274 words
Files
1
Skills in repo
10
Repo updated
First seen
Licence
MIT

At a glance

Helps work with UUI services layer including ContextProvider, ApiContext, ModalContext, NotificationContext, and useUuiContext.

  • Implementing features that need modals
  • SKILL.md covers Location, ContextProvider, useUuiContext and Key Services, plus 6 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Uui Services Context is an agent skill from epam/UUI. Helps work with UUI services layer including ContextProvider, ApiContext, ModalContext, NotificationContext, and useUuiContext. Use when implementing features that need modals, notifications, API calls, error handling, or routing.

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: React-based components and accelerators library built by EPAM Systems. The licence is MIT.

When your agent uses it

  • Implementing features that need modals

Example prompts

  • “Use the uui-services-context skill to help work with UUI services layer including ContextProvider, ApiContext, ModalContext, NotificationContext…”
  • “/uui-services-context”

What it can do on your machine

Read from SKILL.md and the folder at commit fd11393. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Uui Services Context loads about 1.2k tokens when it runs. Until then it costs about 63 tokens; SKILL.md has 274 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~63
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from epam/UUI at commit fd11393, republished under its MIT licence (© epam). 274 words, ~1,156 tokens.

Download SKILL.mdSave it as .claude/skills/uui-services-context/SKILL.md (or your agent's skills folder).
name
uui-services-context
description
Helps work with UUI services layer including ContextProvider, ApiContext, ModalContext, NotificationContext, and useUuiContext. Use when implementing features that need modals, notifications, API calls, error handling, or routing.

UUI Services & Context

UUI provides a services layer that components consume via useUuiContext(). Services are initialized by ContextProvider and include API, modals, notifications, routing, analytics, and more.

Location

  • Package: @epam/uui-core
  • Path: uui-core/src/services/
  • Types: uui-core/src/types/contexts.ts

ContextProvider

Wrap the app with ContextProvider to initialize UUI services:

typescript
import { ContextProvider } from '@epam/uui-core';

<ContextProvider
    apiDefinition={ (processRequest) => ({
        myApi: (data) => processRequest('/api/endpoint', 'POST', data),
    })}
    loadAppContext={ async (api) => ({ user: await api.getUser() }) }
    onInitCompleted={ (svc) => { /* optional: store ref, etc. */ } }
    history={ history }  // optional: for SPA routing
>
    <App />
</ContextProvider>
  • apiDefinition — Returns API object. Each method receives (url, method, data, options) via processRequest.
  • loadAppContext — Loads global data before mount. Result stored in uuiApp.
  • onInitCompleted — Called when contexts are ready.
  • history — React Router history for uuiRouter.redirect().

useUuiContext

Access services inside any component under ContextProvider:

typescript
import { useUuiContext } from '@epam/uui-core';

function MyComponent() {
    const svc = useUuiContext();
    const { api, uuiModals, uuiNotifications, uuiRouter } = svc;
    // ...
}

Throws if used outside ContextProvider.

Key Services

ServicePropertyPurpose
APIapiHTTP requests. Methods from apiDefinition. api.withOptions({}) for call options.
ModalsuuiModalsShow modal dialogs. uuiModals.show(render, params) returns Promise<TResult>.
NotificationsuuiNotificationsToast notifications. uuiNotifications.show(render, params).
RouteruuiRouterredirect(link), getCurrentLink(), transfer(link).
LayoutuuiLayoutLayers, portal root. getLayer(), releaseLayer(), getPortalRoot().
LocksuuiLocksConcurrent action locking. acquire(), release(), withLock().
ErrorsuuiErrorsError handling, recovery.
AnalyticsuuiAnalyticsAnalytics events.
User SettingsuuiUserSettingsPersistent user settings (e.g. form drafts).
App ContextuuiAppData from loadAppContext.

Modals

typescript
const result = await uuiModals.show<ResultType>((props) => (
    <MyModal
        { ...props }
        onSave={ () => props.success(data) }
        onCancel={ () => props.abort() }
    />
), { initialValue });
  • props.success(data) — Resolves the promise, closes modal.
  • props.abort() — Rejects the promise, closes modal.
  • ModalOperationCancelled — Thrown when user dismisses modal (e.g. backdrop click).

Notifications

typescript
await uuiNotifications.show((props) => (
    <SuccessNotification { ...props }>
        Saved successfully
    </SuccessNotification>
), { duration: 5, position: 'bot-right' });
  • duration — Seconds or 'forever' for persistent notification.
  • position — 'bot-left' | 'bot-right' | 'top-left' | 'top-right' | 'top-center' | 'bot-center'.

API (ApiContext)

  • processRequest(url, method, data, options) — Low-level HTTP.
  • API methods from apiDefinition use processRequest internally.
  • AbortSignal passed via FetchingOptions for cancellation.
  • Auth recovery, relogin path configured via ApiContext props.

useUuiServices

Used by ContextProvider internally. For tests or custom setup:

typescript
const { services } = useUuiServices({ apiDefinition, router });
// Provide via UuiContext.Provider value={services}

Routing Adapters

  • HistoryAdaptedRouter — Wraps react-router history.
  • StubAdaptedRouter — No-op for apps without routing.
  • Next.js — Use useUuiServicesSsr from @epam/uui-core/ssr.

References

  • ContextProvider: uui-core/src/services/ContextProvider.tsx
  • useUuiServices: uui-core/src/hooks/useUuiServices.ts
  • Types: uui-core/src/types/contexts.ts
  • ApiContext: uui-core/src/services/ApiContext.ts
  • ModalContext: uui-core/src/services/ModalContext.ts
  • NotificationContext: uui-core/src/services/NotificationContext.ts

© epam, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .cursor/skills/services-context of epam/UUI.

Open the folder on GitHubat commit fd11393

Compare with similar skills

Uui Services Context next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Uui Services Context compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Uui Services Context this skillepam/UUI248—~1.2kAutomated safety check: PassMIT
Run Umbraco UIumbraco/Umbraco.UI152—~1.2kAutomated safety check: PassMIT
Uui Componentsepam/UUI248—~2.8kAutomated safety check: PassMIT
Uui Documentationepam/UUI248—~1.3kAutomated safety check: PassMIT
Uui Themesepam/UUI248—~1.4kAutomated safety check: PassMIT
Uui Unit Testingepam/UUI248—~2.4kAutomated safety check: PassMIT

Similar skills

  • Run Umbraco UI

    umbraco/Umbraco.UI

    Build, run, and drive the Umbraco.UI (UUI) web-component library via its Storybook.

    152 GitHub stars~1.2k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Helps create and modify UUI (EPAM Unified UI) components following established patterns.

    248 GitHub stars~2.8k tokensUpdated 9 days ago
    Frontend & DesignAuto-check passed
  • Helps update UUI documentation, add doc examples, configure Property Explorer, and manage component API documentation.

    248 GitHub stars~1.3k tokensUpdated 9 days ago
    DevelopmentAuto-check passed
  • Uui Themes

    epam/UUI

    Helps work with UUI themes including generating theme tokens from Figma, working with skin packages, and connecting external themes.

    248 GitHub stars~1.4k tokensUpdated 9 days ago
    Frontend & DesignAuto-check passed
  • Helps write unit tests for UUI components using Jest, jsdom, and @epam/uui-test-utils.

    248 GitHub stars~2.4k tokensUpdated 9 days ago
    Testing & QAAuto-check passed
  • Helps create and maintain E2E and screenshot tests for UUI components using Playwright.

    248 GitHub stars~1.3k tokensUpdated 9 days ago
    Testing & QAAuto-check passed

More from epam/UUI

All 10 skills in this repo
  • Helps work with UUI DataSources (ArrayDataSource, LazyDataSource, AsyncDataSource) powering PickerInput, DataTable, FiltersPanel, and other data-driven components.

    248 GitHub stars~1.5k tokensUpdated 9 days ago
    Auto-check passed
  • Fetches GitHub issues from URLs and creates implementation plans for UUI.

    248 GitHub stars~1.5k tokensUpdated 9 days ago
    Auto-check passed
  • Guides the UUI pull request process including branch naming, pre-PR checklist, changelog updates, and quality requirements.

    248 GitHub stars~1.7k tokensUpdated 9 days ago
    Auto-check: notes
  • Guides the UUI package release process including stable and beta releases, changelog updates, and handling failed releases.

    248 GitHub stars~867 tokensUpdated 9 days ago
    Auto-check passed

Questions about Uui Services Context

What does Uui Services Context do?

Helps work with UUI services layer including ContextProvider, ApiContext, ModalContext, NotificationContext, and useUuiContext. Uui Services Context is an agent skill from epam/UUI. Helps work with UUI services layer including ContextProvider, ApiContext, ModalContext, NotificationContext, and useUuiContext.

When should I use Uui Services Context?

Uui Services Context fits situations like: implementing features that need modals.

How do I install Uui Services Context in Claude Code?

Run `npx skills add epam/UUI --skill uui-services-context -a claude-code`. Or copy the skill folder (.cursor/skills/services-context in epam/UUI) into .claude/skills/uui-services-context in your project. Claude Code loads it when a task matches its description.

How do I install Uui Services Context in Codex?

Run `npx skills add epam/UUI --skill uui-services-context -a codex`. Or copy the skill folder (.cursor/skills/services-context in epam/UUI) into .agents/skills/uui-services-context in your project. Codex loads it when a task matches its description.

Can I use Uui Services Context in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add epam/UUI --skill uui-services-context -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/uui-services-context, .gemini/skills/uui-services-context, .github/skills/uui-services-context and .opencode/skills/uui-services-context in your project.

What does Uui Services Context need to run?

SKILL.md names no scripts, command-line tools or credentials: Uui Services Context is instructions for the agent only.

Does Uui Services Context access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Uui Services Context safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Uui Services Context use?

Uui Services Context is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Uui Services Context use?

About 1.2k tokens (SKILL.md is roughly 4.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Uui Services Context?

Skills that share tags, products or a category with Uui Services Context: Run Umbraco UI (umbraco/Umbraco.UI, 152 stars), Uui Components (epam/UUI, 248 stars), Uui Documentation (epam/UUI, 248 stars) and Uui Themes (epam/UUI, 248 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Uui Services Context?

epam (a GitHub organization) maintains it in epam/UUI, which has 248 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on September 29, 2026.

Source: epam/UUI on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.