Omniscio

OmniscioToolsClaude Code permissions builder

Claude Code permissions builder

Write the allow, ask and deny rules for your settings.json without guessing the syntax. Pick a tool, add a specifier if it needs one, and the page shows the rules as JSON you can copy, plus the shapes Claude Code ignores or never matches. It is free, it runs entirely in your browser, and nothing you type is uploaded or saved.

Checked against Anthropic's Claude Code documentation. By the Omniscio team. Updated .

Build your permissions block

Add a rule

Leave the specifier empty to name the whole tool. For an MCP server write mcp__<server>__* in the specifier field.

The example set is a starting point, not a security boundary: a Bash rule matches the command Claude usually types, and a differently written command can slip past it.

Where the block goes

Your permissions block

    Paste this into the permissions key of your settings file. If the file has no permissions key yet, add it beside your other keys; do not replace the rest of the file.

    How the rules are read

    A rule is Tool or Tool(specifier). Allow rules run a matching call without asking, ask rules prompt first, and deny rules refuse it. Claude Code evaluates all three lists as deny, then ask, then allow, and the first match decides. Rule specificity does not change that order, so a broad Bash(aws *) deny blocks an aws s3 ls call even when a narrower allow rule also matches.

    A bare tool name behaves differently from a scoped one. Bash in the deny list removes the Bash tool from Claude's context, so Claude never sees it; Bash(rm *) leaves the tool in place and blocks the calls that match. This holds for every tool except EndConversation, the tool that ends the session, which a deny rule cannot remove while any other tool remains.

    What each tool's specifier looks like

    ToolSpecifierExample
    BashThe command text, with * for any textBash(npm run *)
    ReadA path in gitignore pattern syntaxRead(./.env)
    EditA path in gitignore pattern syntaxEdit(src/**)
    WebFetchdomain: and a hostnameWebFetch(domain:example.com)
    AgentA subagent nameAgent(Explore)
    WebSearchNone — it takes the whole tool or nothingWebSearch
    Write, Glob, Grep, NotebookEditA path, but the rule never matches; use Edit or Read insteadEdit(docs/**)
    MCP toolmcp__<server>__<tool>, or * for the tool partmcp__github__*

    Where a path starts counting from

    Read and Edit specifiers use gitignore syntax, and the leading character decides where the path starts counting from. The settings source is the folder the settings file itself sits in.

    You writeIt counts fromIn a project file
    /src/**The settings source<project>/src/**
    //Users/you/xThe filesystem root/Users/you/x
    ~/notes/**Your home directory/home/you/notes/**
    src/**The current directory<cwd>/src/**

    That is why the same text behaves differently in each file. In a project file /src/** means the project's own src, but in ~/.claude/settings.json the settings source is ~/.claude, so it means ~/.claude/src. In a user file, write a // absolute path or a ~/ home path instead.

    Write, Glob and Grep path rules are ignored — use Edit and Read

    File access is checked against Edit and Read only. A Write(docs/**), NotebookEdit(docs/**), Glob(docs/**) or Grep(docs/**) rule is accepted but never matches a call, so the block that works is Edit(docs/**) for writes and Read(docs/**) for searches. A wildcard is also read differently in an allow list than in a deny or ask list. In the tool position, the part before the parentheses, only deny and ask accept a global like * or mcp__*; an allow rule needs a real MCP server in front of it, so mcp__github__* works and mcp__* is skipped without approving anything.

    A parameter rule, written Tool(param:value), works on deny and ask rules only, and never on the tool's main input field. Bash(command:rm *) is ignored because a compound command would slip past it, so write Bash(rm *) instead.

    Which file the rules belong in

    • Shared project. .claude/settings.json is committed, so everyone who clones the repository gets the same rules. Its allow rules, and any extra directories it grants, wait for each teammate to trust the folder, while deny and ask rules apply right away.
    • Project local. .claude/settings.local.json is yours alone, and Claude Code keeps it out of git when it creates the file; if you create it by hand, add it to .gitignore yourself. Its allow rules skip the trust step while the file stays untracked.
    • User. ~/.claude/settings.json applies to every project on the machine, so a project-relative path there points at the wrong folder.

    Lists merge instead of replacing each other, so a project file adds to your user rules without deleting them. Deny rules from any file are evaluated first, which is why a user-level deny blocks a project-level allow. The settings.json guide covers all four files and which one wins, and the managed settings guide covers the file an organization deploys.

    If you are bypassing prompts today instead of writing rules, the skip-permissions guide explains what that mode actually changes.

    Where Omniscio fits

    Omniscio is the desktop app we make for running many Claude Code sessions at once. Every session there is a real Claude Code session, so the rules on this page apply inside it unchanged, and the app adds two things on top.

    • Sessions are listed and started per project, so a rules file you wrote for one repository is the one that project's sessions read.
    • A session can run on its own account and its own provider, and each one keeps its own transcript, which makes a rule that misfires easy to spot on the session it affects.

    It runs on Windows, macOS and Linux. The features page lists everything in it today, and the hooks builder covers the other half of a settings file.

    Common questions

    What is a Claude Code permission rule?

    A rule is a short string in settings.json that names a tool, like Bash, and optionally what it may do, like Bash(npm run *). Rules sit in three lists: allow runs the call without asking, ask prompts first, and deny refuses it.

    Which wins if a rule is on more than one list?

    Deny first, then ask, then allow. The first match decides, and a narrower rule does not outrank a broader one, so an allow rule can never carve an exception out of a deny rule.

    Why does my Write(path) deny rule do nothing?

    Claude Code checks file access against Edit(path) and Read(path) only. A Write, NotebookEdit, Glob or Grep rule that carries a path is accepted but never matched, so write Edit(docs/**) to block writes and Read(docs/**) to block searches.

    Does a deny rule stop Claude from seeing the tool?

    A bare tool name does. Bash in the deny list removes the Bash tool from Claude's context entirely, while a scoped rule like Bash(rm *) leaves the tool available and blocks matching calls. EndConversation is the one tool a deny rule cannot remove while any other tool remains.

    Where does the block go?

    The permissions key is an ordinary settings key, so it goes in ~/.claude/settings.json for every project, .claude/settings.json for one project shared with anyone who clones it, or .claude/settings.local.json for yourself in one project. Lists merge across files rather than replacing each other.

    Run the same rules across every session

    Install Omniscio, start your agents, and each one reads the settings file of the project it works in. The guide to running multiple sessions covers the rest of the setup.