Agent skill

Pure Lsp Execute Parallel

by finos in finos/legend-engine

Runs 2 to 30 Pure functions or tests concurrently on the warm LSP daemon via pure-lsp execute-parallel, or every test in a package or .pure file with --package/--source.

Apache-2.0Auto-check passedDatabases

Install Pure Lsp Execute Parallel

skills CLI
$ npx skills add finos/legend-engine --skill pure-lsp-execute-parallel -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install finos/legend-engine pure-lsp-execute-parallel --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/finos/legend-engine.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/pure-dev/skills/pure-lsp-execute-parallel .claude/skills/pure-lsp-execute-parallel && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
pure-lsp-execute-parallel
GitHub stars
112
Token cost
~927 tokens
SKILL.md length
375 words
Files
1
Skills in repo
15
Repo updated
First seen
Licence
Apache-2.0

At a glance

Runs 2 to 30 Pure functions or tests concurrently on the warm LSP daemon via pure-lsp execute-parallel, or every test in a package or .pure file with --package/--source.

  • More than one function
  • SKILL.md covers PCT tests, Values, not just pass/fail, One parameterised function… and Edits and scopes, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Test is to be run

What it does

Pure Lsp Execute Parallel is an agent skill from finos/legend-engine. Runs 2 to 30 Pure functions or tests concurrently on the warm LSP daemon via pure-lsp execute-parallel, or every test in a package or .pure file with --package/--source. Use whenever more than one function or test is to be run, including several tests on one PCT adapter, and never a shell loop of pure-lsp execute. Returns per-entry status, duration and typed returnValue plus a cancellable runId. Also the way to collect the values of many value-returning functions without a runAll() aggregator. About 2x faster…

Its SKILL.md is about 930 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Databases, covering Data warehousing. It works with Snowflake. The licence is Apache-2.0.

When your agent uses it

  • More than one function
  • Test is to be run
  • Including several tests on one PCT adapter
  • Never a shell loop of pure-lsp execute

Example prompts

  • “/pure-lsp-execute-parallel”

What it can do on your machine

Read from SKILL.md and the folder at commit 00108b7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Pure Lsp Execute Parallel loads about 927 tokens when it runs. Until then it costs about 152 tokens; SKILL.md has 375 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~152
When it runs · the whole SKILL.md, loaded when a task matches
~927

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from finos/legend-engine at commit 00108b7, republished under its Apache-2.0 licence (© finos). 375 words, ~927 tokens.

Download SKILL.mdSave it as .claude/skills/pure-lsp-execute-parallel/SKILL.md (or your agent's skills folder).
name
pure-lsp-execute-parallel
description
Runs 2 to 30 Pure functions or tests concurrently on the warm LSP daemon via `pure-lsp execute-parallel`, or every test in a package or .pure file with --package/--source. Use whenever more than one function or test is to be run, including several tests on one PCT adapter, and never a shell loop of `pure-lsp execute`. Returns per-entry status, duration and typed returnValue plus a cancellable runId. Also the way to collect the values of many value-returning functions without a runAll() aggregator. About 2x faster than serial for five Snowflake PCT tests (51 s against 116 s).

Run many functions concurrently on one daemon

Needs a running bridge; use only the pure-lsp CLI, never curl (references/lsp-devloop-usage-rules.md). For exactly one function use pure-lsp-execute.

bash
pure-lsp execute-parallel 'my::pkg::t1():Boolean[1]' 'my::pkg::t2():Boolean[1]' [--json]

Each entry is a signature, mangled id or bare path. No <<test.Test>> annotation is needed, but there is no <<test.BeforePackage>> bracketing; name a scope instead if you need hooks. The daemon bounds the fan-out (executionConcurrency, about 0.75 x cores, in pure-lsp status). Past the core count extra threads only cost throughput, and an unbounded batch starves status/check/cancel-tests, so send the whole batch and do not chunk it. An unresolvable path fails the whole run up front, naming it. More than 30 entries is refused client-side (references/test-scopes.md).

PCT tests

One call takes one adapter, applied to every entry. Ids are <fqn>_Function_1__Boolean_1_:

bash
P=meta::pure::functions::relation::tests::composition
pure-lsp execute-parallel "$P::testA_Function_1__Boolean_1_" "$P::testB_Function_1__Boolean_1_" --pct-adapter DuckDB

For several adapters, make one call per adapter. Adapter paths: references/pct-adapters.md.

Values, not just pass/fail

With --json, each entry in tests[] carries functionPath, status, durationMs and returnKind/returnType/returnValue/returnSize/returnTruncated, as in pure-lsp-execute. Without --json the tree shows a one-line = <value> under each entry. Use this instead of a runAll() that prints delimited output.

One parameterised function over many argument sets

A list can't name one function 30 times. The /execute-tests endpoint takes invocations: [{"path", "arguments": ["String[1]", ...], "label"}], reported by label. The CLI doesn't surface it; callers build the payload, as pure-sql-e2e does (pure-lsp-sql-e2e skill).

Show full SKILL.md (158 more words)Show less

Edits and scopes

  • Compile edited files first with a repeatable flag: --file Main.pure --file Helper.pure.
  • Whole package or file, discovered server-side: --package <pkg> or --source <file.pure>. Concurrency applies within a package node only; hooks still bracket each subtree in order.

Caveats

  • Container-backed adapters (Postgres) start a Testcontainers container on first use in a session. Run one test serially first; fanning out on a cold session starts one container per entry and most fail with "Container startup failed".
  • Each execution has its own console and thread-local transaction; the backend DB (server 9095, H2 9092) is shared. Concurrent writers race (Table ... already exists). Do table setup once with pure-lsp execute, then fan out read-only tests; run tests that write serially with pure-lsp execute --package.
  • Parallelism does not rescue plan-gen-heavy suites, and a run holds the graph read lock throughout.
  • Verified safe for relational plan-gen, graphFetch and print; for any other workload sanity-check a parallel run against a serial one first.

© finos, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugins/pure-dev/skills/pure-lsp-execute-parallel of finos/legend-engine.

Open the folder on GitHubat commit 00108b7

Compare with similar skills

Pure Lsp Execute Parallel next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Pure Lsp Execute Parallel compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Pure Lsp Execute Parallel this skillfinos/legend-engine112—~927Automated safety check: PassApache-2.0
Caspian DiscordTryCaspian/caspian-sdk973—~323Automated safety check: PassApache-2.0
Write Script Snowflakewindmill-labs/windmill18k—~2.2kAutomated safety check: PassCustom licence
Snowflakeadobe/skills196—~3.7kAutomated safety check: PassApache-2.0
Snowflake Access Guardianjeremylongshore/tons-of-skills-marketplace2.8k—~3.2kAutomated safety check: PassMIT
Snowflake Cost Leak Hunterjeremylongshore/tons-of-skills-marketplace2.8k—~4.1kAutomated safety check: PassMIT

Similar skills

  • Caspian Discord

    TryCaspian/caspian-sdk

    Post a Discord message via Caspian to a channel snowflake id.

    973 GitHub stars~323 tokensUpdated 1 mo ago
    DatabasesAuto-check passed
  • Write Script Snowflake

    windmill-labs/windmill

    MUST use when writing Snowflake queries. An agent skill from windmill-labs/windmill.

    18k GitHub stars~2.2k tokensUpdated today
    DatabasesAuto-check passed
  • Snowflake

    adobe/skills

    Use this when converting an AI-generated static HTML page (Stardust, Mobirise, Relume, Lovable, v0, Figma-derived, etc.) into an Edge Delivery Services page while preserving the original design and…

    196 GitHub stars~3.7k tokensUpdated today
    DatabasesAuto-check passed
  • Snowflake Access Guardian

    jeremylongshore/tons-of-skills-marketplace

    Audit Snowflake effective access and produce a safe least-privilege change packet.

    2.8k GitHub stars~3.2k tokensUpdated today
    DatabasesAuto-check passed
  • Snowflake Cost Leak Hunter

    jeremylongshore/tons-of-skills-marketplace

    Audit and analyze Snowflake warehouse, serverless, Adaptive, storage, transfer, and AI cost evidence with a typed ledger that prevents double counting and exposes freshness, attribution, control…

    2.8k GitHub stars~4.1k tokensUpdated today
    DatabasesAuto-check passed
  • Snowflake Governance Coverage Auditor

    jeremylongshore/tons-of-skills-marketplace

    Audit trusted Snowflake classification, tags, masking, row access, projection, join, aggregation, and privacy-policy evidence without reading customer data.

    2.8k GitHub stars~1.8k tokensUpdated today
    DatabasesAuto-check passed

More from finos/legend-engine

All 15 skills in this repo
  • Pure Backend Start

    finos/legend-engine

    Starts (or confirms) the standalone legend-engine backend - engine Server + H2 + local metadata server on fixed ports 9095/9092 - so a Pure LSP started with -Dlegend.test.

    112 GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Pure Chain Update

    finos/legend-engine

    Procedure for git-syncing and rebuilding a local legend-pure + legend-engine checkout, in dependency order, with pinned dependency versions resynced.

    112 GitHub stars~1.8k tokensUpdated today
    Auto-check passed
  • Pure Code Style

    finos/legend-engine

    Reformats a .pure file (or a block of Pure code) to a consistent house style: 2-space indentation with no column-aligned hanging indents, tight colons in type annotations, spaced pipes on…

    112 GitHub stars~1.6k tokensUpdated today
    Auto-check passed
  • Pure Lsp Check

    finos/legend-engine

    Compiles/checks a single .pure file against the already-running Legend Pure LSP bridge and reports diagnostics (errors/warnings) in under a second, as a fast alternative to a full mvn test/mvn…

    112 GitHub stars~1.4k tokensUpdated today
    Auto-check passed
  • Pure Lsp Connect

    finos/legend-engine

    Attaches the pure-lsp HTTP bridge to an LSP daemon that is ALREADY running (e.g.

    112 GitHub stars~1.3k tokensUpdated today
    Auto-check passed
  • Pure Lsp Execute

    finos/legend-engine

    Runs exactly ONE existing Pure function by path (signature, mangled id or bare path) through the running Legend Pure LSP bridge, without a go() wrapper, and returns its typed value in returnValue.

    112 GitHub stars~883 tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Pure Lsp Execute Parallel

What does Pure Lsp Execute Parallel do?

Runs 2 to 30 Pure functions or tests concurrently on the warm LSP daemon via pure-lsp execute-parallel, or every test in a package or .pure file with --package/--source. Pure Lsp Execute Parallel is an agent skill from finos/legend-engine.pure file with --package/--source.

When should I use Pure Lsp Execute Parallel?

Pure Lsp Execute Parallel fits situations like: more than one function; test is to be run; including several tests on one PCT adapter; never a shell loop of pure-lsp execute.

How do I install Pure Lsp Execute Parallel in Claude Code?

Run `npx skills add finos/legend-engine --skill pure-lsp-execute-parallel -a claude-code`. Or copy the skill folder (plugins/pure-dev/skills/pure-lsp-execute-parallel in finos/legend-engine) into .claude/skills/pure-lsp-execute-parallel in your project. Claude Code loads it when a task matches its description.

How do I install Pure Lsp Execute Parallel in Codex?

Run `npx skills add finos/legend-engine --skill pure-lsp-execute-parallel -a codex`. Or copy the skill folder (plugins/pure-dev/skills/pure-lsp-execute-parallel in finos/legend-engine) into .agents/skills/pure-lsp-execute-parallel in your project. Codex loads it when a task matches its description.

Can I use Pure Lsp Execute Parallel in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add finos/legend-engine --skill pure-lsp-execute-parallel -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pure-lsp-execute-parallel, .gemini/skills/pure-lsp-execute-parallel, .github/skills/pure-lsp-execute-parallel and .opencode/skills/pure-lsp-execute-parallel in your project.

What does Pure Lsp Execute Parallel need to run?

SKILL.md names no scripts, command-line tools or credentials: Pure Lsp Execute Parallel is instructions for the agent only.

Does Pure Lsp Execute Parallel access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Pure Lsp Execute Parallel safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Pure Lsp Execute Parallel use?

Pure Lsp Execute Parallel is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Pure Lsp Execute Parallel use?

About 927 tokens (SKILL.md is roughly 3.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Pure Lsp Execute Parallel?

Skills that share tags, products or a category with Pure Lsp Execute Parallel: Caspian Discord (TryCaspian/caspian-sdk, 973 stars), Write Script Snowflake (windmill-labs/windmill, 18k stars), Snowflake (adobe/skills, 196 stars) and Snowflake Access Guardian (jeremylongshore/tons-of-skills-marketplace, 2.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Pure Lsp Execute Parallel?

finos (a GitHub organization) maintains it in finos/legend-engine, which has 112 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on October 7, 2026.

Source: finos/legend-engine on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.