nfs-cifs-mount-diagnose

nfs-cifs-mount-diagnose is a skill for Claude Code from AI-Shell-Team/aish. It costs 77 tokens per session (1,709 once invoked), scanned B, original, Apache-2.0.

A read-only troubleshooting guide for NFS and CIFS/SMB network mounts, which let a computer access files stored on another server. It examines mount errors, client settings, connectivity, permissions, and boot-time failures.

In plain words
What is it for?
Use it to investigate failed or denied NFS or SMB mounts, shares that fail during startup, and mount errors inside containers. It provides suggested fixes rather than changing mount settings.
Why use it?
It helps separate client, network, server-share, and permission problems without mounting or unmounting anything automatically. It also keeps passwords and credential options out of the investigation.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: agent in frontmatter; mentions subagents.

Good fit Use it to investigate failed or denied NFS or SMB mounts, shares that fail during startup, and mount errors inside containers. It provides suggested fixes rather than changing mount settings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ai-shell-team/aish/nfs-cifs-mount-diagnose
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 AI-Shell-Team/aish --skill nfs-cifs-mount-diagnose
Clone the repo
git clone --depth 1 https://github.com/AI-Shell-Team/aish

Made for: Claude Code.

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 nfs-cifs-mount-diagnose

README.md
[![agentmods](https://agentmods.dev/badge/skills/ai-shell-team/aish/nfs-cifs-mount-diagnose/github.svg)](https://agentmods.dev/skills/ai-shell-team/aish/nfs-cifs-mount-diagnose)
Your own site
<a href="https://agentmods.dev/skills/ai-shell-team/aish/nfs-cifs-mount-diagnose"><img src="https://agentmods.dev/badge/skills/ai-shell-team/aish/nfs-cifs-mount-diagnose/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 nfs-cifs-mount-diagnose

Your own site · 80×15
<a href="https://agentmods.dev/skills/ai-shell-team/aish/nfs-cifs-mount-diagnose"><img src="https://agentmods.dev/badge/skills/ai-shell-team/aish/nfs-cifs-mount-diagnose.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,709 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 4 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Privilege Escalation · line 123
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
  • medium Privilege Escalation · line 124
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
  • medium Privilege Escalation · line 125
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
  • medium Excessive Agency · line 43
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
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.00077 $0.01709
Opus 5 $0.00039 $0.00855
Sonnet 5 $0.00015 $0.00342
Haiku 4.5 $0.00008 $0.00171

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

Security

Grade B, and why

nfs-cifs-mount-diagnose scanned grade B with 1 finding 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo mount -t nfs -o vers=4,proto=tcp <server>:/export /mnt/point
skills/nfs-cifs-mount-diagnose/SKILL.md · 163 lines

How it starts

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

NFS / CIFS mount diagnosis

Troubleshoot NFS or CIFS/SMB mount failures, boot-time automount failures, and permission denials on this host.

Out of scope: automatically running mount/umount, editing fstab, or calling cloud NAS APIs. Suggest only; write actions need explicit user confirmation.

Rules

  1. Collect first: protocol (NFS/CIFS), server, export/share path, full error text, mount command used.
  2. Read-only first: modules, network, current mounts, fstab—do not mount on your own.
  3. Match error patterns early: treat them as candidates, then verify.
  4. Stop when enough: stop once the likely root cause is clear.
  5. No secrets in chat: do not paste passwords or password= / credentials= options.

Workflow

Collect info → error pattern match → client environment → connectivity → recommendations

1. Collect info

Item Example
Protocol NFS v3/v4 or CIFS/SMB
Server files.example.com or IP
Remote path NFS :/export/data; CIFS //server/share
Full error whole mount.nfs: ... / mount error(13): ... line
Context manual / fstab at boot / inside container

2. Error patterns (prefer these)

NFS
Error / symptom Common cause Direction
access denied by server while mounting (esp. with a subdirectory path) Export/ACL/IP, wrong path, or missing subdir Do not assume “subdir missing” from the message alone; check exports (showmount -e), then the path
mount.nfs: No such device nfs/sunrpc not loaded, or bad sunrpc option spelling Check lsmod, /etc/modprobe.d/*sunrpc*; use tcp_slot_table_entries not tcp_slot_entries
Operation not permitted on NFSv4 while v3 works NFSv4 client id / hostname conflict, etc. Try v3 to confirm; check hostname / nfs4 unique id; check server exports
Connection timed out / No route to host Network, firewall, NFS/RPC ports ping / 2049 / 111 before tuning mount options
Protocol not supported Missing nfs-common or version mismatch Install client package; align vers=
Works manually, fails at boot remote-fs / fstab options / network not ready _netdev, x-systemd.automount, remote-fs.target
mount: can't find ... in /etc/fstab Wrong mount command shape Missing source or target in the command

Read the full file on GitHub · 163 lines

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 · 163 lines · 77 tokens per session scan B af52a0ca2076

Subscribe to this mod's changes

nfs-cifs-mount-diagnose is a skill published in the GitHub repository AI-Shell-Team/aish (536 stars, last pushed 2d ago), licensed Apache-2.0. It adds 77 tokens to every session and 1,709 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). 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

wispr-flow-debug

Debug and test the Wispr Flow AutoHotkey dictation triggers (Copilot key + extra keys) from WSL by deploying macos.ahk to the Windows Desktop, reloading AutoHotkey, and reading the debug log. Use when an activation/trigger key isn't starting/stopping dictation, when the overlay clicks land wrong, or when verifying a…

sfc-gh-eraigosa/dotfiles · 87 tokens

flare

Manage Flare error tracking and performance monitoring using the flare CLI. Use when the user wants to list, triage, resolve, snooze, or debug errors; manage projects; create projects and retrieve API keys; check error counts; investigate slow routes, queries, jobs, or commands; view aggregated performance data and…

freekmurze/dotfiles · 78 tokens

audit-architecture

Run an application-wide, read-only architecture audit that finds materially useful simplifications in a codebase's data structures, state representation, control flow, algorithms, and ownership boundaries. Fans out bounded read-only agents per subsystem, verifies every finding against the repo, and ranks results P0 to…

freekmurze/dotfiles · 119 tokens

markdownlint-triage

Use when summarizing Markdownlint logs, selecting useful Markdown rules, or fixing an existing Markdownlint backlog with file-scoped parallel work.

AndrewDongminYoo/cc-agents-kit · 33 tokens

completion-script-generator

Generates shell completion scripts for CLI tools. Parses command structure from help output, commander/yargs configs, or manual specification. Produces completions for bash, zsh, and fish that follow each shell's conventions.

curiositech/windags-skills · 50 tokens

oh-my-posh

Install, configure, or troubleshoot Oh My Posh/ohmyposh: shell init, themes, segments, Nerd Font icons, and prompt setup on PowerShell, zsh, bash, or fish.

JanDeDobbeleer/oh-my-posh · 47 tokens