filex
Parse workspace files, HTTP(S) file URLs, or supported source URLs such as YouTube into Markdown, inspect source routing, and inspect resumable PDF batch status with the FileX CLI inside an AWorld sandbox. Use for reading, extracting, transcribing, inspecting, summarizing, or answering questions about PDF, Word, PowerPoint, Excel, CSV, text, Markdown, image, audio, or video files.
git clone --depth 1 https://github.com/inclusionAI/AWorld /tmp/filex && cp -r /tmp/filex/aworld-skills/filex ~/.claude/skills/filexSKILL.md
# Use FileX Use the bundled wrapper for FileX `inspect`, `parse`, and `status`. It validates workspace paths, resolves supported URL sources, keeps credentials out of command-line arguments, preserves FileX JSON fields, and returns `output_path` for synchronous parsing. ## Parse a local file Confirm the file is under the sandbox workspace, normally `/root/workspace`, then run: ```bash python3 /skills/filex/scripts/filex.py parse \ --input /root/workspace/input.docx \ --output /root/workspace/input.md ``` FileX supports: - Documents: PDF, TXT, Markdown, DOC/DOCX, PPT/PPTX. - Tables: CSV, XLS/XLSX. - Images: PNG, JPG/JPEG, WebP, GIF, BMP. - Audio: MP3, WAV, M4A, AAC, FLAC, OGG, OPUS. - Video: MP4, MOV, MKV, WebM, AVI, M4V, MPEG, MPG. Omit `--output` to keep FileX's generated Markdown path. Use `--file-type` only when extension or content detection is insufficient. Parse stdout as JSON and continue only when `success` is `true`. ## Select a provider Use `--provider` when the provider needs no credentials on the command line: ```bash python3 /skills/filex/scripts/filex.py parse \ --input /root/workspace/report.pdf \ --provider liteparse ``` Available providers depend on the file type and image configuration. They include Paddle OCR, LiteParse, PyPDF+VLM, native Office/text/table providers, image VLM, and local Whisper. Let FileX select the default unless the task requires a specific capability. For provider credentials or complex configuration, create a protected JSON file in the workspace and pass `--env-file`. Put `filex_parse_provider` in that file when selecting a provider. Do not combine `--provider` with `--env-file`. ## Parse a URL Pass an HTTP(S) URL directly. FileX downloads it into a bounded workspace cache before parsing: ```bash python3 /skills/filex/scripts/filex.py parse \ --url https://example.com/report.pdf \ --file-type pdf ``` The default maximum download is 512 MiB and the default timeout is 120 seconds. Operators may adjust `FILEX_MAX_DOWNLOAD_BYTES` and `FILEX_DOWNLOAD_TIMEOUT_SECONDS` on the container. ## Inspect and parse YouTube Inspect metadata, chapters, subtitle tracks, publisher transcript candidates, and the recommended route without downloading media: ```bash python3 /skills/filex/scripts/filex.py inspect \ --url "https://www.youtube.com/watch?v=VIDEO_ID" ``` Parse the best available text track into timestamped Markdown: ```bash python3 /skills/filex/scripts/filex.py parse \ --url "https://www.youtube.com/watch?v=VIDEO_ID" \ --mode transcript \ --language en ``` FileX prefers human subtitles, then automatic captions. If neither exists, do not download media unless the user explicitly confirms an applicable rights basis. Only then use `--allow-media-download --rights-basis user-owned` (or `licensed`, `service-permitted`, `applicable-law`) to acquire audio for local Whisper. Never infer permission, use browser cookies, or bypass access controls. The current YouTube source provider records publisher transcript candidates but does not fetch arbitrary external HTML. It does not yet perform scene detection, keyframe OCR, or full audiovisual understanding; preserve these limitations in the response. ## PDF page and batch controls For PDF only, use `--pages 1,3-5`, `--page-batch-size 10`, `--first-batch-pages 10`, or `--batch-resume-id stable-id`. Add `--sync-mode async` for background parsing. Read resumable progress with: ```bash python3 /skills/filex/scripts/filex.py status \ --batch-resume-id stable-id \ --include-results \ --after-batch 0 ``` Use `--no-cache` to bypass cache or `--force-refresh` to refresh an existing result. ## Consume results For synchronous parsing, read `output_path` with the filesystem text tool or bounded terminal chunks. For asynchronous parsing, preserve the returned task/batch identifiers and poll `status`. Inspect the generated Markdown before claiming OCR, table, formula, layout, transcription, or image-understanding fidelity. ## Guardrails - Confirm `command -v filex` before use. Report a missing FileX-enabled image instead of falling back to AWorld's unsupported built-in PDF parser. - Keep source files unchanged and keep every local input, output, and environment file inside the workspace. - Never place credentials directly in a command, prompt, log, skill file, or generated Markdown. - Prefer a workspace path for private files; use `--url` only for a trusted HTTP(S) source. - Preserve FileX error messages, task ids, warnings, metrics, and partial-success information.
Create ad-ready product images (single or collage) by back-solving sub-image sizes from target output ratio, grounding scene design with media_comprehension, generating images via image_generator with strict request params and actor-count control, and pairing each deliverable with a short social tagline for 小红书/抖音.
Create ad-ready product video from product images, with or without character/subject images. The workflow leverages AI-powered image composition, scene understanding, and video generation. Video prompts should follow commercial shot language—visual hooks, product presence, hero shots, detail showcase, function expression, and dynamic visuals.
Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.
A professional skill for App Evaluation (evaluating app's performance with score) and App Improvement (giving professional suggestions for improving the app's performance).
>-
Search and summarize the latest 7 days of AI news and X discussions using public sources plus browser-based X collection. Use for recent AI news, trends, X discussions, industry briefs, and summaries organized into hot topics, viewpoints, and opportunity areas.
|
Analyzes and automatically optimizes existing agents by improving system prompts and tool configuration.