Claude Skill

multi-script

Example skill — demonstrates a skill with multiple script types (Python, Shell, Batch). Use as a reference when writing cross-platform skills. Not intended for production use — this is an authoring reference only.

LLM Mart · 0 points · 0 views 0 listing impressions 0 install-command copies
Download dcc-mcp-dcc-mcp-core-examples_skills_multi-script-8d8c969.zip · 2 KB

Install

skills CLI npx skills add https://github.com/dcc-mcp/dcc-mcp-core/tree/main/examples/skills/multi-script
Claude Code claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install dcc-mcp-dcc-mcp-core@llmmart
Git git clone https://github.com/dcc-mcp/dcc-mcp-core.git

The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole dcc-mcp/dcc-mcp-core collection as a plugin from our marketplace. Git is the plain clone.

Skill manifest

Multi-Script Skill

A reference skill demonstrating cross-platform, multi-language script support in dcc-mcp-core.

Supported Script Extensions

Extension Language Platform
.py Python All
.sh Shell/Bash Linux, macOS
.bat Batch/CMD Windows
.ps1 PowerShell Windows
.mel MEL Maya
.ms / .mcr MaxScript 3ds Max
.js JavaScript Node.js

Tools

multi_script__action_python

Cross-platform Python implementation — works on all operating systems.

multi_script__action_shell

Bash shell implementation for Linux and macOS.

multi_script__action_batch

Windows Batch (CMD) implementation for Windows environments.

How the dispatcher chooses a script

When a tool is called via tools/call, the SkillCatalog uses the source_file field in each ToolDeclaration to dispatch to the correct script. If source_file is empty, it matches scripts by name stem.

Script convention

All scripts in this skill read JSON parameters from stdin and write a JSON result to stdout:

# action_python.py
import json, sys

params = json.load(sys.stdin)
msg = params.get("message", "hello")
print(json.dumps({"success": True, "message": f"Python says: {msg}"}))
Files (dcc-mcp-core)
  • scripts
    • action_batch.bat 102 B · in bundle
    • action_python.py 533 B
      Loading…
    • action_shell.sh 112 B
      Loading…
  • SKILL.md 2 KB
    ---
    name: multi-script
    description: >-
      Example skill — demonstrates a skill with multiple script types (Python,
      Shell, Batch). Use as a reference when writing cross-platform skills. Not
      intended for production use — this is an authoring reference only.
    license: MIT
    compatibility: Python 3.7+; bash required on Linux/macOS; cmd on Windows
    allowed-tools: Bash Read
    metadata:
      dcc-mcp:
        dcc: python
        recall-context:
          app_type: python
          domain: automation
          workflow_stage: authoring
          task_category: mutate
        version: "1.0.0"
        layer: example
        search-hint: "multi-script, cross-platform, python shell batch, script types, authoring reference"
        tags: "example, multi-language, cross-platform"
        tools: tools.yaml
    ---
    
    # Multi-Script Skill
    
    A reference skill demonstrating **cross-platform, multi-language script support**
    in `dcc-mcp-core`.
    
    ## Supported Script Extensions
    
    | Extension | Language | Platform |
    |-----------|----------|----------|
    | `.py` | Python | All |
    | `.sh` | Shell/Bash | Linux, macOS |
    | `.bat` | Batch/CMD | Windows |
    | `.ps1` | PowerShell | Windows |
    | `.mel` | MEL | Maya |
    | `.ms` / `.mcr` | MaxScript | 3ds Max |
    | `.js` | JavaScript | Node.js |
    
    ## Tools
    
    ### `multi_script__action_python`
    Cross-platform Python implementation — works on all operating systems.
    
    ### `multi_script__action_shell`
    Bash shell implementation for Linux and macOS.
    
    ### `multi_script__action_batch`
    Windows Batch (CMD) implementation for Windows environments.
    
    ## How the dispatcher chooses a script
    
    When a tool is called via `tools/call`, the `SkillCatalog` uses the
    `source_file` field in each `ToolDeclaration` to dispatch to the correct
    script. If `source_file` is empty, it matches scripts by name stem.
    
    ## Script convention
    
    All scripts in this skill read JSON parameters from **stdin** and write
    a JSON result to **stdout**:
    
    ```python
    # action_python.py
    import json, sys
    
    params = json.load(sys.stdin)
    msg = params.get("message", "hello")
    print(json.dumps({"success": True, "message": f"Python says: {msg}"}))
    ```
    
  • tools.yaml 1 KB
    Loading…

Comments (0)

Sign in to join the conversation.

No comments yet.

Reviews (0)

No reviews yet.