home / skills / a5c-ai / babysitter / neutralino-js-config
This skill helps you configure Neutralino.js for lightweight desktop apps, setting up projects, config files, and native API access for efficient
npx playbooks add skill a5c-ai/babysitter --skill neutralino-js-configReview the files below or copy the command above to add this skill to your agents.
---
name: neutralino-js-config
description: Configure Neutralino.js for lightweight desktop applications
allowed-tools: Read, Write, Edit, Bash, Glob, Grep
tags: [neutralino, javascript, cross-platform, lightweight, desktop]
---
# neutralino-js-config
Configure Neutralino.js for lightweight desktop applications. Neutralino offers smaller binary sizes than Electron by using the OS's built-in webview.
## Capabilities
- Initialize Neutralino project
- Configure neutralino.config.json
- Set up native API access
- Configure window modes
- Set up extensions
- Configure build targets
- Set up app icons and metadata
## Input Schema
```json
{
"type": "object",
"properties": {
"projectPath": { "type": "string" },
"appName": { "type": "string" },
"windowMode": { "enum": ["window", "browser", "cloud", "chrome"] }
},
"required": ["projectPath", "appName"]
}
```
## neutralino.config.json
```json
{
"applicationId": "com.mycompany.myapp",
"version": "1.0.0",
"defaultMode": "window",
"port": 0,
"documentRoot": "/resources/",
"url": "/",
"enableServer": true,
"enableNativeAPI": true,
"modes": {
"window": {
"title": "My App",
"width": 800,
"height": 600,
"minWidth": 400,
"minHeight": 300
}
}
}
```
## Related Skills
- `tauri-project-setup`
- `electron-builder-config`
This skill configures Neutralino.js projects to build lightweight desktop applications that use the OS webview rather than bundling a full Chromium runtime. It automates neutralino.config.json generation, sets up native API access, window modes, build targets, and application metadata so you can ship smaller binaries with a familiar web stack. The goal is reproducible, minimal configuration that fits into agentic workflows and automated pipelines.
The skill inspects a target project path and generates or updates neutralino.config.json based on provided inputs like applicationId, version, defaultMode, and documentRoot. It can enable or disable the native API, configure window parameters (size, title, min dimensions), register extensions, and prepare platform-specific build targets and icons. When requested, it validates configuration values and emits actionable steps for packaging and local testing.
Can this skill enable native APIs selectively?
Yes — it can toggle enableNativeAPI and document required API permissions so native access is only granted when necessary.
Does it handle platform-specific builds and icons?
It prepares build target entries and metadata placeholders; you still invoke platform packaging tools, but the skill provides the correct neutralino configuration and asset placement guidance.