Skip to content
cccskills

✨Data Intelligence Lab@HKU✨

@HKUDS

Organization

513 skills14 repositories 266K

Skills (513)

Refine in search

Inspect the first few lines of a file and its total line count in one shell call. Combine head and wc -l with a visible separator to check generated or modified files with fewer calls.

  • Checking the beginning and line count of a generated file
  • Inspecting a file after edits
  • Checking several output files after a build
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Build TypeScript data services that separate API calls from display components. Add caching and a circuit breaker, which pauses calls after repeated failures, while keeping user-triggered requests able to report errors directly.

  • Building data services for automatically refreshed panels
  • Pausing repeated calls to a failing API
  • Separating generation errors from background refresh handling
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Build dashboard panels in plain TypeScript, with regularly refreshed content, loading indicators, item counts, and error messages. Provides a shared panel class and examples for stocks, news, and weather, including retry handling and small trend charts.

  • Build dashboard panels with a shared structure
  • Refresh stock prices or news at regular intervals
  • Add loading indicators and retry controls
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Connect stock data to an application using Finnhub Stock API. The skill covers current quotes, company profiles, historical prices, and market news, with server-side request handling to protect API keys and manage cached responses.

  • Display current stock prices on a dashboard
  • Retrieve historical prices and trading volumes
  • Show company profiles alongside stock quotes
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Write large text files when write_file or shell_agent fails because of content size limits. The fallback passes multiline content through run_shell to Python, with guidance on escaping characters and checking the saved file.

  • Saving large source files after a write_file failure
  • Writing long JSON or Markdown files
  • Handling content with complex shell escaping
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Recover failed writes of large files or code containing special characters by placing content in a temporary Python script. Use raw strings or Base64 encoding, then check that the output file exists and has content.

  • Retrying writes that fail with unknown errors
  • Writing TypeScript or TSX containing template literals
  • Saving long text with Unicode or special characters
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

List and count folders in a specified path using list_dir results. Distinguishes directories from files, handles hidden and system entries, and presents an alphabetically sorted inventory with the path and total count.

  • Check the folders that make up a project
  • Create an inventory of skill or module directories
  • Explore the directory layout of a repository
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Build news feeds with GNews, NewsAPI, or HackerNews using headline retrieval, keyword search, and category filters. Includes examples for organizing article data, displaying sources and publication times, and handling failed requests in a frontend service.

  • Adding category-based headlines to an app
  • Building a keyword search for news articles
  • Displaying HackerNews stories with article links
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Describe the files you want created, updated, or organized, and let shell_agent choose how to perform the work. It selects tools such as Python or Bash, executes the operation, and handles errors with retries.

  • Creating a document with specified content and format
  • Updating multiple configuration files
  • Creating a Python project structure
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Analyze agent runs that fail before any work begins. Check iteration counts, tool use, logs, and outputs to identify startup failures, then direct investigation toward environment setup, input formatting, permissions, or resource limits.

  • Investigating failed runs with zero iterations
  • Checking startup errors across multiple agents
  • Recording failures that require system review
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Keep report writing focused on the original request when information retrieval fails. This skill guides agents to use existing knowledge, disclose missing information, create a structured document with write_file, and verify that the file exists.

  • Drafting a report when web search fails
  • Continuing document work after repeated tool errors
  • Documenting gaps in available source information
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Recover from failed automated file creation with an explicit shell workflow. The skill guides agents through checking folders, writing and running scripts, and inspecting output files to confirm that deliverables were actually created.

  • Recovering from repeated automated execution failures
  • Checking where output files were saved
  • Verifying generated PDF and Word files
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Check deliverables before marking a task complete. Review the requested file format, confirm every reference file was used, and compare the result with the original request to catch omissions and work that misses the goal.

  • Checking deliverables before submission
  • Reviewing coverage of multiple reference files
  • Verifying requested output formats
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Diagnose connection problems with government websites by checking SSL certificates, which verify website identity, and proxy settings. Follow structured troubleshooting steps, record failed attempts, and explore alternative APIs or data sources when access remains blocked.

  • Diagnosing certificate errors on government websites
  • Checking whether proxy settings block data access
  • Finding alternative sources for inaccessible public data
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Create or edit Excel workbooks with checks for sheet names, row counts, formulas, and merged cells. Reopen the saved file and verify each requirement, recording explicit results rather than relying on a completion summary.

  • Create an Excel workbook from a detailed specification
  • Verify row counts and formulas after editing
  • Identify the correct workbook among similar files
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Verify saved Excel files directly with Python and openpyxl, a workbook library. Check sheets, headers, row counts, marked rows, and output files to resolve conflicting agent reports and summarize what actually exists on disk.

  • Resolve conflicting workbook reports from agents
  • Check that spreadsheet edits were saved
  • Count rows selected with a marker column
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Process complex Excel files by running Python scripts directly through run_shell. Use pandas for data transformations and openpyxl for workbook editing, including multiple sheets, formulas, and formatting, with explicit saving and error reporting.

  • Processing multiple Excel sheets in one script
  • Calculating new columns from spreadsheet data
  • Formatting report headers and cells
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Create and process Excel files, PDF checklists, and structured reports by running Python scripts directly. The skill covers multiple sheets, formulas, formatting, data transformations, and error handling for document workflows with several steps.

  • Process and format multiple Excel sheets
  • Create PDF checklists
  • Turn sales summaries into PDF reports
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Validate spreadsheet sources before running Python scripts to transform data, update multiple sheets, or apply formatting. Check required data first, try backup sources when needed, and report errors clearly if processing cannot proceed.

  • Checking required columns before processing Excel files
  • Transforming data and saving a new workbook
  • Updating formatting across multiple sheets
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Process Excel files with Python after checking that input files and source URLs are accessible. The workflow covers data transformations, formulas, and formatting, with alternative sources and error logs when access fails.

  • Transforming Excel data after checking input files
  • Applying formulas and formatting across multiple sheets
  • Trying backup sources when a data URL is unavailable
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Update or create Excel workbooks with checks against the requested structure. Identify the correct file before editing, then reread the saved workbook to verify sheet names, populated columns, row counts, and selected sample counts.

  • Identify the correct workbook among similarly named files
  • Verify required sheets and columns after editing
  • Check selected sample counts and required selection criteria
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Create or modify Excel workbooks, then independently check the saved file with Python. Verify required sheets, columns, populated cells, row counts, and sample selections against the requested structure before reporting the work as complete.

  • Creating Excel workbooks from reference data
  • Identifying the correct workbook before editing
  • Checking required sheets, columns, and row counts
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Create medical visit notes in SOAP format, which separates patient reports, observed findings, clinical assessment, and care plans. Organize the available information into a complete Markdown or plain text file written in one operation.

  • Organizing patient visit information into SOAP notes
  • Documenting symptoms, medical history, and examination findings
  • Recording treatment plans and follow-up arrangements
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

Run Python through run_shell when code execution tools repeatedly fail. This workflow embeds a multiline script directly in a shell command, supporting tasks such as CSV conversion and PDF generation while checking execution output.

  • Continuing Python work after repeated tool errors
  • Converting CSV data to JSON
  • Generating PDFs with reportlab
HKUDS/OpenSpace7.8KUpdated Aug 13, 2026

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