Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add AmineDjeghri/personal-os-setup --skill pre-install-auditgit clone --depth 1 https://github.com/AmineDjeghri/personal-os-setupWrote 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/aminedjeghri/personal-os-setup/pre-install-audit)<a href="https://agentmods.dev/skills/aminedjeghri/personal-os-setup/pre-install-audit"><img src="https://agentmods.dev/badge/skills/aminedjeghri/personal-os-setup/pre-install-audit/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/aminedjeghri/personal-os-setup/pre-install-audit"><img src="https://agentmods.dev/badge/skills/aminedjeghri/personal-os-setup/pre-install-audit.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.00028 | $0.00949 |
| Opus 5.5 | $0.00011 | $0.00380 |
| Sonnet 5.5 | $0.00006 | $0.00190 |
| Haiku 4.5 | $0.00003 | $0.00095 |
Grade B, and why
pre-install-audit scanned grade B 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 yesterday.
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 codemediumSupply chain
curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.
`curl | sh`, `pip install git+…`, `npm i <unknown>`. Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
`curl | sh`, `pip install git+…`, `npm i <unknown>`. How it starts
The opening of the file, as written. The whole thing — 62 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Pre-install audit
Reads third-party install code BEFORE it runs and returns OK / REVIEW / AVOID with the exact trigger lines. Fetch-and-read only: it never builds, installs or executes the target. Static checks lower the risk, they do not remove it (an attacker can hide code in the upstream tarball or ship it later in an update).
When to use
- "Is this AUR package / repo / install script safe?" — before
yay,paru,makepkg,git clone && ./install.sh,curl | sh,pip install git+…,npm i <unknown>. - Adding a third-party pacman repo or key: no script covers that — read the repo's signing-key owner and
pacman.confsnippet by hand and treat it as a separate trust decision. - Not for: official distro packages, or a runtime/malware scan of something already installed.
Run it
S=~/.claude/skills/pre-install-audit/scripts/audit.py
python3 $S aur <package> # PKGBUILD, .install, git history, RPC metadata
python3 $S github <owner/repo> # shallow clone + repo/owner metadata + install-hook scan
python3 $S url <https://…/install.sh> # download to a temp dir, scan, print sha256
python3 $S path <dir-or-file> # local checkout
# add --json for machine output; exit code 0=OK, 1=REVIEW, 2=AVOID
What it checks
- Hard flags (AVOID): download piped to a shell, decoded payload executed, reverse-shell patterns, raw-IP URLs, plain-HTTP downloads, unknown AUR package.
- Review flags: URL shorteners and paste hosts,
base64/eval, network calls, setuid bits, systemd/cron/autostart/ shell-rc persistence, credential/browser/wallet paths,sudoinside install logic, long encoded blobs, npm lifecycle scripts,SKIPchecksums on non-VCS sources, unpinned VCS sources, source hosts that are not a known forge. - AUR metadata: maintainer or orphan state, votes, popularity, package age, several git authors (maintainer change).
- GitHub metadata: stars, repo and owner age, fork-of-another-repo, archived.
- On GitHub repos and URLs only install-time files (Makefile,
*.sh,setup.py,package.json, Dockerfile, units…) are scanned for review flags; tests/docs dirs are skipped.
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.
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.
- yesterday First seen · 62 lines · 28 tokens per session scan B 05b07db027cc
pre-install-audit is a skill published in the GitHub repository AmineDjeghri/personal-os-setup (687 stars, last pushed today), licensed MIT. It adds 28 tokens to every session and 949 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B 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-11-29.
pre-install-audit compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pre-install-auditAmineDjeghri/personal-os-setup | Skill | 687 | today | MIT | B | 28 | Claude Code, Codex |
| hula-skillHuLaSpark/HuLa | Skill | 7.9k | 6d ago | Apache-2.0 | A | 86 | Claude Code, Codex |
| flow-launcheralivirgo/Major-AI-Skills | Skill | 6 | yesterday | MIT | A | 26 | Claude Code |
| microsoft-powertoysalivirgo/Major-AI-Skills | Skill | 6 | yesterday | MIT | A | 30 | Claude Code |
| eartrumpetalivirgo/Major-AI-Skills | Skill | 6 | yesterday | MIT | A | 32 | Claude Code |
| wsl-bash-crlf-or-tempfilechen3feng/agent-skills | Skill | 5 | 6mo ago | Apache-2.0 | A | 48 | Claude Code, Codex |
| wsl-networking-mode-dns-fallbackchen3feng/agent-skills | Skill | 5 | 6mo ago | Apache-2.0 | A | 47 | Claude Code, Codex |