sasjs-adapter SKILL.md skillB
sasjs-adapter from sasjs/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add sasjs/skills/sasjs-adapter@git:20260915.398399cPins git:20260915.398399c in mdr.lock. Pin the fingerprint instead.
- Audit grade
- B, 16 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- sasjs/skills
- Path
sasjs-adapter/SKILL.md- Versions recorded
- 5
- Latest version
- git:20260915.398399c, committed Sep 15, 2026
- First version recorded
- Aug 16, 2026
- Size
- 10,493 bytes
- Repository stars
- 3
- License
- MIT
Frontend/Node integration with SAS backends using @sasjs/adapter - configuring the SASjs class, the exact request() inputs and response shape, authentication, file upload, and session management. Use when writing TypeScript/JavaScript that calls SAS services or jobs.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# @sasjs/adapter
`@sasjs/adapter` is the TypeScript library for calling SAS services/jobs from browsers or Node, with a unified API across three server types: `SAS9`, `SASVIYA`, `SASJS`.
## Basic setup
```ts
import SASjs from '@sasjs/adapter'
const sasjs = new SASjs({
serverUrl: 'https://sas.example.com',
serverType: 'SASVIYA', // SAS9 | SASVIYA | SASJS
appLoc: '/Public/app/myapp', // root folder of deployed services
contextName: 'SAS Job Execution compute context', // Viya only
debug: false
})
```
## request() - inputs (JS -> SAS)
### Signature
```ts
sasjs.request(
sasJob: string,
data: { [key: string]: any[] } | null,
config?: { [key: string]: any }, // merged over SASjsConfig
loginRequiredCallback?: () => any,
authConfig?: AuthConfig, // Viya tokens for Node usage
extraResponseAttributes?: ExtraResponseAttributes[] // ['log'] | ['file'] | ['data']
)
```
- `sasJob`: relative path (no leading slash) resolved against `appLoc`, or an absolute path. Becomes the SAS `_program` parameter.
- `data`: an object whose keys become **work datasets in SAS**. Can be `null` if the service takes no input.
…Read the whole file at its exact version.
How to install
mdr add sasjs/skills/sasjs-adapter@sha256:c6c5d4b49649a294The line at the top of this page pins the label git:20260915.398399c, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_zvsx6ddxpy7kpbge)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Aug 16, 2026 and Sep 15, 2026, about one every 8 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260915.398399c latest | 2026-09-15 | 398399c | 10,493 B | B | view · diff |
| git:20260903.3b71ba7 | 2026-09-03 | 3b71ba7 | 10,544 B | B | view · diff |
| git:20260828.129e184 | 2026-08-28 | 129e184 | 9,995 B | B | view · diff |
| git:20260817.a113636 | 2026-08-17 | a113636 | 3,902 B | B | view · diff |
| git:20260816.5fa831b | 2026-08-16 | 5fa831b | 3,920 B | B | view |
Audit of the latest version
- fail: No script tag (matched: <script)
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (10493 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.
Source
sasjs/skills · 3 stars · license MIT · pushed 2026-11-03 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_zvsx6ddxpy7kpbge GET https://markdownregistry.com/api/v1/resolve?ref=sasjs/skills/sasjs-adapter GET https://markdownregistry.com/api/v1/blob/c6c5d4b49649a2945133a49b0da0d8c241105f7200544a8b8af7c4c8b9d70170
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.