Skip to content
docs

Claude Code compatibility

Waibee Code reads configuration in Claude Code format. If you have used Claude Code, your setup carries over without changes: CLAUDE.md and the .claude/ directory (skills/, commands/, agents/, settings.json), both in the project and in ~/.claude/.

Waibee Code also has its own .waibee/ directory with the same format. When names collide, the project wins over the global directory, and .waibee/ wins over .claude/.

FeatureRead fromDetails
Skills.claude/skills/SKILL.md with the fields name, description, argument-hint, user-invocable; allowed-tools is read but means something different, see below and Skills
Slash commands.claude/commands/Markdown with the substitutions $ARGUMENTS, $1, !`cmd`, see Custom commands
Hooksthe hooks key in .claude/settings.json and ~/.claude/settings.jsonthe same configuration format, exit codes, and JSON response; the differences are in Claude Code compatibility
Subagents.claude/agents/Markdown with frontmatter, see Subagents
Plugins.claude-plugin/, marketplaceplugin.json and marketplace.json in Claude Code format. waibee plugin list also shows plugins installed by Claude Code, see Plugins
MCP servers.mcp.json, .claude/settings.json, ~/.claude/settings.jsonthe mcpServers key, including an oauth block with clientId and callbackPort, see MCP
InstructionsCLAUDE.md, CLAUDE.local.md, .claude/CLAUDE.md, ~/.claude/CLAUDE.md@<path> includes, see Instruction files
Rules.claude/rules/, ~/.claude/rules/loaded at startup or by paths, like instructions in nested folders, see Instruction files
Settings.claude/settings.json, ~/.claude/settings.jsonread as long as there is no .waibee/settings.json next to them, see Settings
Permissionspermissions.allow and permissions.denyBash(...) rules are read the same way as in Claude Code: an exact command, a :* prefix, * anywhere, see Rules in Claude Code format
CLI commandswaibee flags and subcommandswaibee -p, --output-format, --append-system-prompt, -r, --continue, waibee mcp add <name> <url> and -- <command>, plus the Claude Code spellings from Names from earlier versions. -c means something else, see What works differently
  • allowed-tools in a skill or command. In Claude Code, this field allows the listed tools without approval and restricts nothing. In Waibee Code it does the opposite: it restricts the tool set for the turn the command starts and allows nothing without approval, see Custom commands.
  • -c is --cwd. In Claude Code, -c continues the last session. Here -c (and -C) sets the working folder, and the long --continue continues the last session.
  • dontAsk. In the settings file (permissions.mode), this spelling is read as trust, see approval exceptions. In a subagent’s permissionMode field, it keeps its Claude Code meaning: everything that would need approval is rejected.
  • Local project files. Of the pair .waibee/settings.local.json and .claude/settings.local.json, only one file is read: if the first exists, the second is ignored. The third answer to a permission request creates .waibee/settings.local.json, and from then on the rules in .claude/settings.local.json stop applying, so move them to the new file. MCP servers are read from both files.
  • Hooks in settings.local.json. Waibee Code does not read hooks from local files, in either .claude/ or .waibee/. Move a hook that Claude Code takes from .claude/settings.local.json into settings.json, see Where hooks are declared.
  • Hooks on other events. Waibee Code supports the events in the table. A hook on any other Claude Code event, such as PermissionRequest, is skipped silently. The other differences in hooks are collected in Claude Code compatibility on the hooks page.
  • Some SKILL.md fields. Fields other than those listed in the table are not read, including disable-model-invocation: the agent can still load a skill with this field by itself.
  • Some settings. The model key from .claude/settings.json is not used. The permission mode is set with the permissions.mode key; permissions.defaultMode and permissions.ask have no effect, see Settings reference.
  • Permission rules for other tools and for Bash parameters. Read(./.env), WebFetch(domain:example.com), Bash(timeout:*), or Bash(run_in_background:true) block nothing. To exclude files, use .waibeeignore; for domains, use the domain filter.
  • Some subagent fields. color, memory, initialPrompt, and a few other fields are accepted and do nothing, and of the isolation values only worktree works. The full list is in Subagents.
  • MCP servers from ~/.claude.json and the mcpServers field in plugin.json. These are not read. Servers come from settings.json and .mcp.json, and a plugin’s servers come from its own .mcp.json, see MCP.
  • lspServers in a plugin manifest are not read: Waibee Code decides which language servers to start from its own list, see Language servers.
  • Output styles (/output-style) are not supported.

Names that come from Claude Code or from early versions of Waibee Code still work and mean the same as the current ones.

Tools:

Earlier nameCurrent nameParameters
TaskAgentagent instead of subagent_type
LoadSkillSkillname instead of skill
AskUserAskUserQuestion
KillJobTaskStopjob_id instead of task_id
LoadToolsToolSearch
lspLSP

An earlier name matches calls when it appears in a hook’s matcher, in permissions.allow and permissions.deny rules, in the --allowed-tools and --disallowed-tools flags, in a subagent’s tools and disallowedTools fields, and in a skill’s or command’s allowed-tools. Saved sessions with earlier names open as usual. A hook whose matcher matched only the earlier name gets the earlier name and the earlier parameters: Task.* sees Agent as Task, and sees TaskStop under its own name.

Commands and flags:

SpellingMeaning
waibee -p "<prompt>", --printwaibee run "<prompt>", see Headless mode
--permission-mode <mode>--mode <mode>
--dangerously-skip-permissionsbypassPermissions mode
--allowedTools, --disallowedTools--allowed-tools, --disallowed-tools
waibee upgradewaibee update
waibee plugins, plugin i, plugin uninstall, plugin marketplace rmwaibee plugin, install, remove, marketplace remove
waibee mcp add -s sharedthe project scope

In a hook, "blocking": false means the same as "async": true, and "blocking": true the same as "async": false.