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.
git clone --depth 1 https://github.com/netgrade-digital/shared-agentsnpx agentmods add skills/netgrade-digital/shared-agents/sa-cliWrote 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.
[](https://agentmods.dev/skills/netgrade-digital/shared-agents/sa-cli)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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) |
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.
- 1mo ago First seen · 389 lines · 69 tokens per session scan E a50327d8b98e
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.
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…
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.
best-practices
Transforms vague prompts into optimized Claude Code prompts. Adds verification, specific context, constraints, and proper phasing. Invoke with /best-practices.
code-documentation
Writing effective code documentation - API docs, README files, inline comments, and technical guides. Use for documenting codebases, APIs, or writing developer guides.
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.
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.