algorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code,…
Convert Office documents (Word, Excel, PowerPoint, PDF) to Markdown format. ONLY use this skill when the user explicitly requests to CONVERT, TRANSFORM or PARSE a specific office file into Markdown. Do NOT trigger for general questions, documentation reading, or discussions
$ npx -y skills add shuyu-labs/WebCode --skill office-to-md --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/office-to-mdContext preview
The summary Claude sees to decide when to auto-load this skill.
Convert Office documents (Word, Excel, PowerPoint, PDF) to Markdown format. ONLY use this skill when the user explicitly requests to CONVERT, TRANSFORM or PARSE a specific office file into Markdown. Do NOT trigger for general questions, documentation reading, or discussions
name: office-to-md description: Convert Office documents (Word, Excel, PowerPoint, PDF) to Markdown format. ONLY use this skill when the user explicitly requests to CONVERT, TRANSFORM or PARSE a specific office file into Markdown. Do NOT trigger for general questions, documentation reading, or discussions about files.
Convert various Office document formats to structured Markdown with text, table, and image extraction.
pip install -r requirements.txt
.doc format requires LibreOffice:
# Windows: Install LibreOffice from official website # https://www.libreoffice.org/download/ # Linux sudo apt install libreoffice # Mac brew install --cask libreoffice
from enhanced_parser import EnhancedDocumentParser
# Initialize parser
parser = EnhancedDocumentParser(
image_base_url="http://localhost:5000",
image_save_dir="./static/images",
filter_headers_footers=True # Filter headers and footers
)
# Parse document
result = parser.parse_document("document.docx")
if result["success"]:
print(result["markdown"])
print(f"Extracted {result['images_count']} images")# Start service using app.py from project root python app.py # Visit http://localhost:5000/analyzer to upload files
| Format | Extensions | Notes | |--------|-----------|-------| | Word | .docx, .doc | .doc requires LibreOffice | | Excel | .xlsx, .xls | Supports multiple worksheets and date formats | | PowerPoint | .pptx | Extracts slide text and images | | PDF | .pdf | Auto-detects tables and images |
# Test LibreOffice configuration python doc_converter.py
parser = EnhancedDocumentParser(
pdf_table_strategy="lines_strict" # Default: strict line detection, fastest
# "lines": Normal line detection
# "text": Based on text position, more accurate but slower
)parser = EnhancedDocumentParser(
image_base_url="https://your-domain.com", # Image access URL
image_save_dir="./static/images" # Image save directory
){
"success": true,
"markdown": "# Document Title\n\nContent...",
"images_count": 2,
"images": [
{
"filename": "uuid.png",
"url": "http://localhost:5000/static/images/uuid.png",
"size": 12345
}
],
"file_type": "docx",
"file_info": {
"name": "document.docx",
"size": 45678,
"paragraphs": 50,
"tables": 3
}
}WebCode is a browser-based AI coding platform that lets you remotely run CLI assistants like Claude Code and Codex. Code anywhere with just a web browser. We’re also adding an office-assistant mode for planning, research/summaries, meeting notes, and drafting docs/emails—connected to your project context.
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code,…
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art,…
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction. When Claude…
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts,…