nio-scan

nio-scan is a skill for Claude Code from core0-io/nio. It costs 81 tokens per session (1,064 once invoked), scanned A, original, Apache-2.0.

A scanner for finding execution risks in code, configuration files, and coding-agent skills. It checks supported files and also examines code inside Markdown examples and decoded Base64 content.

In plain words
What is it for?
Use it to scan a file, directory, repository, or skill when deciding whether it may be dangerous or contain malicious behavior.
Why use it?
It helps identify code that could perform unsafe or unexpected actions before you run or install it. This is focused on execution risks rather than general code quality.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Part of the nio plugin — 7 skills, 8 hooks shipped together

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.

agentmods
npx agentmods add skills/core0-io/nio/nio-scan
Any agent
npx skills add core0-io/nio --skill nio-scan
Clone the repo
git clone --depth 1 https://github.com/core0-io/nio

Made for: Claude Code.

Or install nio, the plugin that ships this one along with the rest of its 7 skills, 8 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 nio-scan

README.md
[![agentmods](https://agentmods.dev/badge/skills/core0-io/nio/nio-scan.svg)](https://agentmods.dev/skills/core0-io/nio/nio-scan)
Your own site
<a href="https://agentmods.dev/skills/core0-io/nio/nio-scan"><img src="https://agentmods.dev/badge/skills/core0-io/nio/nio-scan.svg" alt="Measured on agentmods" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,064 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00081 $0.01064
Opus 5 $0.00041 $0.00532
Sonnet 5 $0.00016 $0.00213
Haiku 4.5 $0.00008 $0.00106

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

Security

Grade A, and why

nio-scan 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 6d 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/nio-scan/SKILL.md · 76 lines

How it starts

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

Nio — Execution Risk Scan

Scan the target path for execution risks using all detection rules. This is the focused scan capability of the Nio framework.

Passive invocation. If the user points at code/files/a repo/a skill and asks whether it is dangerous, or to scan/check it for execution risks, you MUST run this scan rather than eyeballing it. Do not hand-wave a verdict — apply the rules below. (If the user instead asks for their external endpoint scores / "Nio score" with no code target, that is the separate nio-external-score skill, not this one.)

File Discovery

Use Glob to find all scannable files at the given path. Include: *.js, *.ts, *.jsx, *.tsx, *.mjs, *.cjs, *.py, *.json, *.yaml, *.yml, *.toml, *.sol, *.sh, *.bash, *.md

Markdown scanning: For .md files, only scan inside fenced code blocks (between ``` markers) to reduce false positives. Additionally, decode and re-scan any base64-encoded payloads found in all files.

Skip directories: node_modules, dist, build, .git, coverage, __pycache__, .venv, venv Skip files: *.min.js, *.min.css, package-lock.json, yarn.lock, pnpm-lock.yaml

Detection Rules

For each rule, use Grep to search the relevant file types. Record every match with file path, line number, and matched content. For detailed rule patterns, see SCAN-RULES.md.

# Rule ID Severity File Types Description
1 SHELL_EXEC HIGH js,ts,mjs,cjs,py,md Command execution capabilities
2 AUTO_UPDATE CRITICAL js,ts,py,sh,md Auto-update / download-and-execute
3 REMOTE_LOADER CRITICAL js,ts,mjs,py,md Dynamic code loading from remote
4 READ_ENV_SECRETS MEDIUM js,ts,mjs,py Environment variable access
5 READ_SSH_KEYS CRITICAL all SSH key file access
6 READ_KEYCHAIN CRITICAL all System keychain / browser profiles
7 PRIVATE_KEY_PATTERN CRITICAL all Hardcoded private keys
8 OBFUSCATION HIGH js,ts,mjs,py,md Code obfuscation techniques
9 PROMPT_INJECTION CRITICAL all Prompt injection attempts
10 NET_EXFIL_UNRESTRICTED HIGH js,ts,mjs,py,md Unrestricted POST / upload
11 WEBHOOK_EXFIL CRITICAL all Webhook exfiltration domains
12 TROJAN_DISTRIBUTION CRITICAL md Trojanized binary download + password + execute
13 SUSPICIOUS_PASTE_URL HIGH all URLs to paste sites (pastebin, glot.io, etc.)
14 SUSPICIOUS_IP MEDIUM all Hardcoded public IPv4 addresses
15 SOCIAL_ENGINEERING MEDIUM md Pressure language + execution instructions

Read the full file on GitHub · 76 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. 6d ago First seen · 76 lines · 81 tokens per session scan A d68b56ea5d2f

Subscribe to this mod's changes

nio-scan is a skill published in the GitHub repository core0-io/nio (19 stars, last pushed 16d ago), licensed Apache-2.0. It adds 81 tokens to every session and 1,064 once invoked, about $0.0004 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-08-30.

Related

Other skills, from other repositories

titanclip

Interact with the TitanClip control plane API to manage tasks, coordinate with other agents, and follow company governance. Use when you need to check assignments, update task status, delegate work, post comments, set up or manage routines (recurring scheduled tasks), or call any TitanClip API endpoint. Do NOT use for…

CES-Ltd/TitanClip · 87 tokens

titanclip-create-agent

Create new agents in TitanClip with governance-aware hiring. Use when you need to inspect adapter configuration options, compare existing agent configs, draft a new agent prompt/config, and submit a hire request.

CES-Ltd/TitanClip · 45 tokens

titanclip-create-plugin

Create new TitanClip plugins with the current alpha SDK/runtime. Use when scaffolding a plugin package, adding a new example plugin, or updating plugin authoring docs. Covers the supported worker/UI surface, route conventions, scaffold flow, and verification steps.

CES-Ltd/TitanClip · 56 tokens

para-memory-files

File-based memory system using Tiago Forte's PARA method. Use this skill whenever you need to store, retrieve, update, or organize knowledge across sessions. Covers three memory layers: (1) Knowledge graph in PARA folders with atomic YAML facts, (2) Daily notes as raw timeline, (3) Tacit knowledge about user patterns.…

CES-Ltd/TitanClip · 117 tokens

agent-performance-optimizer

Agent skill for performance-optimizer - invoke with $agent-performance-optimizer.

ruvnet/ruflo · 19 tokens

agent-refinement

Agent skill for refinement - invoke with $agent-refinement.

ruvnet/ruflo · 15 tokens