dsc-scenario

dsc-scenario is a skill for Claude Code from j-256/agent-skills. It costs 69 tokens per session (11,836 once invoked), scanned A, original, MIT.

A planner for multi-step Salesforce API scenarios. It lays out the calls needed for a goal, including their order, required permissions, and identifiers passed from one call to the next.

In plain words
What is it for?
Use it to plan flows such as adding an item and checking out, identify required OAuth scopes, trace basket or customer IDs, and produce runnable cURL commands.
Why use it?
It helps explain why a target API request may fail when earlier setup calls, access scopes, or IDs are missing. It turns a desired customer flow or sample request into an executable sequence.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

Part of the dsc plugin — 3 skills shipped together

Good fit Use it to plan flows such as adding an item and checking out, identify required OAuth scopes, trace basket or customer IDs, and produce runnable cURL commands.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/j-256/agent-skills/dsc-scenario
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add j-256/agent-skills --skill dsc-scenario
Clone the repo
git clone --depth 1 https://github.com/j-256/agent-skills

Made for: Claude Code.

Or install dsc, the plugin that ships this one along with the rest of its 3 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for dsc-scenario

README.md
[![agentmods](https://agentmods.dev/badge/skills/j-256/agent-skills/dsc-scenario/github.svg)](https://agentmods.dev/skills/j-256/agent-skills/dsc-scenario)
Your own site
<a href="https://agentmods.dev/skills/j-256/agent-skills/dsc-scenario"><img src="https://agentmods.dev/badge/skills/j-256/agent-skills/dsc-scenario/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for dsc-scenario

Your own site · 80×15
<a href="https://agentmods.dev/skills/j-256/agent-skills/dsc-scenario"><img src="https://agentmods.dev/badge/skills/j-256/agent-skills/dsc-scenario.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 11,836 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00069 $0.11836
Opus 5 $0.00034 $0.05918
Sonnet 5 $0.00014 $0.02367
Haiku 4.5 $0.00007 $0.01184

Measured 10d ago against content hash 4900346303b6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

dsc-scenario scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

The scan reads SKILL.md. This mod also ships 48 executable files (scripts/build-body.js, scripts/compose.js, scripts/curated-body.js, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

**`scenario.js` owns all cache access – decide nothing by reading the cache yourself.** Before your first move: do not use shell commands, file-reading tools, or ad hoc parsers (`python3 json.load`, `node -e`) on files u
plugins/dsc/skills/dsc-scenario/SKILL.md · 335 lines

How it starts

The opening of the file, as written. The whole thing — 335 lines — stays where its author put it; the contents beside it link to each section on GitHub.

DSC Scenario Composer

Produce a plan of SCAPI / OCAPI calls – in order, with scope union, ID threading, and a runnable cURL block – to reach a target state. Every claim backed by a public developer.salesforce.com URL.

When to use

The user is trying to reproduce a customer flow on an instance and needs to know:

  • Which API calls must happen before the target operation can succeed.
  • Which scopes the instance's SLAS/OAuth client must be configured with.
  • Where each input to the target (basket IDs, customer IDs, line-item IDs) comes from.

Or the user pastes a cURL command and asks "what else do I need to call to make this work."

Inputs

Ask for missing bits only when the skill can't proceed:

  • Target – one of:
    • An operationId (createOrder, shopper-baskets.addItemToBasket).
    • A natural-language goal ("registered shopper adds a coupon and checks out"). You resolve this to an operationId by matching against _index.json.title + Summary prose across cached references; ask the user to confirm before proceeding.
    • A sample request (cURL, raw HTTP). Pass it to scenario.js as request (in place of target) and it resolves the slug for you – it parses the request and matches it against the reference referenceUrl names, the same parse-request.js + resolve-slug.js path dsc-endpoint-help uses. You still supply referenceUrl (deriving it from a bare cURL is out of scope); if the request can't be resolved, scenario.js exits non-zero – ask the user for the reference URL rather than guessing (see "Decline, don't fabricate").
  • Reference URL – the developer.salesforce.com URL of the reference containing the target. Usually inferrable from the request path or operationId's reference prefix.

Resolving an OCAPI target you can't name the reference for. OCAPI reference slugs are not guessable (ocapi-shop-orders, ocapi-data-code-versions – there is no ocapi-shop-api; guessing 404s). When the user gives a METHOD + path ("OCAPI shop, POST /orders", "submit a basket via POST /orders") but not the reference slug, resolve it deterministically with resolve-target.js – pass the area-landing URL (https://developer.salesforce.com/docs/commerce/b2c-commerce/references) plus the method and path; it scans the landing and returns the exact {reference, slug, referenceUrl} to hand to scenario.js:

Read the full file on GitHub · 335 lines

Files

What ships with it

60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 335 lines · 69 tokens per session scan A 4900346303b6

Subscribe to this mod's changes

dsc-scenario is a skill published in the GitHub repository j-256/agent-skills (2 stars, last pushed 7d ago), licensed MIT. It adds 69 tokens to every session and 11,836 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

add-matrix

Add Matrix channel integration via Chat SDK. Works with any Matrix homeserver.

nanocoai/nanoclaw · 19 tokens

django-storages-s3

Use when configuring Django to store static and media files on AWS S3 with django-storages. Invoke when working with the STORAGES setting, S3 buckets, presigned URLs, CloudFront, or boto3-backed file storage in settings.py. Configures the Django 4.2+ STORAGES dict, public/private custom backends, presigned GET/POST…

Jeffallan/claude-skills · 138 tokens

laravel-specialist

Build and configure Laravel 10+ applications, including creating Eloquent models and relationships, implementing Sanctum authentication, configuring Horizon queues, designing RESTful APIs with API resources, and building reactive interfaces with Livewire. Use when creating Laravel models, setting up queue workers…

Jeffallan/claude-skills · 86 tokens

sns

AWS SNS notification service for pub/sub messaging. Use when creating topics, managing subscriptions, configuring message filtering, sending notifications, or setting up mobile push.

itsmostafa/aws-agent-skills · 32 tokens

cognito

AWS Cognito user authentication and authorization service. Use when setting up user pools, configuring identity pools, implementing OAuth flows, managing user attributes, or integrating with social identity providers.

itsmostafa/aws-agent-skills · 38 tokens

liveview-patterns

Build LiveView: async data (assignasync), PubSub (check connected?), phx-change events, form components/modals/uploads, streams for lists, livepatch. Use when handling interactions, debugging events, or tracking Presence.

oliver-kriska/claude-elixir-phoenix · 51 tokens