sa-cli

sa-cli is a skill for Claude Code, Codex from netgrade-digital/shared-agents. It costs 69 tokens per session (3,506 once invoked), scanned A, original, MIT.

A command-line guide for shared-agents, a terminal tool used to install, sync, check, and manage shared coding-agent resources. It includes setup instructions and troubleshooting commands.

In plain words
What is it for?
Use it to learn commands such as install, sync, status, check, review, and uninstall, configure the shared-agents directory, and verify team-repository setup.
Why use it?
It gives developers one reference for running the tool and completing its initial setup. It also helps diagnose problems after installation or synchronization.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is # or after clone: ./scripts/bootstrap.sh · sa bootstrap.

Good fit Use it to learn commands such as install, sync, status, check, review, and uninstall, configure the shared-agents directory, and verify team-repository setup.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/netgrade-digital/shared-agents
agentmods
npx agentmods add skills/netgrade-digital/shared-agents/sa-cli

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/netgrade-digital/shared-agents/sa-cli/github.svg)](https://agentmods.dev/skills/netgrade-digital/shared-agents/sa-cli)
Your own site
<a href="https://agentmods.dev/skills/netgrade-digital/shared-agents/sa-cli"><img src="https://agentmods.dev/badge/skills/netgrade-digital/shared-agents/sa-cli/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 sa-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/netgrade-digital/shared-agents/sa-cli"><img src="https://agentmods.dev/badge/skills/netgrade-digital/shared-agents/sa-cli.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 3,506 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. ✓ AI security review Sonnet 5 · 7 Sept 2026 📄 Read the review
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.03506
Opus 5.5 $0.00028 $0.01402
Sonnet 5.5 $0.00014 $0.00701
Haiku 4.5 $0.00007 $0.00351

Measured 1mo ago against content hash a50327d8b98e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sa-cli scanned grade A with 0 findings 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 1mo ago.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/sa-cli/SKILL.md · 389 lines

How it starts

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

shared-agents CLI (sa)

Canonical live help: run sa or sa help — prefer that over memorizing flags.

sa                  # help overview (default)
sa help             # same
shared-agents …     # alias
sharedagents …      # alias

Without shell aliases (agents, CI, fresh shell):

"${SHARED_AGENTS_HOME:-$HOME/.shared-agents}/scripts/sa" help

Repo root (dev checkout): ./sa · ./sa install

Env: SHARED_AGENTS_HOME (default ~/.shared-agents) · Version: sa version


First-time setup

Recommended (Core + private team repo + adapters):

curl -fsSL https://raw.githubusercontent.com/netgrade-digital/shared-agents/refs/heads/main/scripts/bootstrap.sh | bash
# Piped curl uses /dev/tty for the wizard when possible (TUI or text prompts).
# Force auto-install only: SA_BOOTSTRAP_NON_INTERACTIVE=1 curl … | bash
# or after clone: ./scripts/bootstrap.sh  ·  sa bootstrap
source ~/.bashrc
sa check
sa team verify    # optional but useful after bootstrap

Classic (Core only, then wizard — team repo optional in wizard):

git clone [email protected]:netgrade/shared-agents.git ~/.shared-agents
cd ~/.shared-agents
./sa install
source ~/.bashrc

From dev checkout without ~/.shared-agents yet: ./sa install — wizard runs before clone; cancel leaves no ~/.shared-agents.

New AI tool installed? → run sa install again.


Commands (overview)

Area Command Summary
Info sa · sa help All commands
Info sa version CLI version + HOME
Setup sa bootstrap Full first-time setup (Core + team + adapters)
Setup sa install Setup wizard (default in TTY)
Setup sa install --non-interactive All detected tools, no prompts
Setup sa install --wizard Wizard explicitly
Setup sa check Tool installed vs configured (+ team warnings)
Setup sa sync Pull Core + team; link skills + rules
Setup sa status Open items: review, skills, adapters, team
Setup sa doctor Diagnose symlink / rule link issues
Setup sa doctor --fix Repair (backup + relink blocking rule files)
Setup sa team verify Deep team repo validation
Setup sa team migrate Legacy learnings/ → team/learnings/
Setup sa uninstall Uninstall (y/N)
Learnings sa review Interactive: pending → approved
Learnings sa review list Pending list
Learnings sa review dry [file] Dry-run
Learnings sa pending push [file] Commit + push pending
Learnings sa pending path [slug] Canonical pending path
Learnings sa unapprove [id|file] Remove from approved
Learnings sa unapprove list Approved list
Team content sa skill new Wizard: team/skills/<name>/SKILL.md
Team content sa skill rm [name] Remove team skill
Team content sa skill list List team skills
Team content sa skill edit [name] Edit team skill (opens $EDITOR)
Team content sa rule new Wizard: team/rules/<slug>.mdc
Team content sa rule rm [slug] Remove team rule
Team content sa rule list List team rules
Team content sa rule edit [slug] Edit team rule (opens $EDITOR)

Read the full file on GitHub · 389 lines

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. 1mo ago First seen · 389 lines · 69 tokens per session scan E a50327d8b98e

Subscribe to this mod's changes

sa-cli is a skill published in the GitHub repository netgrade-digital/shared-agents (5 stars, last pushed yesterday), licensed MIT. It adds 69 tokens to every session and 3,506 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. 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

user-research-cookiy

End-to-end user research assistant — qualitative and quantitative. Use this skill whenever the user mentions user research, user interviews, discussion guides, interview guides, research plans, qualitative research, quantitative research, user surveys, survey design, usability studies, participant recruitment…

cookiy-ai/user-research-skill · 154 tokens

Agent Browser Automation

Fast Rust-based headless browser automation CLI with Node.js fallback for AI agents, featuring navigation, clicking, typing, snapshots, and structured commands optimized for agent workflows.

PramodDutta/qaskills · 37 tokens

best-practices

Transforms vague prompts into optimized Claude Code prompts. Adds verification, specific context, constraints, and proper phasing. Invoke with /best-practices.

MoizIbnYousaf/Ai-Agent-Skills · 35 tokens

code-documentation

Writing effective code documentation - API docs, README files, inline comments, and technical guides. Use for documenting codebases, APIs, or writing developer guides.

MoizIbnYousaf/Ai-Agent-Skills · 35 tokens

curate-a-team-library

Use when building a managed team skills library for a real stack. Map work to shelves, browse before curating, write meaningful whyHere notes, and create a starter pack once the first pass is solid.

MoizIbnYousaf/Ai-Agent-Skills · 49 tokens

migrate-skills-between-libraries

Use when moving skills between library workspaces or upgrading from a personal library to a team library. Export from one workspace, import into another.

MoizIbnYousaf/Ai-Agent-Skills · 36 tokens