"""
S2 Decomposed: tool-persistence
==========================================

Auto-generated by S2 Auto-Decomposer.

Original skill: automation/tool-persistence
Scale structure:
  L0 (Micro): 7 operations
  L1 (Meso): 3 operations
  L2 (Macro): 1 operations
  L3 (Meta): 1 orchestrator

Model routing:
  L0 -> codegemma
  L1 -> qwen3
  L2 -> qwen3
  L3 -> deepseek_r1
"""




# Skill metadata
SKILL_METADATA = {
    "original_id": "automation/tool-persistence",
    "original_name": "tool-persistence",
    "scale_structure": {
    "L0": [
        "extract_code_structure: Capture input code snippets and identify their internal structure.",
        "capture_metadata: Extract tool name, description, potential inputs/outputs from the solution context.",
        "generate_template_placeholder: Create placeholder functions or variables based on identified logic for a new script/tool.",
        "format_documentation_snippet: Produce usage instructions or examples in specific text formats (e.g., Markdown).",
        "analyze_solution_for_tooling: Composes extract_code_structure and capture_metadata to identify the core logic, inputs, outputs, and necessary metadata from a given solution workflow.",
        "generate_template_from_analysis: Combines the output of analyze_solution_for_tooling with code generation rules (like specific language conventions) into a reusable tool template structure.",
        "create_persistent_tool_wizard: Bundles 'analyze_solution_for_tooling' and 'generate_template_from_analysis'. This macro takes a solution description, identifies its repeatable parts, analyzes it for tool requirements, then automatically generates the necessary script template structure with placeholders."
    ],
    "L1": [
        "analyze_solution_for_tooling: Composes extract_code_structure and capture_metadata to identify the core logic, inputs, outputs, and necessary metadata from a given solution workflow.",
        "generate_template_from_analysis: Combines the output of analyze_solution_for_tooling with code generation rules (like specific language conventions) into a reusable tool template structure.",
        "create_persistent_tool_wizard: Bundles 'analyze_solution_for_tooling' and 'generate_template_from_analysis'. This macro takes a solution description, identifies its repeatable parts, analyzes it for tool requirements, then automatically generates the necessary script template structure with placeholders."
    ],
    "L2": [
        "create_persistent_tool_wizard: Bundles 'analyze_solution_for_tooling' and 'generate_template_from_analysis'. This macro takes a solution description, identifies its repeatable parts, analyzes it for tool requirements, then automatically generates the necessary script template structure with placeholders."
    ],
    "L3": [
        "automation_tool_persistence_orchestrator"
    ]
},
    "skill_tree": {
    "automation/tool_persistence/orchestrator": [
        "automation/tool_persistence/create_persistent_tool_wizard"
    ],
    "automation/tool_persistence/create_persistent_tool_wizard": [
        "automation/tool_persistence/extract_code_structure",
        "automation/tool_persistence/capture_metadata",
        "automation/tool_persistence/generate_template_placeholder"
    ],
    "automation/tool_persistence/analyze_solution_for_tooling": [
        "automation/tool_persistence/extract_code_structure",
        "automation/tool_persistence/capture_metadata",
        "automation/tool_persistence/generate_template_placeholder"
    ],
    "automation/tool_persistence/generate_template_from_analysis": [
        "automation/tool_persistence/extract_code_structure",
        "automation/tool_persistence/capture_metadata",
        "automation/tool_persistence/generate_template_placeholder"
    ]
},
    "model_routing": {
    "L0": "codegemma",
    "L1": "qwen3",
    "L2": "qwen3",
    "L3": "deepseek_r1"
},
}
