creator-mode

Category: Tools & Productivity | Uploader: dannyxiaocndannyxiaocn | Downloads: 0 | Version: v1.0(Latest)

Create or modify tools (.json + .sh pairs) and skills (SKILL.md files) and hot-reload them into the active conversation using reload_capabilities. Use when you want to build a new capability, extend yourself with a new tool, fix an existing tool, create or update a skill, or build a complete application (web server, API, data pipeline, CLI) — all without restarting. --- ## Overview You can extend yourself at runtime. New tools and skills take effect immediately via `reload_capabilities` — no session restart required. Session-scoped capabilities live in `core/` inside your session directory: - **Tools**: `core/tools/<name>.json` (schema) + `core/tools/<name>.sh` (implementation) - **Skills**: `core/skills/<name>/SKILL.md` (frontmatter + body) **There is no limit on what a tool can do.** The shell script can call Python, Node.js, any language or binary on the system. Build first, use immediately. --- ## Building a tool 1. Write the JSON schema to `core/tools/<name>.json` 2. Write the shell implementation to `core/tools/<name>.sh` 3. `chmod +x core/tools/<name>.sh` 4. Call `reload_capabilities` 5. Test by calling the tool ### JSON schema template ```json { "name": "my_tool", "description": "What this tool does. Be specific — the model reads this to decide when to call it.", "input_schema": { "type": "object", "properties": { "arg1": {"type": "string", "description": "Description of arg1."} }, "required": ["arg1"] } } ``` ### Shell tool contract - All kwargs arrive as a JSON object on **stdin** - Write result to **stdout** - Exit 0 = success; non-zero = error (stderr returned as error message) - Timeout: 30 seconds ```bash #!/usr/bin/env bash python3 << 'PYEOF' import sys, json args = json.load(sys.stdin) result = args['arg1'].upper() print(result) PYEOF ``` ### Building full applications Since `.sh` can do anything, tools can build and drive complete applications: **Persistent background process (e.g., web server)** ```bash #!/usr/bin/env bash PORT=$(python3 -c "import

Changelog: Source: GitHub https://github.com/dannyxiaocn/nutshell

Directory Structure

Current level: tree/main/entity/agent/skills/creator-mode/

SKILL.md

Login to download/like/favorite ❤ 6 | ★ 0
Comments 0

Please login before commenting.

No comments yet. Be the first one!