scan-repo

scan-repo is a skill for Claude Code from NOMARJ/sigil. It costs 119 tokens per session (289 once invoked), scanned A, original, Apache-2.0.

A security scan for a repository or directory, using Sigil to search for malicious patterns and unsafe dependencies. It reports a risk score and verdict for issues such as install hooks, data theft, credential access, and dangerous code.

In plain words
What is it for?
Use it when auditing agent code, cloned repositories, dependencies, or packages from untrusted sources.
Why use it?
It helps you assess unfamiliar source code before using it. The risk levels make clear when review is enough and when the code should be blocked.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the sigil-security plugin — 6 skills, 2 agents, 2 hooks shipped together

Good fit Use it when auditing agent code, cloned repositories, dependencies, or packages from untrusted sources.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nomarj/sigil/scan-repo
Install

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.

Any agent
npx skills add NOMARJ/sigil --skill scan-repo
Clone the repo
git clone --depth 1 https://github.com/NOMARJ/sigil

Made for: Claude Code.

Or install sigil-security, the plugin that ships this one along with the rest of its 6 skills, 2 agents, 2 hooks.

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 scan-repo

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/nomarj/sigil/scan-repo"><img src="https://agentmods.dev/badge/skills/nomarj/sigil/scan-repo.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 119 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 289 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.
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.00119 $0.00289
Opus 5 $0.00060 $0.00144
Sonnet 5 $0.00024 $0.00058
Haiku 4.5 $0.00012 $0.00029

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

Security

Grade A, and why

scan-repo 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 5d 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.

plugins/claude-code/skills/scan-repo/SKILL.md · 29 lines

What it actually says

Security Scan with Sigil

Scan the target repository/directory for malicious patterns:

  1. Run Sigil scan on the target path
  2. Review detected threats (install hooks, eval/exec, network exfil, credentials)
  3. Show risk score and verdict
  4. Recommend approve/reject based on findings

Usage:

sigil scan <path>

Output interpretation:

  • CLEAN (score 0): Safe to use
  • LOW RISK (1-9): Review findings
  • MEDIUM RISK (10-24): Manual review required
  • HIGH RISK (25-49): Block unless override
  • CRITICAL (50+): Block, no override

Present findings clearly and recommend next steps.

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. 5d ago First seen · 29 lines · 119 tokens per session scan A 06e322546292

Subscribe to this mod's changes

scan-repo is a skill published in the GitHub repository NOMARJ/sigil (5 stars, last pushed 3d ago), licensed Apache-2.0. It adds 119 tokens to every session and 289 once invoked, about $0.0006 per session on Opus 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-09-04.

Related

Other skills, from other repositories

sftp-cc

A natural-language SFTP tool for uploading local project files to a remote server. SFTP is a secure way to transfer files, and this tool supports incremental uploads, private-key binding, and permission fixes.

toohamster/sftp-cc · 41 tokens

regex-mastery

Use this skill when writing regular expressions, debugging pattern matching,optimizing regex performance, or implementing text validation. Triggers on regex, regular expressions, pattern matching, lookahead, lookbehind, named groups, capture groups, backreferences, and any task requiring text pattern matching.

alibaba/anolisa · 60 tokens

devtools-event-client

Create typed EventClient for a library. Define event maps with typed payloads, pluginId auto-prepend namespacing, emit()/on()/onAll()/onAllPluginEvents() API. Connection lifecycle (5 retries, 300ms), event queuing, enabled/disabled state, SSR fallbacks, singleton pattern. Unique pluginId requirement to avoid event…

TanStack/devtools · 79 tokens

jk

Manage Jenkins controllers with jk, including jobs, runs, logs, artifacts, credentials, nodes, queues, and plugins.

avivsinai/jenkins-cli · 26 tokens

assess-patch-risk

Assess an immutable patch artifact's program impact, regression risk, and auto-merge eligibility. Use for generated patch files, provider pull-request diffs, or commit ranges when reviewers need evidence about affected runtime paths, contracts, tests, and recoverability. This skill is read-only and does not generate…

bex-co/bex-security · 77 tokens

market-sizing

TAM/SAM/SOM market sizing analysis. Uses web search and research tools to produce a structured analysis with data sources, assumptions, calculations, and confidence ranges. Triggers on: "calculate TAM", "size the market", "market opportunity".

mshadmanrahman/pm-pilot · 53 tokens