Claude Skill

async-render-example

Example skill — demonstrates async execution affinity: long-running tools surface as deferredHint=true in MCP tools/list. Use as a reference when writing domain skills with render or simulation tools. Not intended for production use.

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

Install

skills CLI npx skills add https://github.com/dcc-mcp/dcc-mcp-core/tree/main/examples/skills/async-render-example
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

Async Render Example (issue #317)

This skill demonstrates the execution and timeout_hint_secs fields added for issue #317. Tools are declared with either execution: sync (default) or execution: async; the MCP server derives the deferredHint annotation from this value and surfaces timeout_hint_secs under _meta.dcc.timeoutHintSecs on the tool definition (never inside annotations).

Behaviour

  • render_frames → execution: async + timeout_hint_secs: 600 → tools/list entry gets "annotations": { "deferredHint": true, ... } and "_meta": { "dcc": { "timeoutHintSecs": 600 } }.
  • quick_status → no execution field → default Sync → "annotations": { "deferredHint": false, ... } and no _meta.

Script convention

Each script reads JSON parameters from stdin and writes a JSON result to stdout — the standard dcc-mcp-core skill script contract.

Files (dcc-mcp-core)
  • scripts
    • quick_status.py 294 B
      Loading…
    • render_frames.py 654 B
      Loading…
  • SKILL.md 1.6 KB
    ---
    name: async-render-example
    description: >-
      Example skill — demonstrates async execution affinity: long-running tools
      surface as deferredHint=true in MCP tools/list. Use as a reference when
      writing domain skills with render or simulation tools. Not intended for
      production use.
    license: MIT
    compatibility: Python 3.7+
    metadata:
      dcc-mcp:
        dcc: python
        recall-context:
          app_type: python
          domain: rendering
          workflow_stage: authoring
          task_category: mutate
        version: "1.0.0"
        layer: example
        search-hint: "async tool, long-running, deferred hint, timeout hint, render async, authoring reference"
        tags: "example, async, render, deferred"
        tools: tools.yaml
    ---
    
    # Async Render Example (issue #317)
    
    This skill demonstrates the `execution` and `timeout_hint_secs` fields added
    for issue #317. Tools are declared with either `execution: sync` (default)
    or `execution: async`; the MCP server derives the `deferredHint` annotation
    from this value and surfaces `timeout_hint_secs` under
    `_meta.dcc.timeoutHintSecs` on the tool definition (never inside
    `annotations`).
    
    ## Behaviour
    
    - `render_frames` → `execution: async` + `timeout_hint_secs: 600`
      → `tools/list` entry gets `"annotations": { "deferredHint": true, ... }`
      and `"_meta": { "dcc": { "timeoutHintSecs": 600 } }`.
    - `quick_status` → no `execution` field → default `Sync`
      → `"annotations": { "deferredHint": false, ... }` and no `_meta`.
    
    ## Script convention
    
    Each script reads JSON parameters from stdin and writes a JSON result to
    stdout — the standard dcc-mcp-core skill script contract.
    
  • tools.yaml 334 B
    Loading…

Comments (0)

Sign in to join the conversation.

No comments yet.

Reviews (0)

No reviews yet.