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…
от Navinspire-ia★ 37 звёзд на GitHub
Установить managed-settings в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
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:
- The path in the environment variable
NAVIN_MANAGED_SETTINGS. Meant for tests, CI images and MDM wrappers that launch Navin. - Linux and other POSIX systems:
/etc/navin/managed-settings.json. - macOS:
/Library/Application Support/Navin/managed-settings.json(then/etc/navin/managed-settings.json). - 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
denyis refused. - When
allowis not empty, every tool outside it is refused. denywins 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
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/deployment.md
- references/organization-gateway.md
- references/presets.md
FAQ
Что делает скилл 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, 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.
Как установить скилл managed-settings?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл managed-settings запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…