Kotlin Coroutines Flows
affaan-m/ECC
Kotlin Coroutines and Flow patterns for Android and KMP — structured concurrency, Flow operators, StateFlow, error handling, and testing.
The reference merchant agent, covering its flows, staged changes and host approval, metrics grounding, the analysis delegate, store memory, components, and marketplace rules.
$ npx skills add anthropics/commerce-agents --skill commerce-merchant-operations -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install anthropics/commerce-agents commerce-merchant-operations --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/anthropics/commerce-agents.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/commerce-builder/skills/commerce-merchant-operations .claude/skills/commerce-merchant-operations && rm -rf skills-srcUse ~/.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/
Install the "commerce-merchant-operations" agent skill from https://github.com/anthropics/commerce-agents/tree/main/plugins/commerce-builder/skills/commerce-merchant-operations into .claude/skills/commerce-merchant-operations/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "commerce-merchant-operations", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/anthropics/commerce-agents/tree/main/plugins/commerce-builder/skills/commerce-merchant-operationsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add anthropics/commerce-agents --skill commerce-merchant-operations -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install anthropics/commerce-agents commerce-merchant-operations --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/anthropics/commerce-agents.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugins/commerce-builder/skills/commerce-merchant-operations .agents/skills/commerce-merchant-operations && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "commerce-merchant-operations" agent skill from https://github.com/anthropics/commerce-agents/tree/main/plugins/commerce-builder/skills/commerce-merchant-operations into .agents/skills/commerce-merchant-operations/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "commerce-merchant-operations", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add anthropics/commerce-agents --skill commerce-merchant-operations -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install anthropics/commerce-agents commerce-merchant-operations --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/anthropics/commerce-agents.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugins/commerce-builder/skills/commerce-merchant-operations .cursor/skills/commerce-merchant-operations && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "commerce-merchant-operations" agent skill from https://github.com/anthropics/commerce-agents/tree/main/plugins/commerce-builder/skills/commerce-merchant-operations into .cursor/skills/commerce-merchant-operations/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "commerce-merchant-operations", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/anthropics/commerce-agents.git --path plugins/commerce-builder/skills/commerce-merchant-operations--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add anthropics/commerce-agents --skill commerce-merchant-operations -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install anthropics/commerce-agents commerce-merchant-operations --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/anthropics/commerce-agents.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugins/commerce-builder/skills/commerce-merchant-operations .gemini/skills/commerce-merchant-operations && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "commerce-merchant-operations" agent skill from https://github.com/anthropics/commerce-agents/tree/main/plugins/commerce-builder/skills/commerce-merchant-operations into .gemini/skills/commerce-merchant-operations/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "commerce-merchant-operations", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install anthropics/commerce-agents commerce-merchant-operationsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add anthropics/commerce-agents --skill commerce-merchant-operations -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/anthropics/commerce-agents.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugins/commerce-builder/skills/commerce-merchant-operations .github/skills/commerce-merchant-operations && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "commerce-merchant-operations" agent skill from https://github.com/anthropics/commerce-agents/tree/main/plugins/commerce-builder/skills/commerce-merchant-operations into .github/skills/commerce-merchant-operations/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "commerce-merchant-operations", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add anthropics/commerce-agents --skill commerce-merchant-operations -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install anthropics/commerce-agents commerce-merchant-operations --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/anthropics/commerce-agents.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugins/commerce-builder/skills/commerce-merchant-operations .opencode/skills/commerce-merchant-operations && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "commerce-merchant-operations" agent skill from https://github.com/anthropics/commerce-agents/tree/main/plugins/commerce-builder/skills/commerce-merchant-operations into .opencode/skills/commerce-merchant-operations/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "commerce-merchant-operations", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
commerce-merchant-operationsThe reference merchant agent, covering its flows, staged changes and host approval, metrics grounding, the analysis delegate, store memory, components, and marketplace rules.
Commerce Merchant Operations is an agent skill from anthropics/commerce-agents, published by the product's own GitHub organization. The reference merchant agent, covering its flows, staged changes and host approval, metrics grounding, the analysis delegate, store memory, components, and marketplace rules. Load when building or reviewing an agent for the operators of a store, property, subscriber base, or venue.
Its SKILL.md is about 2.1k 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: Reference blueprint for building shopping and merchant agents with Claude. Examples in retail, commerce, telecom, and entertainment included. The licence is Apache-2.0.
7 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit fd4d592. It shows what the files ask for, not the result of running them.
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.
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.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Commerce Merchant Operations loads about 2.1k tokens when it runs. Until then it costs about 78 tokens; SKILL.md has 915 words of instructions outside code blocks.
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.
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.
The full file from anthropics/commerce-agents at commit fd4d592, republished under its Apache-2.0 licence (© anthropics). 915 words, ~2,069 tokens.
.claude/skills/commerce-merchant-operations/SKILL.md (or your agent's skills folder).Paths are in the reference repo: merchant_agent/ is merchant-agent/core/merchant_agent/, merchant_agent_runtime/
is merchant-agent/runtime-messages-api/merchant_agent_runtime/, merchant_agent_sdk/ is
merchant-agent/runtime-agent-sdk/merchant_agent_sdk/, commerce_common/ is commerce-common/commerce_common/.
The merchant agent works with an operator inside their back office over one MerchantBackend (merchant_agent/backend.py).
Its five flows are the skills in merchant-agent/skills/: performance-insights, catalog-listings, inventory-operations,
pricing-promotions, marketing-campaigns. The mechanisms in commerce_common/ are shared; the prompt, tools, gates, and
executor are its own, and every tool result comes back inside MERCHANT_FENCE (merchant_agent/fencing.py).
stage_* tool (stage_listing_update, stage_price_update, stage_inventory_action, stage_promotion,
stage_campaign). Each returns the staged record and a note, emits a change_update event, and, with
stage_shows_preview on (the default, merchant_agent/config.py), emits the change_preview card through the runner
present_change_preview uses (MerchantToolExecutor, merchant_agent/executor.py). The MCP server turns it off
because its executor events do not reach the operator, so the hosted agent calls present_change_preview; that tool
also shows an earlier change again. Live state is untouched until apply_change, which performs the platform write.get_listing read; apply_change and discard_change accept only change ids that staging or get_pending_changes
returned (merchant_agent/gates.py). Showing the preview card marks nothing approved.check_guardrails in merchant_agent/changes.py runs when a change is staged (ChangeLedger.stage, or your backend's
equivalent) and again in check_apply_change (merchant_agent/gates.py) under the config in force at apply time.
The limits are max_items_per_change, max_price_delta_pct, max_promotion_discount_pct, max_restock_quantity,
max_campaign_budget, and max_listing_field_chars in merchant_agent/config.py; the defaults are demonstration values.protected_fields can never be staged, price_bearing_fields are the fields the price cap reads, and
listing_update_blocked_fields may not ride a free-form listing update. A domain that prices under another name
(a nightly rate, a monthly fee, a tier price) appends to these tuples and never replaces them.require_host_approval defaults to True: apply_change succeeds only for an id in MerchantSessionState.approved_change_ids,
which only host code writes. The three surfaces in the repo are the portal's /changes/{change_id}/apply route
(examples/demo_common/merchant.py), MerchantToolset.host_approve (merchant_agent_sdk/merchant_tools.py, prompted
per change by merchant-agent/runtime-agent-sdk/main.py), and always_ask on apply_change in the hosted manifest;
there the MCP server's config sets require_host_approval=False (its default_config does; a config you pass
must too, or every apply is held). An approval typed into the chat sets nothing.require_host_approval and approval_surface render into the static prompt and into refusals, so they are set per
deployment and a change to either is a redeploy (commerce-prompt-caching). Name the real surface in approval_surface.ChangeNotApplicable (merchant_agent/changes.py) and the executor
relays it; the tool stays registered. Applied and discarded changes stay queryable as the audit trail, each stamped
with the operator from MerchantSessionContext.operator, which a production host derives from its authentication.get_business_snapshot, and a change request carrying an apply phrase with nothing
staged this session forces get_pending_changes (GROUNDING_RULES in merchant_agent/grounding.py; lexicons and
flags in merchant_agent/config.py, appended to and never replaced).change_requested and ended on bare text, with no stage_* attempt and no present_suggestions
close, gets STAGING_FOLLOWTHROUGH_REMINDER once, as a user message (merchant_agent/gates.py; applied in
merchant_agent_runtime/orchestrator.py and merchant_agent_sdk/agent.py); the reminder text is excluded from memory extraction.present_metrics joins each pick from the snapshot, a queried series, a campaign, or a recorded analysis and drops the
rest with a note (resolve_metrics in merchant_agent/enrichment.py), so a card never carries a model-authored figure.enable_analysis (default off) registers run_analysis, a DelegateExtension built by build_analysis_delegate in
merchant_agent_runtime/analysis.py. The delegate's tools are a submit tool, a progress tool, the ANALYSIS_READ_TOOLS
(merchant_agent/analysis.py), and a query tool when the backend implements MerchantBackend.execute_analysis_query
(analysis_sql_only then leaves the per-series reads off). It holds no staging tool; its result is recorded in
seen_analyses and rendered as its own metrics card.check_analysis_sql refuses anything other than one SELECT without comments before the backend runs it; the backend owns
the read-only role and merchant scoping; analysis_query_timeout_s and cap_analysis_table (max_analysis_rows,
max_analysis_table_chars) bound each query, and analysis_timeout_s, max_analysis_iterations, and
max_delegate_calls_per_turn bound the run.analysis_use_code_execution mounts the hosted sandbox and works on the Anthropic API only (including a Foundry deployment hosted on Anthropic); the query method works
everywhere (docs/deployment.md). On the Agent SDK the same contract is a subagent whose tools are exactly the read
tools (build_analysis_agent in merchant_agent_sdk/agent.py).merchant-agent/managed-agents/scheduled-digest/run_morning_digest.py).merchant_id (memory_subject in merchant_agent/executor.py); the extraction prompt in
merchant_agent/memory.py admits what the operator stated about running the operation and excludes anything from
listings, reviews, buyer messages, or metrics and anything about an identifiable customer. The write filter,
retention, delete, purge, and enable_memory are the shared rules (commerce-trust-safety).merchant_agent/enrichment.py) are present_metrics, present_digest, present_change_preview,
and present_suggestions; under host approval the prompt says no chip approves or applies. A vertical adds its own
(present_occupancy_calendar, present_plan_mix, present_event_pacing in the examples) as extensions (commerce-ui-tools).SearchFilters.attributes) that the components show, and
search_policies results state whose terms they are when platform and seller terms differ.merchant_id; a shopper's facts are keyed by the shopper.© anthropics, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in plugins/commerce-builder/skills/commerce-merchant-operations of anthropics/commerce-agents.
Open the folder on GitHubat commit fd4d592
Commerce Merchant Operations 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Commerce Merchant Operations this skillanthropics/commerce-agents | 3.2k | — | ~2.1k | Automated safety check: Pass | Apache-2.0 | |
| Kotlin Coroutines Flowsaffaan-m/ECC | 276k | 4 repos | ~2k | Automated safety check: Pass | MIT | |
| Kotlin Coroutines Flowsaffaan-m/ECC | 276k | — | ~1.7k | Automated safety check: Pass | MIT | |
| Channel Message Flowsopenclaw/openclaw | 392k | — | ~306 | Automated safety check: Pass | MIT | |
| Login Flownexu-io/open-design | 100k | — | ~334 | Automated safety check: Pass | Apache-2.0 | |
| Project Flow Opsaffaan-m/ECC | 276k | 3 repos | ~787 | Automated safety check: Pass | MIT |
affaan-m/ECC
Kotlin Coroutines and Flow patterns for Android and KMP — structured concurrency, Flow operators, StateFlow, error handling, and testing.
affaan-m/ECC
Android および KMP 向けの Kotlin コルーチンと Flow パターン — 構造化並行性、Flow オペレーター、StateFlow、エラーハンドリング、テスト。
openclaw/openclaw
A skill your agent uses when running QA Lab channel message flow evidence.
nexu-io/open-design
Mobile login and authentication flow screens. An agent skill from nexu-io/open-design.
affaan-m/ECC
Operate execution flow across GitHub and Linear by triaging issues and pull requests, linking active work, and keeping GitHub public-facing while Linear remains the internal execution layer.
nexu-io/open-design
A lo-fi multi-screen MOBILE flow wireframe — three or four phone frames laid out in a row on a board, showing a connected user flow (Onboarding → Home feed → Item detail → Confirm).
anthropics/commerce-agents
Authoring and running behavioral evals for a shopping or merchant agent, covering the case shape, authoring rules, code graders and judges, the run pattern, and poisoned fixtures.
anthropics/commerce-agents
Creating and improving listing content, covering titles, descriptions, attribute completeness, categorization fixes, image callouts written as text, edits written from material the operator…
anthropics/commerce-agents
How the reference commerce agents of either role are structured, covering the loop, where each rule lives, skills, the backend interface, delegates, and model fields.
anthropics/commerce-agents
The reference agents' cache-stable request assembly, covering the static system and per-request context split, the fixed tool list, the rolling conversation breakpoint, which config fields are…
anthropics/commerce-agents
The rules the reference agents enforce in code for third-party content, writes, grounding, identity, and memory, each with its module, plus two adversarial-eval rules.
anthropics/commerce-agents
The reference presentation-tool contract, covering server-side enrichment, suggestion chips, the event stream, progressive rendering, both roles' built-in components, and adding a vertical component.
The reference merchant agent, covering its flows, staged changes and host approval, metrics grounding, the analysis delegate, store memory, components, and marketplace rules. Commerce Merchant Operations is an agent skill from anthropics/commerce-agents, published by the product's own GitHub organization. The reference merchant agent, covering its flows, staged changes and host approval, metrics grounding, the analysis delegate, store memory, components, and marketplace rules.
Run `npx skills add anthropics/commerce-agents --skill commerce-merchant-operations -a claude-code`. Or copy the skill folder (plugins/commerce-builder/skills/commerce-merchant-operations in anthropics/commerce-agents) into .claude/skills/commerce-merchant-operations in your project. Claude Code loads it when a task matches its description.
Run `npx skills add anthropics/commerce-agents --skill commerce-merchant-operations -a codex`. Or copy the skill folder (plugins/commerce-builder/skills/commerce-merchant-operations in anthropics/commerce-agents) into .agents/skills/commerce-merchant-operations in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add anthropics/commerce-agents --skill commerce-merchant-operations -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/commerce-merchant-operations, .gemini/skills/commerce-merchant-operations, .github/skills/commerce-merchant-operations and .opencode/skills/commerce-merchant-operations in your project.
SKILL.md names no scripts, command-line tools or credentials: Commerce Merchant Operations is instructions for the agent only.
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.
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.
Commerce Merchant Operations is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.1k tokens (SKILL.md is roughly 8.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Commerce Merchant Operations: Kotlin Coroutines Flows (affaan-m/ECC, 276k stars), Kotlin Coroutines Flows (affaan-m/ECC, 276k stars), Channel Message Flows (openclaw/openclaw, 392k stars) and Login Flow (nexu-io/open-design, 100k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
anthropics (a GitHub organization, an official publisher) maintains it in anthropics/commerce-agents, which has 3,198 GitHub stars. The repository holds 16 skills in this directory. The repository was last updated on October 2, 2026.
Source: anthropics/commerce-agents on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.