Command Palette

Search for a command to run...

Back to skills
skill № 60332

managed-settings

Deploys and audits Navin organization policy through a managed-settings.json file that sits above every personal, project and plugin setting (managed hooks…

FreeNo executable scripts
Navinspire-iaby Navinspire-ia★ 37 GitHub stars

Install managed-settings in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

About this skill

Managed Settings (organization policy)

Navin reads one optional file written by an administrator, the managed settings file. It is the organization tier: it is read before personal settings (~/.navin), project settings (.navin/ in the workspace) and installed plugins, and none of them can loosen what it says. Without the file Navin behaves exactly as before: no extra check, no extra line in the system prompt.

Use this skill to write the file, choose a preset, deploy it per operating system and verify that it is in force.

Where the file is read

The first path that exists wins:

  1. The path in the environment variable NAVIN_MANAGED_SETTINGS. Meant for tests, CI images and MDM wrappers that launch Navin.
  2. Linux and other POSIX systems: /etc/navin/managed-settings.json.
  3. macOS: /Library/Application Support/Navin/managed-settings.json (then /etc/navin/managed-settings.json).
  4. Windows: %ProgramData%\Navin\managed-settings.json.

The system paths must be writable by administrators only (root or the Administrators group). A file a normal user can edit is not a policy. See references/deployment.md for permissions, macOS configuration profiles, Windows Group Policy and MDM notes.

The file is cached by modification time: editing it takes effect on the next tool call or turn, without restarting Navin.

Keys

All keys are optional. Names are camelCase.

hooks

Managed hooks, in exactly the format of a Navin hooks.json (event name, then a list of {matcher, hooks: [{type: "command", command, timeout}]} entries). They differ from personal and project hooks in four ways:

  • They always run, and they run first, before personal, plugin and project hooks for the same event.
  • They need no trust step: the file is already protected by the system.
  • A PreToolUse refusal from a managed hook is final. The remaining hooks for that call are not run, so a later hook that answers "allow" changes nothing.
  • Disabling a plugin or untrusting a project never removes them.

Use absolute paths in command and keep the scripts in an administrator-owned folder next to the managed file.

allowManagedHooksOnly

true drops every personal (~/.navin/hooks.json), project (.navin/hooks.json) and plugin hook. Only hooks from the managed file run. Built-in features such as hookify rules are not hooks files and are not affected.

allowManagedPluginsOnly and allowedPlugins

With allowManagedPluginsOnly: true, an installed plugin whose folder name is not in allowedPlugins is treated as disabled whatever the user toggled: its hooks, commands, agents, skills and MCP servers do not load. navin plugins lists it with blocked_by_policy: true. Names are compared case-insensitively.

mcpAllowlist

A list of MCP server names that may be configured. Plugin servers are named <plugin>-<server> (for example github-tools-api), so list them that way. When the key is absent nothing is filtered; an empty list refuses every plugin MCP server.

env

Environment variables pinned by the organization, for example a proxy or a telemetry endpoint. Every hook process receives them last, so personal, project and plugin configuration cannot override them. Navin also pins the variables that decide where the policy is read from (NAVIN_MANAGED_SETTINGS is forced to the file in force, ProgramData keeps its value), so a hook cannot point child processes at a weaker policy.

permissions.deny and permissions.allow

Tool names, lower case Navin names such as exec, browser, web_fetch, write_file. Rules:

  • A tool in deny is refused.
  • When allow is not empty, every tool outside it is refused.
  • deny wins when both lists name the same tool.

The refusal happens before any hook runs and the agent receives a message that names the organization policy.

disableBypassPermissions

true means no mode or flag may skip permission checks. The value is exposed as ManagedPolicy.disable_bypass_permissions for the permission layer.

Fail closed

A managed file that exists but cannot be read, is not valid JSON, or has a wrong type for a key (for example "allowedPlugins": "all") does not leave the machine open. Navin puts a lockdown policy in force:

  • managed hooks only (and the broken file provides none);
  • no plugin loads;
  • no plugin MCP server is allowed;
  • risky tools are refused: shell execution, file writes and edits, browser, web access, subagents, git and forge operations;
  • permission bypass is disabled.

The system prompt receives one line naming the file and the parse error, and the error is logged. Fix the file and the next turn picks it up.

Boolean keys lock on anything other than false or absent: a mistyped "true" or 1 still locks.

Presets

references/presets.md holds four ready files, each in a fenced json block:

  • strict: managed hooks only, approved plugins only, no web tools, MCP allowlist, no bypass.
  • lax: only disab
Full SKILL.md on GitHub

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

  • references/deployment.md
  • references/organization-gateway.md
  • references/presets.md

FAQ

What does the managed-settings skill do?

Deploys and audits Navin organization policy through a managed-settings.json file that sits above every personal, project and plugin setting (managed hooks, plugin and MCP allowlists, pinned environment variables, tool deny rules, no permission bypass). Use when an administrator asks to "lock down Navin for my company", "deploy managed settings", "only allow approved plugins", "restrict MCP servers", "enforce a hook on every machine", "pin a proxy for all users", or needs to test a policy with NAVIN_MANAGED_SETTINGS.

How do I install the managed-settings skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the managed-settings skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare managed-settings with