manage-mounts

Manage NanoClaw agent container access to host directories via a JSON allowlist.

Updated Apr 26, 2026
One-click install
npx skills add https://github.com/wrightchin/nanoclaw-playground --skill manage-mounts-wrightchin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: manage-mounts
Source: https://github.com/wrightchin/nanoclaw-playground/tree/main/.claude/skills/manage-mounts
Command: npx skills add https://github.com/wrightchin/nanoclaw-playground --skill manage-mounts-wrightchin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps administrators and developers control which host directories NanoClaw agent containers can access, preventing accidental exposure of the host filesystem.

Core Features & Use Cases

  • Show current config: view the active mount allowlist.
  • Add Directories: validate paths and configure read/write permissions for non-main agents.
  • Remove Directories: edit the allowlist to revoke access.
  • Reset to Empty: clear the allowlist to start fresh.
  • After Changes: restart the NanoClaw service to apply changes.

Quick Start

Add desired host paths to the mount allowlist and restart NanoClaw to apply changes.

Frequently Asked Questions about manage-mounts

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I restrict container access to specific host directories?

Restrict container access to specific host directories by configuring an allowlist at ~/.config/nanoclaw/mount-allowlist.json. You can add validated paths with read/write permissions, remove access, or reset the list entirely to control filesystem exposure.

How do I add a new host path to the NanoClaw mount allowlist?

Add a new host path to the NanoClaw mount allowlist using the add workflow, which validates the directory path and configures read/write permissions for non-main agents before saving the updated configuration.

Can I manage filesystem mounts for agent containers on macOS and Linux?

Yes, you can manage filesystem mounts for agent containers across both macOS and Linux deployments. The skill supports show, add, remove, and reset workflows to modify the mount allowlist on these operating systems.

Why are my container filesystem permission changes not taking effect?

Container filesystem permission changes are not applied immediately because the allowlist must be reloaded. You need to restart the NanoClaw service after modifying the mount allowlist for the new directory access rules to take effect.

What is the best way to revoke agent access to a mounted host directory?

The best way to revoke agent access to a mounted host directory is to use the remove workflow. This edits the allowlist to delete the specified path, and a subsequent NanoClaw service restart applies the restricted access.

How does the mount allowlist prevent accidental host filesystem exposure?

The mount allowlist prevents accidental host filesystem exposure by explicitly defining which directories agent containers can access. Any path not present in the configuration file is blocked, ensuring containers operate only within approved boundaries.