sasjs-cli SKILL.md skillA

sasjs-cli from sasjs/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add sasjs/skills/sasjs-cli@git:20261027.fdf3d8b

Pins git:20261027.fdf3d8b in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
sasjs/skills
Path
sasjs-cli/SKILL.md
Versions recorded
7
Latest version
git:20261027.fdf3d8b, committed Oct 27, 2026
First version recorded
Sep 3, 2026
Size
19,512 bytes
Repository stars
3
License
MIT

Using the SASjs CLI (@sasjs/cli) to create, compile (whole project or a single file), build, deploy, run, and test SASjs projects against SAS 9, Viya, and SASjs server targets. Use for any `sasjs <command>` usage, CI/CD pipelines, target/auth config, sasjsconfig.json, service packs, or frontend streaming builds.

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/cli

The SASjs CLI (`npm i -g @sasjs/cli`, invoked as `sasjs`) automates compiling, building, and deploying SAS projects. Most commands take `-t <target>` to select a target from `sasjsconfig.json`, and fall back to the default target when it is omitted; the ones that never touch a server (`lint`, `db`, `create`, `init`, `doc init`) have no target option at all.

Checked against `@sasjs/cli` 6.2.5. Flags are read from the installed CLI's own `--help`, so re-check `sasjs <command> --help` before relying on a flag that is not listed here.

## Targets and auth

- A **target** = `{ name, serverUrl, serverType, appLoc }`. `serverType` is one of `SAS9`, `SASVIYA`, `SASJS`.
- Credentials: `sasjs add cred` (or a local env file). Viya uses client/secret **or** `sasjs auth login` (user/pass, no client/secret needed - see below); SAS 9 uses user/pass; SASJS server uses an access token.
- `sasjs context` manages Viya compute contexts; `sasjs add target` adds a new target.

## Core workflow

```
sasjs create myapp        # scaffold a new app (templates available)
sasjs compile             # gather macros/services/jobs into per-file build outputs (sasjsbuild/)
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add sasjs/skills/sasjs-cli@sha256:9eed4187210b2cbd

The line at the top of this page pins the label git:20261027.fdf3d8b, 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_mckspmlyvvs5stqz.svg)](https://markdownregistry.com/a/art_mckspmlyvvs5stqz)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 7 versions of this file, between Sep 3, 2026 and Oct 27, 2026, about one every 9 days.

versioncommittedcommitsizeaudit
git:20261027.fdf3d8b latest2026-10-27 fdf3d8b 19,512 BA view · diff
git:20260921.4fac6122026-09-21 4fac612 14,551 BA view · diff
git:20260915.9f139732026-09-15 9f13973 13,948 BA view · diff
git:20260915.398399c2026-09-15 398399c 14,692 BA view · diff
git:20260915.75cc1862026-09-15 75cc186 14,759 BA view · diff
git:20260911.d5a715e2026-09-11 d5a715e 14,749 BA view · diff
git:20260903.47261432026-09-03 4726143 14,015 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (19512 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
  • pass: No script tag

Source

GitHub

sasjs/skills · 3 stars · license MIT · pushed 2026-11-03 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_mckspmlyvvs5stqz
GET https://markdownregistry.com/api/v1/resolve?ref=sasjs/skills/sasjs-cli
GET https://markdownregistry.com/api/v1/blob/9eed4187210b2cbd1db08744793dd38b09cb6a472de0ea5728dc672d36acd073

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.

More from sasjs/skills

sas-packages SKILL.md skill
sasjs/skills · sas-packages/SKILL.md · Installing, loading and unloading SAS packages with the SAS Packages Framework (SPF) and the SASPAC archive - the…
git:20260925.6f49a2b · audit A · 3 stars
sas SKILL.md skill
sasjs/skills · sas/SKILL.md · Expert guidance for the SAS programming language - DATA step, PROC SQL, macro language, formats, ODS, and common…
git:20261103.7a7a8d4 · audit A · 3 stars
sasjs-adapter SKILL.md skill
sasjs/skills · sasjs-adapter/SKILL.md · Frontend/Node integration with SAS backends using @sasjs/adapter - configuring the SASjs class, the exact request()…
git:20260915.398399c · audit B · 3 stars
sasjs-core SKILL.md skill
sasjs/skills · sasjs-core/SKILL.md · Standards and conventions for the @sasjs/core SAS macro library (mf_*, mp_*, mm*, ms_*, mv_* macros). Use when writing…
git:20261103.7a7a8d4 · audit A · 3 stars
sasjs-framework SKILL.md skill
sasjs/skills · sasjs-framework/SKILL.md · Building full SASjs applications - project structure, sasjsconfig.json, services/jobs/macros folders, multi-target (SAS…
git:20260921.4fac612 · audit A · 3 stars
sasjs-lint SKILL.md skill
sasjs/skills · sasjs-lint/SKILL.md · Linting and formatting SAS code with @sasjs/lint - the .sasjslint rules and their defaults, the macro-declaration rules…
git:20261027.33cff4c · audit A · 3 stars
sasjs-server SKILL.md skill
sasjs/skills · sasjs-server/SKILL.md · Installing, configuring, and running @sasjs/server - the open-source NodeJS wrapper around the SAS binary that provides…
git:20261101.6faff03 · audit B · 3 stars

Every file in sasjs/skills

Browse by kind, by grade A, or by owner.