Agent skill

Ucp Agent

by mirumee in mirumee/nimara-ecommerce

Operate Nimara's UCP REST commerce API. An agent skill from mirumee/nimara-ecommerce.

BSD-3-ClauseAuto-check passedFrontend & Design

Install Ucp Agent

skills CLI
$ npx skills add mirumee/nimara-ecommerce --skill ucp-agent -a claude-code

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

GitHub CLI
$ gh skill install mirumee/nimara-ecommerce ucp-agent --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/mirumee/nimara-ecommerce.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/ucp-agent .claude/skills/ucp-agent && 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
ucp-agent
GitHub stars
129
Token cost
~1k tokens
SKILL.md length
478 words
Files
5 (incl. references)
Skills in repo
12
Repo updated
First seen
Licence
BSD-3-Clause

At a glance

Operate Nimara's UCP REST commerce API. An agent skill from mirumee/nimara-ecommerce.

  • Works in 8 steps: Fetch GET /.well-known/ucp from the… → Read the REST service endpoint, protocol… → Confirm the requested capability is… → …
  • An agent must discover UCP capabilities
  • SKILL.md covers Core workflow, Non-negotiable rules, State to track and Response modes, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Ucp Agent is an agent skill from mirumee/nimara-ecommerce. Operate Nimara's UCP REST commerce API. Use when an agent must discover UCP capabilities, search or look up products, manage a cart, create or update a checkout, complete or cancel a checkout, or retrieve an order through the storefront's UCP endpoints. Do not use for ordinary storefront UI work or commerce flows that do not use UCP.

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `references/endpoints.md`, `references/examples.md` and `references/flows.md`).

It sits in Frontend & Design. It works with shadcn/ui. The repository describes itself as: Headless, composable ecommerce storefront built with Next.js, Typescript, and shadcn/ui. The licence is BSD-3-Clause.

When your agent uses it

  • An agent must discover UCP capabilities
  • Look up products
  • Update a checkout
  • Cancel a checkout

Example prompts

  • “/ucp-agent”

Workflow steps

8 steps, taken from the first numbered list in SKILL.md.

  1. Fetch GET /.well-known/ucp from the target storefront before any UCP operation.
  2. Read the REST service endpoint, protocol version, supported capabilities, schemas, specifications, and payment handlers from that profile.
  3. Confirm the requested capability is advertised before using it.
  4. Follow the relevant flow in flows.md, collecting only missing buyer data.
  5. Build the request from the discovered schema and protocol-schemas.md.
  6. Call the operation listed in endpoints.md.
  7. Inspect ucp.status, resource status, and messages[] before choosing the next action.
  8. Update tracked state only from confirmed user input or API responses.

What it can do on your machine

Read from SKILL.md and the folder at commit c2ad30b. 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.

    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

Ucp Agent loads about 1k tokens when it runs, and up to ~5.3k if it reads all its reference files. Until then it costs about 86 tokens; SKILL.md has 478 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~86
When it runs · the whole SKILL.md, loaded when a task matches
~1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~5.3k

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 mirumee/nimara-ecommerce at commit c2ad30b, republished under its BSD-3-Clause licence (© mirumee). 478 words, ~1,038 tokens.

Download SKILL.mdSave it as .claude/skills/ucp-agent/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
ucp-agent
description
Operate Nimara's UCP REST commerce API. Use when an agent must discover UCP capabilities, search or look up products, manage a cart, create or update a checkout, complete or cancel a checkout, or retrieve an order through the storefront's UCP endpoints. Do not use for ordinary storefront UI work or commerce flows that do not use UCP.

UCP Commerce Agent

Use Nimara's storefront UCP API to guide a buyer from product discovery through cart, checkout, and order retrieval. Treat the discovery profile and API responses as the source of truth; do not infer protocol details from this skill when the live profile provides them.

Core workflow

  1. Fetch GET /.well-known/ucp from the target storefront before any UCP operation.
  2. Read the REST service endpoint, protocol version, supported capabilities, schemas, specifications, and payment handlers from that profile.
  3. Confirm the requested capability is advertised before using it.
  4. Follow the relevant flow in flows.md, collecting only missing buyer data.
  5. Build the request from the discovered schema and protocol-schemas.md.
  6. Call the operation listed in endpoints.md.
  7. Inspect ucp.status, resource status, and messages[] before choosing the next action.
  8. Update tracked state only from confirmed user input or API responses.

Non-negotiable rules

  • Never invent product, variant, cart, checkout, order, fulfillment, or payment identifiers.
  • Confirm the selected product and quantity before creating a checkout.
  • Do not complete checkout until the buyer has explicitly confirmed purchase intent, the session is ready, and a valid payment instrument is available.
  • Never expose payment tokens, authorization credentials, or buyer secrets in prose or logs.
  • Include a valid UCP-Agent profile on every commerce request. Use HTTPS profiles outside local development.
  • Generate a new request ID for each request and a stable idempotency key only where the endpoint supports retry deduplication.
  • Treat requires_buyer_input and requires_buyer_review as handoff conditions. Present the returned continue_url; do not bypass the required buyer action.
  • Treat business errors as response data. Read messages[] even when the HTTP request succeeds.
  • Keep buyer-facing responses concise, transactional, and free of internal protocol details unless the user asks for them.
Show full SKILL.md (193 more words)Show less

State to track

Track only values needed by the active flow:

  • selected product and variant identifiers, title, quantity, and displayed price
  • cart identifier
  • checkout session identifier and status
  • confirmed buyer contact and fulfillment data
  • selected fulfillment method
  • order identifier

Do not reuse state across buyers or storefronts.

Response modes

Use natural language when asking for missing data, presenting products, confirming choices, reporting errors, or returning order details.

When the surrounding system expects a structured API instruction rather than executing the request directly, return one JSON object with action, endpoint, method, headers, and payload. See examples.md for the format. Do not wrap that object in commentary.

Reference router

  • Read protocol-schemas.md for capability names, request and response shapes, status values, severities, money representation, and schema-source rules.
  • Read endpoints.md for discovery, headers, supported REST operations, implementation locations, and current Nimara limitations.
  • Read flows.md before running catalog, cart, checkout, cancellation, completion, escalation, or order workflows.
  • Read examples.md only when constructing a concrete request or structured API instruction.

For fields not documented here, follow the spec and schema URLs advertised by the discovered capability. Verify behavior against the route handlers under apps/storefront/src/app/api/ucp/ when changing or debugging Nimara's implementation.

© mirumee, BSD-3-Clause. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (references) in .claude/skills/ucp-agent of mirumee/nimara-ecommerce.

  • SKILL.md
  • references/endpoints.md
  • references/examples.md
  • references/flows.md
  • references/protocol-schemas.md

Open the folder on GitHubat commit c2ad30b

Compare with similar skills

Ucp Agent 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.

Ucp Agent compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Ucp Agent this skillmirumee/nimara-ecommerce129—~1kAutomated safety check: PassBSD-3-Clause
Web Artifacts Builderanthropics/skills180k41 repos~769Automated safety check: PassApache-2.0
UI StylingOhh-889/skyroc79513 repos~2.5kAutomated safety check: PassMIT
Shadcnsupabase/evals14342 repos~4.5kAutomated safety check: PassApache-2.0
Integrating shadcn/ui Componentsgoogle-labs-code/stitch-skills8.4k4 repos~2.3kAutomated safety check: NotesApache-2.0
UI UX Pro Maxsaoudi-h/solar-icons18618 repos~11kAutomated safety check: NotesCustom licence

Similar skills

  • Web Artifacts Builder

    anthropics/skills

    Official

    Builds multi-component claude.ai HTML artifacts as a small React, TypeScript and Tailwind project, then bundles it into one shareable HTML file.

    180k GitHub starsUsed in 41 repos~769 tokens
    Frontend & DesignAuto-check passed
  • UI Styling

    Ohh-889/skyroc

    Create beautiful, accessible user interfaces with shadcn/ui components (built on Radix UI + Tailwind), Tailwind CSS utility-first styling, and canvas-based visual designs.

    795 GitHub starsUsed in 13 repos~2.5k tokens
    Frontend & DesignAuto-check passed
  • Shadcn

    supabase/evals

    Official

    Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI.

    143 GitHub starsUsed in 42 repos~4.5k tokens
    Frontend & DesignAuto-check passed
  • Integrating shadcn/ui Components

    google-labs-code/stitch-skills

    Official

    Guides finding, installing, customizing and wiring up shadcn/ui components in a project, with MCP tools for the component catalog and registries.

    8.4k GitHub starsUsed in 4 repos~2.3k tokens
    Frontend & DesignAuto-check: notes
  • UI UX Pro Max

    saoudi-h/solar-icons

    UI/UX design intelligence for web and mobile. An agent skill from saoudi-h/solar-icons.

    186 GitHub starsUsed in 18 repos~11k tokens
    Frontend & DesignAuto-check: notes
  • Creative Tim UI Blocks

    creativetimofficial/ui

    Helps install, generate and review Creative Tim UI blocks: shadcn/ui-based React and Tailwind sections that follow a restrained, production-minded design philosophy.

    12k GitHub stars~2.1k tokensUpdated 6 mo ago
    Frontend & DesignAuto-check: notes

More from mirumee/nimara-ecommerce

All 12 skills in this repo
  • Project Guidelines

    mirumee/nimara-ecommerce

    Guide for working with Nimara's layered monorepo architecture.

    129 GitHub stars~4.8k tokensUpdated today
    Auto-check passed
  • Prd Modeling

    mirumee/nimara-ecommerce

    A skill your agent uses when creating, rewriting, refining, or stress-testing a Product Requirements Document (PRD), including turning an initiative or feature brief into product requirements.

    129 GitHub stars~824 tokensUpdated today
    Auto-check passed
  • Rfc Modeling

    mirumee/nimara-ecommerce

    A skill your agent uses when designing, drafting, refining, or stress-testing an RFC for an approved PRD, including requests for a design doc, solution design, or how to build it.

    129 GitHub stars~920 tokensUpdated today
    Auto-check passed
  • Show Me

    mirumee/nimara-ecommerce

    Help the user understand the current topic visually with concise diagrams, code-shape sketches, and focused HTML artifacts.

    129 GitHub starsUsed in 7 repos~809 tokens
    Auto-check passed
  • Bug Retest Triage

    mirumee/nimara-ecommerce

    Retest a reported defect on the live Nimara board (Jira project MS, board 74) and give it an evidence-backed verdict — still reproduces → Open, fixed → Done, blocked → leave In testing and ask.

    129 GitHub stars~888 tokensUpdated today
    Auto-check passed
  • Explore

    mirumee/nimara-ecommerce

    Ways to explore llm-wiki and answer from it. An agent skill from mirumee/nimara-ecommerce.

    129 GitHub stars~436 tokensUpdated today
    Auto-check passed

Works with

Questions about Ucp Agent

What does Ucp Agent do?

Operate Nimara's UCP REST commerce API. An agent skill from mirumee/nimara-ecommerce. Ucp Agent is an agent skill from mirumee/nimara-ecommerce. Operate Nimara's UCP REST commerce API.

When should I use Ucp Agent?

Ucp Agent fits situations like: an agent must discover UCP capabilities; look up products; update a checkout; cancel a checkout.

How do I install Ucp Agent in Claude Code?

Run `npx skills add mirumee/nimara-ecommerce --skill ucp-agent -a claude-code`. Or copy the skill folder (.claude/skills/ucp-agent in mirumee/nimara-ecommerce) into .claude/skills/ucp-agent in your project. Claude Code loads it when a task matches its description.

How do I install Ucp Agent in Codex?

Run `npx skills add mirumee/nimara-ecommerce --skill ucp-agent -a codex`. Or copy the skill folder (.claude/skills/ucp-agent in mirumee/nimara-ecommerce) into .agents/skills/ucp-agent in your project. Codex loads it when a task matches its description.

Can I use Ucp Agent 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 mirumee/nimara-ecommerce --skill ucp-agent -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ucp-agent, .gemini/skills/ucp-agent, .github/skills/ucp-agent and .opencode/skills/ucp-agent in your project.

What does Ucp Agent need to run?

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

Does Ucp Agent 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 Ucp Agent 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 Ucp Agent use?

Ucp Agent is published under the BSD-3-Clause licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Ucp Agent use?

About 1k tokens (SKILL.md is roughly 4.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 4.3k tokens, read only when the agent opens those files.

What are the alternatives to Ucp Agent?

Skills that share tags, products or a category with Ucp Agent: Web Artifacts Builder (anthropics/skills, 180k stars), UI Styling (Ohh-889/skyroc, 795 stars), Shadcn (supabase/evals, 143 stars) and Integrating shadcn/ui Components (google-labs-code/stitch-skills, 8.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Ucp Agent?

mirumee (a GitHub organization) maintains it in mirumee/nimara-ecommerce, which has 129 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 8, 2026.

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