Skip to content

deephaven/agent-skills

Repository files navigation

Deephaven Agent Skills

Agent skills for working with Deephaven Core real-time data processing, following the agentskills.io specification.

Caution

These skills are in early development and may give incomplete or inaccurate recommendations to agents. It is not recommended for production use at this time. Feedback and contributions are welcome to help improve these skills. Kafka and Iceberg sections are particularly in need of review and expansion. Evals are being developed to help identify areas for improvement.

Installation

npx skills add deephaven/agent-skills

Skills

deephaven-core-query-writing

Comprehensive skill for Deephaven real-time data processing covering:

  • Table operations (select, update, view, filter, sort)
  • Joins (natural, exact, as-of, reverse as-of, range, cross)
  • Aggregations (sum, avg, count, first/last, weighted, combined)
  • Time-series operations (parsing, binning, calendars, timezones)
  • Update-by operations (rolling, cumulative, EMA)
  • Kafka streaming (consume, produce, table types)
  • Iceberg integration (catalogs, read/write, partitioned tables)
  • UI dashboards (components, hooks, layouts, styling)
  • Plotting with Deephaven Express (dx)

Supported Agents

Skills are agent-agnostic—the same skill works across all supported AI coding assistants:

Repository Structure

skills/
  deephaven-core-query-writing/
    SKILL.md              # Main skill definition
    references/           # Detailed topic guides
      aggregations.md
      iceberg.md
      joins.md
      kafka.md
      plotting.md
      sitemap.md
      time-operations.md
      ui.md
      updateby.md
tools/                    # Validation tooling

Development

Local Testing

Install the skill into your current repo from a local checkout:

npx skills add .

Validation

Lint and run requires dh cli private tool that is not yet available.

cd tools
uv sync
uv run validate                   # Validate structure and frontmatter
uv run check-python               # Check Python code block syntax
uv run check-links                # Check internal markdown links
uv run check-external-links       # Check external URLs
uv run lint-blocks                # Ruff lint Python code blocks
uv run run-each-block             # Run each Python block against Deephaven (requires dh CLI)

lint-blocks

Runs ruff check on every Python code block extracted from the skill markdown files. Each block is linted in isolation. Blocks tagged with # pseudo or # incomplete are skipped.

uv run lint-blocks                     # lint all blocks
uv run lint-blocks joins.md            # lint blocks from one file
uv run lint-blocks --fix               # auto-fix and write changes back to markdown
uv run lint-blocks --stop-on-fail      # stop at first failure

run-each-block

Executes every Python code block from skill markdown files against a live Deephaven instance using experimental dh exec. Each block runs in its own isolated process so no state leaks between blocks. Blocks tagged with # pseudo or # incomplete are skipped.

Requires the dh cli to be installed and on PATH.

uv run run-each-block                  # run all blocks in parallel
uv run run-each-block joins.md         # run blocks from one reference file
uv run run-each-block --timeout 45     # custom per-block timeout (default: 30s)
uv run run-each-block --workers 4      # limit parallelism (default: 8)
uv run run-each-block --sequential     # disable parallelism
uv run run-each-block --stop-on-fail   # stop at first failure

License

Apache-2.0

About

Deephaven Agent Skills

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages