request-routing

Route SAS Viya actions to appropriate tooling by resource reference.

1|Updated Jan 5, 2026
One-click install
npx skills add https://github.com/sassoftware/sas-score-mcp-serverjs --skill request-routing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: request-routing
Source: https://github.com/sassoftware/sas-score-mcp-serverjs/tree/main/.skills/skills/request-routing
Command: npx skills add https://github.com/sassoftware/sas-score-mcp-serverjs --skill request-routing

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Route SAS Viya requests to the correct tooling based on the resource reference.

Core Features & Use Cases

  • Canonical routing for read, query, score, describe, and list operations across MAS models, jobs, jobdefs, SCRs, and tables.
  • Resource-verification-first workflow that ensures resources exist before execution and maps dotted references (a.b) to the appropriate resource type.
  • Quick strategy routing and standardized responses to support orchestration and decision-making.

Quick Start

Provide a sample request such as route Public.customers to read and observe the routing decision.

Frequently Asked Questions about request-routing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I route SAS Viya actions to the correct tool using a resource reference?

Route SAS Viya actions by mapping dotted references like a.b to the correct resource type. The canonical routing workflow maps read, query, score, describe, and list operations to MAS models, jobs, jobdefs, SCRs, CAS models, and tables.

What is the canonical workflow for executing read and score operations on SAS Viya resources?

The canonical workflow enforces resource-verification-first execution, ensuring resources exist before invocation. It standardizes tool invocation for read and score operations across SAS Viya MAS models, CAS models, and tables, returning a concise strategy summary.

Does SAS Viya routing support list and describe operations for both MAS and CAS models?

Yes, SAS Viya routing supports list and describe operations across both MAS and CAS models. It also handles jobs, jobdefs, SCRs, and tables, mapping dotted resource references to the appropriate resource type for standardized invocation.

What's the best way to verify a SAS Viya resource exists before executing a query?

Use a resource-verification-first workflow to verify a SAS Viya resource exists before executing a query. This pre-execution verification step maps the dotted reference to the correct resource type and ensures reliable orchestration.

Can I use dotted references like a.b to route SAS Viya jobs and tables?

Yes, you can use dotted references like a.b to route SAS Viya jobs and tables. The routing mechanism parses the reference and maps it to the correct resource type to determine the appropriate tooling for the operation.

Why does my SAS Viya routing strategy fail to execute operations on SCRs and jobdefs?

SAS Viya routing strategy may fail if pre-execution verification cannot locate the referenced SCRs or jobdefs. The workflow requires resources to exist before execution and enforces standardized tool invocation to prevent routing errors.