Skip to content
cccskills

✨Data Intelligence Lab@HKU✨

@HKUDS

Organization

513 skills14 repositories 265.9K

Skills (513)

Refine in search

Continue file reading and data processing when read_file or execute_code_sandbox fails. The skill uses run_shell with short Python commands or multiline scripts to inspect files, parse data, and save transformed output.

  • Reading accessible files after read_file errors
  • Inspecting JSON settings through Python
  • Checking CSV rows after sandbox execution fails
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Recover from repeated web search failures by delegating information gathering to shell_agent. Define the required data and output format, allow retries and alternative collection methods, then check source citations and completeness before using the results.

  • Continuing research after search_web repeatedly fails
  • Collecting market data from multiple sources
  • Checking sources and coverage before writing a report
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Continue drafting research-based documents when web search or page reading tools fail. The workflow uses the agent’s existing knowledge, identifies information gaps, and flags claims that need external verification before completing the requested deliverable.

  • Drafting documents during web search outages
  • Explaining established principles from existing knowledge
  • Flagging claims that need current source verification
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

reportlab-styles

FreeSummary

Apply ReportLab’s built-in paragraph styles to PDF titles, headings, and body text. Learn how to reuse existing styles and create named variations without duplicate style names that can cause KeyError exceptions.

  • Applying consistent styles to PDF titles and body text
  • Checking available built-in paragraph styles
  • Creating a custom style based on an existing one
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Extract PDF text when the usual file reader returns errors or unusable output. Choose command-line tools or Python libraries for plain text, metadata, tables, and complex layouts, with checks for scanned or copy-protected documents.

  • Recovering text when PDF reading fails
  • Extracting tables and structured data from PDFs
  • Inspecting PDF metadata
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Create and edit Excel workbooks by running a complete Python script through the shell. Covers multiple sheets, data entry, formatting, formulas, and saving files when other file-reading or code-execution tools fail.

  • Create an Excel report with multiple sheets
  • Apply data and formatting in one script
  • Update cells in an existing XLSX file
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Continue regulatory research when government pages or PDFs cannot be retrieved. Use alternative sources to draft compliance checklists, clearly distinguish the basis of each finding, and identify requirements that need confirmation from the relevant authority.

  • Continue research when government PDFs cannot be retrieved
  • Draft compliance checklists from secondary sources
  • Organize preliminary notes on pharmacy compliance
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Check PDF page counts, document details, and required text using command-line tools. This skill provides a verification workflow for environments without Python PDF libraries, including text extraction from selected pages and searches for expected sections.

  • Checking whether a PDF has the expected number of pages
  • Searching for required sections or terms in a PDF
  • Extracting text from a selected page range
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

pdf-verification

FreeSummary

Check generated PDFs with Python and PyPDF2 before delivery. Verify expected page counts, detect unreadable or zero-page files, and collect results across multiple documents, with optional file size checks for unusually small outputs.

  • Checking PDFs against required page counts
  • Detecting unreadable or zero-page PDFs
  • Verifying several generated PDFs together
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Inspect PowerPoint files with python-pptx when standard readers fail or return incomplete information. Retrieve slide counts and titles, compare them with presentation requirements, and report missing or problematic content without installing PowerPoint.

  • Inspecting PPTX files that standard readers cannot open
  • Checking that the slide count matches requirements
  • Comparing slide titles with required topics
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Inspect PowerPoint files when standard readers fail by using python-pptx through the shell. Produce structured results showing slide counts, titles, and shape counts to check presentation structure before delivery.

  • Inspecting PowerPoint files that standard readers cannot open
  • Checking slide counts against requirements
  • Finding slides without titles
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Extract data from supplied spreadsheets and documents, check for missing or truncated content, and try alternative reading methods when needed. Results identify source files and clearly separate extracted facts from external information or estimates.

  • Creating reports from attached spreadsheets
  • Recovering pricing tables from incomplete Word extraction
  • Re-reading missing sections of a PDF
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Organizes creation of a spreadsheet, a diagram, and a summary PDF as a related report package. Allocates attempts across components, checks generated files, and provides fallback methods when a tool or output fails.

  • Preparing a spreadsheet, diagram, and PDF report together
  • Documenting equipment choices, layouts, and costs
  • Dividing generation attempts across multiple deliverables
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Prepare Markdown for pandoc PDF conversion by replacing problematic Unicode symbols with ASCII alternatives. The skill covers reusable substitution scripts, broader character conversion, and alternative PDF engines for documents that need to retain Unicode.

  • Fixing Unicode errors during Markdown-to-PDF conversion
  • Standardizing replacements for currency symbols and arrows
  • Choosing a PDF engine that preserves Unicode characters
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Troubleshoot unclear errors when converting documents to PDF with pandoc. Check installation, capture error logs, identify missing fonts or packages, and try alternative PDF engines, the tools that render the final document.

  • Investigating an unknown error during PDF conversion
  • Checking missing fonts and LaTeX packages
  • Retrying conversion with a different PDF engine
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Locate missing files and verify their full paths before processing them. This workflow checks directory contents, searches by filename, and inspects permissions, size, and modification time to help resolve FileNotFoundError, an error indicating a file could not be found.

  • Investigating FileNotFoundError
  • Finding files with unknown locations
  • Checking file existence and permissions before processing
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Check which H.264 video encoders are available before writing FFmpeg scripts. Choose an available encoder or copy an existing video stream when appropriate, then test a short clip to catch compatibility problems before processing the full file.

  • Checking encoders before writing a video conversion script
  • Testing a short clip before processing a full video
  • Changing containers without re-encoding video
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Use shell heredocs, which pass multiline text directly to a command, when write_file fails on complex code. Save TypeScript, JSX, JSON, or shell scripts with literal quotes and formatting, then verify the file and its contents.

  • Saving TypeScript or JSX files after repeated write_file failures
  • Writing JSON files containing quotes and special characters
  • Preserving variables and line breaks in shell scripts
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Build complex Excel files in four stages: extraction, preparation, calculation, and formatted output. Intermediate CSV files let agents and reviewers inspect data, validate forecasts, locate errors, and rerun individual stages without repeating the entire workflow.

  • Combining multiple data sources into an Excel file
  • Checking intermediate values in sales forecasts
  • Locating errors in data preparation or calculations
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Extract data from Excel sheets with misplaced headers, merged header cells, or introductory rows. Uses text patterns to locate headers, clean column names, and remove empty rows so the data can be processed with pandas.

  • Extracting tables beneath title and metadata rows
  • Reading sheets with inconsistent header positions
  • Cleaning blank or duplicate column names
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Find generated files that are missing from their expected locations in isolated or temporary execution environments. Search confirmed directories, identify the right file, copy it to the intended destination, and verify that it is readable and nonempty.

  • Find files after a tool reports successful generation
  • Recover deliverables saved in temporary directories
  • Correct files saved in unexpected nested folders
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Track tasks that require several outputs by listing every deliverable, updating a visible checklist, and verifying that each result exists. Helps prevent work from ending while requested files, reports, or other outputs remain unfinished.

  • Tracking several files requested in one task
  • Managing progress across multiple reports
  • Checking all outputs before closing a task
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Build Excel spreadsheets with merged titles and headers using openpyxl, a Python library for spreadsheet files. Follow a sequence for entering values, merging cells, and applying formatting, with guidance for updating existing merged ranges and checking saved results.

  • Creating report titles that span multiple columns
  • Formatting section headers and grouped labels
  • Updating values in existing merged ranges
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Continue Excel file creation and editing when execute_code_sandbox repeatedly fails with openpyxl errors. Use run_shell to run Python directly, then check that the workbook was saved with the expected sheets and content.

  • Continuing Excel creation after sandbox errors
  • Editing existing workbooks and adjusting column widths
  • Checking saved workbook sheets and content
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Is this your account? Link GitHub to bring it onto your creator page (Japanese)