sanad-agent: Skill for Codex

.agents/skills/install-sanad/SKILL.md

install-sanad is a skill for Codex from EastStarAI/sanad-agent. It costs 82 tokens per session (2,072 once invoked), scanned C, original, MIT.

An installation guide for Sanad, a client-and-agent software system, on macOS, Windows, or Linux. It covers both normal releases and development copies of the source code.

In plain words
What is it for?
Inspecting a machine, installing or updating Sanad, setting up its local or remote Agent, and preparing a source checkout for development.
Why use it?
It reduces the risk of changing the wrong installation, losing uncommitted work, or exposing access credentials during setup and updates.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

This is EastStarAI/sanad-agent's own configuration. It tells Codex how to work on sanad-agent itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything sanad-agent configures →

Reuse

Borrowing it

Nothing to install: this file belongs to EastStarAI/sanad-agent. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/EastStarAI/sanad-agent/main/.agents/skills/install-sanad/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/EastStarAI/sanad-agent

Made for: 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 install-sanad

README.md
[![agentmods](https://agentmods.dev/badge/skills/eaststarai/sanad-agent/install-sanad/github.svg)](https://agentmods.dev/skills/eaststarai/sanad-agent/install-sanad)
Your own site
<a href="https://agentmods.dev/skills/eaststarai/sanad-agent/install-sanad"><img src="https://agentmods.dev/badge/skills/eaststarai/sanad-agent/install-sanad/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 install-sanad

Your own site · 80×15
<a href="https://agentmods.dev/skills/eaststarai/sanad-agent/install-sanad"><img src="https://agentmods.dev/badge/skills/eaststarai/sanad-agent/install-sanad.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,072 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00082 $0.02072
Opus 5 $0.00041 $0.01036
Sonnet 5 $0.00016 $0.00414
Haiku 4.5 $0.00008 $0.00207

Measured 11d ago against content hash 68d2977e140a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade C, and why

install-sanad scanned grade C with 2 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 11d 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -fsSL https://sanad.eaststarai.com/install.sh | bash -s -- --login

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsSL https://sanad.eaststarai.com/install.sh | bash -s -- --login
.agents/skills/install-sanad/SKILL.md · 219 lines

How it starts

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

Install Sanad

Guide the user from inspection through a verified Sanad installation or update. Keep the release-user and developer-source workflows separate.

Safety Rules

  • Inspect before changing anything. Treat installation, package replacement, service registration, application launch, and Git updates as mutations that require the user's informed approval.
  • Never search an entire home directory or disk for a checkout. Inspect the current directory, a path supplied by the user, and standard installed-command locations only. Ask for the project path when it cannot be identified safely.
  • Never overwrite, reset, clean, stash, commit, or discard a dirty repository unless the user explicitly authorizes that exact action.
  • Never request, quote, log, or reconstruct a pairing token, access token, refresh token, provider credential, signing secret, or user content.
  • Use only official Sanad sources:
    • repository: https://github.com/EastStarAI/sanad-agent
    • releases: https://github.com/EastStarAI/sanad-agent/releases/latest
    • installers: https://sanad.eaststarai.com/install.sh and https://sanad.eaststarai.com/install.ps1
  • Do not disable operating-system security controls. Read the latest release notes before describing current signing or platform support.
  • Preserve Sanad Home and user workspaces during installation and update.

1. Inspect the Target

Establish whether commands will run on the user's current machine or a remote machine. Do not assume that the machine hosting Sanad Client is the machine that should host Sanad Agent.

Collect read-only evidence:

  1. Identify the operating system and architecture.
  2. Check whether sanad and sanad-dev resolve on PATH.
  3. Check the installer-owned executable when relevant:
    • macOS/Linux: ${SANAD_HOME:-$HOME/.sanad}/bin/sanad
    • Windows: $env:SANAD_HOME\bin\sanad.exe, or $HOME\.sanad\bin\sanad.exe when SANAD_HOME is unset.
  4. If the current or supplied directory is a Git checkout, inspect: git rev-parse --show-toplevel, git remote -v, git status --short --branch, and git worktree list. Accept it as Sanad source only when its repository identity matches EastStarAI/sanad-agent or the user confirms an intentional fork.
  5. Query installed versions and service status only through a resolved Sanad executable. Do not fail merely because sanad is absent from PATH.

Read the full file on GitHub · 219 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago First seen · 219 lines · 82 tokens per session scan C 68d2977e140a

Subscribe to this mod's changes

install-sanad is a skill published in the GitHub repository EastStarAI/sanad-agent (44 stars, last pushed yesterday), licensed MIT. It adds 82 tokens to every session and 2,072 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.