- Add agent configuration files (AGENTS.md, USER.md, IDENTITY.md, SOUL.md) - Add git configuration and skills management scripts - Add frontend/backend analysis tools and reports - Add DingTalk media sender utilities and documentation - Fix OpenClaw runtime environment (Node.js and Python) - Configure git remotes and push scripts
26 lines
898 B
Python
26 lines
898 B
Python
#!/usr/bin/env python3
|
|
"""Simple test for office-file-handler skill"""
|
|
|
|
import sys
|
|
import os
|
|
sys.path.insert(0, 'C:\\Users\\ALC\\.openclaw\\skills\\office-file-handler\\scripts\\python')
|
|
|
|
# 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(f"Testing office-file-handler skill...")
|
|
print(f"Python: {python_exe}")
|
|
print(f"Script: {script_path}")
|
|
|
|
# Check if script exists
|
|
if os.path.exists(script_path):
|
|
print(f"✓ Script exists")
|
|
with open(script_path, 'r', encoding='utf-8') as f:
|
|
content = f.read()
|
|
print(f"✓ Script content loaded, {len(content)} bytes")
|
|
else:
|
|
print(f"✗ Script not found at {script_path}")
|
|
|
|
print("\nPlease create test files (test.xlsx, test.docx, test.pptx) to test the skill functionality.")
|