Use this skill when testing NodeBridge handlers using `bun scripts/test-nodebridge.ts`, including listing available handlers and passing parameters
This skill guides the process of testing NodeBridge message handlers using the test script.
bun scripts/test-nodebridge.ts --list
bun scripts/test-nodebridge.ts <handler> [options]
bun scripts/test-nodebridge.ts handler.name --key=value --flag=true --count=42
true/false → Boolean, numbers → Number--verbose becomes { verbose: true }For complex data, use --data with JSON (takes priority over --key=value):
bun scripts/test-nodebridge.ts handler.name --data='{"key":"value","nested":{"foo":"bar"}}'
| Category | Example Handlers |
|----------|------------------|
| models | models.list, models.test |
| config | config.list |
| providers | providers.list |
| mcp | mcp.list, mcp.getStatus |
| outputStyles | outputStyles.list |
| project | project.getRepoInfo, project.workspaces.list |
| projects | projects.list |
| sessions | sessions.list |
| skills | skills.list, skills.get, skills.add, skills.remove, skills.preview, skills.install |
| slashCommand | slashCommand.list |
| git | git.status, git.detectGitHub |
| utils | utils.getPaths, utils.detectApps, utils.playSound |
bun scripts/test-nodebridge.ts models.test --model=anthropic/claude-sonnet-4-20250514
bun scripts/test-nodebridge.ts models.test --model=openai/gpt-4o --prompt="Say hello" --timeout=5000
bun scripts/test-nodebridge.ts models.list
bun scripts/test-nodebridge.ts utils.getPaths --cwd=/path/to/dir --maxFiles=100
bun scripts/test-nodebridge.ts projects.list --includeSessionDetails=true
bun scripts/test-nodebridge.ts skills.get --name=my-skill
bun scripts/test-nodebridge.ts git.status --cwd=/path/to/repo
The script outputs:
Success response structure:
{
"success": true,
"data": { ... }
}
Error response structure:
{
"success": false,
"error": "Error message"
}
-h or --help for help messagenpx skills add neovateai/test-nodebridge-handler下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer