feat: consider exposing disableSkillShellExecution setting in config UI (v2.1.91) #259

Closed
opened 2026-04-13 09:12:05 -07:00 by hikari · 1 comment
Owner

Context

Claude Code v2.1.91 added a new disableSkillShellExecution setting that prevents skills from executing shell commands. This is a security/safety toggle for users who want to restrict what skill scripts can do.

Why This Matters

Hikari Desktop already exposes several Claude Code settings via ConfigSidebar.svelte (model, API key, custom instructions, MCP servers, auto-granted tools, etc.). Adding disableSkillShellExecution would give users control over skill security without needing to manually edit their Claude config.

This is especially relevant for Hikari Desktop users who use the /skill slash command — they may want the extra safety boundary.

Tasks

  • Research what disableSkillShellExecution does exactly and whether it's a CLI flag, env var, or settings.json key
  • Decide whether to surface it as a toggle in ConfigSidebar.svelte
  • If yes: add the config key to HikariConfig in src/lib/stores/config.ts and pass it through in wsl_bridge.rs
  • Add tests for the new config option

References

  • Claude Code v2.1.91 changelog
  • src/lib/components/ConfigSidebar.svelte
  • src/lib/stores/config.ts
  • src-tauri/src/wsl_bridge.rs

This issue was created with help from Hikari~ 🌸

## Context Claude Code v2.1.91 added a new `disableSkillShellExecution` setting that prevents skills from executing shell commands. This is a security/safety toggle for users who want to restrict what skill scripts can do. ## Why This Matters Hikari Desktop already exposes several Claude Code settings via `ConfigSidebar.svelte` (model, API key, custom instructions, MCP servers, auto-granted tools, etc.). Adding `disableSkillShellExecution` would give users control over skill security without needing to manually edit their Claude config. This is especially relevant for Hikari Desktop users who use the `/skill` slash command — they may want the extra safety boundary. ## Tasks - [ ] Research what `disableSkillShellExecution` does exactly and whether it's a CLI flag, env var, or settings.json key - [ ] Decide whether to surface it as a toggle in `ConfigSidebar.svelte` - [ ] If yes: add the config key to `HikariConfig` in `src/lib/stores/config.ts` and pass it through in `wsl_bridge.rs` - [ ] Add tests for the new config option ## References - Claude Code v2.1.91 changelog - `src/lib/components/ConfigSidebar.svelte` - `src/lib/stores/config.ts` - `src-tauri/src/wsl_bridge.rs` ✨ This issue was created with help from Hikari~ 🌸
Author
Owner

Resolved in PR #261. Added disable_skill_shell_execution to ClaudeStartOptions, HikariConfig, the --settings JSON block in wsl_bridge.rs, the TypeScript interface, and exposed a toggle in the Config Sidebar UI. Tests included.

Resolved in PR #261. Added `disable_skill_shell_execution` to `ClaudeStartOptions`, `HikariConfig`, the `--settings` JSON block in `wsl_bridge.rs`, the TypeScript interface, and exposed a toggle in the Config Sidebar UI. Tests included. ✨
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: nhcarrigan/hikari-desktop#259