Skip to content
cccskills

✨Data Intelligence Lab@HKU✨

@HKUDS

Organization

513 skills14 repositories 266.4K

Skills (513)

Refine in search

Continue regulatory research when official sources cannot be accessed. The skill uses alternative sources or established regulatory knowledge to draft summaries and checklists, while documenting limitations and identifying the need for verification against current official requirements.

  • Continuing regulatory research after source access failures
  • Drafting pharmacy and healthcare compliance checklists
  • Documenting unavailable sources and alternative evidence
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Extract text from PDFs when read_file fails or returns unreadable data. Use dedicated command-line tools or Python libraries to retrieve text and tables, preserve spacing where possible, inspect document properties, and validate the extracted content.

  • Extract text when PDF reading fails
  • Retrieve text while preserving layout spacing
  • Extract tables as structured data
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

Create PowerPoint presentations through shell_agent with specified slide counts and content, then locate the resulting files in nested workspace folders. Copy the presentation to the working directory and check that it exists and is not empty.

  • Creating slides with specified content and structure
  • Generating presentations when document tools fail
  • Locating presentations in nested folders
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Use attached spreadsheets and documents as the primary source for reports and analysis. Identify relevant files, extract needed data, and cite filenames, turning to external searches or clearly labeled estimates only when the supplied material lacks required information.

  • Preparing a report from an attached Excel file
  • Extracting required figures from CSV or PDF files
  • Citing the source filename for reported data
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Run Python through the shell when a code sandbox fails to start or connect. Uses a heredoc, a way to pass multiline code, with examples for generating charts, Word documents, and processed JSON files.

  • Continue Python work when the code sandbox is unavailable
  • Create a graph image from Excel data
  • Generate a Word document with headings and a table
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Debug PowerPoint generation with python-pptx, a Python library for presentations. Follow a sequence of installation checks, minimal tests, error logging, and fixes for tables and charts, then inspect the generated slides.

  • Diagnosing errors in PowerPoint generation
  • Fixing table and chart code
  • Saving detailed error logs
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Inspect PowerPoint files when read_file returns errors or incomplete content. Using python-pptx, a Python library for presentations, the skill extracts slide counts, titles, and text to check whether the deck meets expected structural requirements.

  • Check slide counts in generated presentations
  • Compare slide titles with required topics
  • Inspect slide structure and text before delivery
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Run Python through shell commands when sandbox execution fails because required packages are unavailable. The skill explains short commands, multiline scripts, package checks, and output verification, with examples for creating Excel and Word files.

  • Continuing Python work after sandbox import failures
  • Creating Excel or Word files through shell commands
  • Running multiline Python scripts with a heredoc
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Recover readable text from PDFs when read_file or Python extraction fails. Use pdftotext, a command-line text extractor, with options to preserve layout, specify character encoding, or save extracted content to a file.

  • Recovering text after PDF reading fails
  • Extracting text while preserving page layout
  • Saving text from large PDFs to a file
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Check generated PDFs with PyPDF2 before reporting completion. A Python script verifies that each file can be opened and has the expected page count, helping identify outputs that need regeneration.

  • Checking a generated one-page summary
  • Verifying page counts across multiple PDFs
  • Checking PDFs before reporting completion
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Recover from file creation failures in automated tools by creating directories with shell commands and writing files individually. This workflow separates each step so project structures can be created and checked more easily.

  • Recovering from unknown file creation errors
  • Creating nested project directories
  • Writing multiple files individually
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Run Python through run_shell when execute_code_sandbox fails unexpectedly. The skill explains how to pass multiline code using a heredoc, a shell syntax for inline text, then check standard output and error messages.

  • Continue Python work after an unknown sandbox error
  • Pass multiline Python code to run_shell
  • Check Python availability with a simple print statement
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Diagnose Python script failures by showing error output and exit codes alongside the working directory and file listing. Use these clues to investigate missing files, missing modules, permission errors, or scripts that produce no output.

  • Investigating Python failures during automated execution
  • Checking file paths after a FileNotFoundError
  • Diagnosing Python failures in CI/CD pipelines
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

robust-pdf-read

FreeSummary

Extract readable text from PDFs when ordinary file readers return garbled or binary content. The skill guides agents through detecting failed reads and using pdftotext, a command-line PDF text extractor, with layout-preserving options.

  • Reading PDFs that return garbled text
  • Extracting text while preserving page layout
  • Working around Python dependency issues in sandboxes
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Build answers and reports from provided reference files before searching the web. The workflow identifies attachments, extracts and checks relevant data, tries alternatives for unreadable Word files, and states sources and missing information.

  • Creating a report from an attached Excel file
  • Extracting reference text when Word file reading fails
  • Identifying missing information before supplementary searches
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Diagnose Python spreadsheet failures through staged checks of the interpreter, library imports, file access, and basic operations. Minimal test scripts help separate environment problems from errors in the full processing script.

  • Investigating unclear errors returned by run_shell
  • Diagnosing spreadsheet scripts that suddenly stop working
  • Checking Python setup in a new environment or container
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Extract text from PDFs by trying several methods in sequence and checking the results. When ordinary extraction yields too little text, switch to OCR, which recognizes text in images, to process scanned documents.

  • Extracting text from PDFs of unknown types
  • Reading text from scanned documents
  • Batch processing PDFs in different formats
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Investigate Python script failures by capturing regular output, error details, and exit codes. Log the working directory and resolved file paths to expose missing files, permission problems, missing modules, or differences in automated execution.

  • Investigating Python failures with unclear error messages
  • Checking paths when file reads or writes fail
  • Debugging scripts that fail only in automation
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Troubleshoot CSV and XLSX processing when execute_code_sandbox fails. The workflow locates input files, saves processing code as a Python script, captures execution errors, checks dependencies and file access, and confirms output exists before reading it.

  • Recovering spreadsheet processing after sandbox errors
  • Locating CSV and XLSX input files
  • Diagnosing dependency, path, and encoding errors
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

Diagnose Python script failures by capturing full error traces, which show where execution failed, alongside exit codes and working directory details. The skill also covers file existence checks and clearer paths for troubleshooting.

  • Investigate Python failures with unclear error messages
  • Find why a script cannot locate its input file
  • Add diagnostic output to file processing scripts
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Create PowerPoint presentations with shell_agent, then switch to Python and python-pptx if generation fails. The workflow captures error details, locates output files, and checks that the presentation opens and contains the expected slides.

  • Creating slides from a specified outline
  • Recovering from presentation generation errors
  • Locating PowerPoint files saved in unexpected folders
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

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