#!/usr/bin/env python3 # -*- coding: utf-8 -*- """Simple test for office-file-handler skill""" import sys import os # Test Python script directly python_exe = r"F:\pyenv\pyenv-win\pyenv-win\versions\3.14.2\python.exe" script_path = r"C:\Users\ALC\.openclaw\skills\office-file-handler\scripts\python\read_excel.py" print("Testing office-file-handler skill...") print("Python: " + python_exe) print("Script: " + script_path) # Check if script exists if os.path.exists(script_path): print("[OK] Script exists") with open(script_path, 'r', encoding='utf-8') as f: content = f.read() print("[OK] Script content loaded, " + str(len(content)) + " bytes") else: print("[ERROR] Script not found at " + script_path) print("\nPlease create test files (test.xlsx, test.docx, test.pptx) to test the skill functionality.")