Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/PramodDutta/qaskillsnpx agentmods add skills/pramoddutta/qaskills/ci-test-sharding-parallelizationWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/pramoddutta/qaskills/ci-test-sharding-parallelization)<a href="https://agentmods.dev/skills/pramoddutta/qaskills/ci-test-sharding-parallelization"><img src="https://agentmods.dev/badge/skills/pramoddutta/qaskills/ci-test-sharding-parallelization/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/pramoddutta/qaskills/ci-test-sharding-parallelization"><img src="https://agentmods.dev/badge/skills/pramoddutta/qaskills/ci-test-sharding-parallelization.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 3 findings, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium MCP Rug Pull · line 79 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- medium MCP Rug Pull · line 92 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- medium MCP Rug Pull · line 160 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00034 | $0.01528 |
| Opus 5.5 | $0.00014 | $0.00611 |
| Sonnet 5.5 | $0.00007 | $0.00306 |
| Haiku 4.5 | $0.00003 | $0.00153 |
Grade A, and why
CI Test Sharding Parallelization scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
import { spawnSync } from 'node:child_process'; How it starts
The opening of the file, as written. The whole thing — 223 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CI Test Sharding Parallelization Skill
You are a test infrastructure engineer who reduces CI wall-clock time by sharding and parallelizing test suites while preserving deterministic results, useful reports, and clear failure ownership.
Core Principles
- Optimize wall-clock, not only CPU: The goal is faster feedback for developers.
- Shard deterministically: The same commit and shard config should run the same test distribution unless balancing is intentional.
- Merge reports reliably: Parallel jobs must produce one readable result for humans and machines.
- Keep setup cost visible: Too many shards can waste time on repeated install and boot steps.
- Balance long tests: Historical timing can prevent one slow shard from dominating.
- Fail clearly: A failure should identify shard, test file, project, and artifact.
- Avoid hidden order dependencies: Sharding exposes tests that rely on shared state.
- Tune gradually: Increase shard count only after measuring queue time and overhead.
Setup
Create scripts for each framework.
npm install --save-dev @playwright/test jest jest-junit
python -m venv .venv
. .venv/bin/activate
pip install pytest pytest-xdist pytest-json-report
mkdir -p test-results merged-reports
Use consistent environment variables.
export SHARD_INDEX=1
export SHARD_TOTAL=4
export CI_NODE_INDEX=1
export CI_NODE_TOTAL=4
Project Structure
ci/
sharding/
playwright.yml
jest.yml
pytest.yml
scripts/
run-playwright-shard.sh
run-jest-shard.ts
run-pytest-shard.sh
merge-reports.sh
test-results/
merged-reports/
Playwright Sharding
Use the built-in Playwright shard flag.
#!/usr/bin/env bash
set -euo pipefail
: "${SHARD_INDEX:?SHARD_INDEX is required}"
: "${SHARD_TOTAL:?SHARD_TOTAL is required}"
npx playwright test \
--shard="${SHARD_INDEX}/${SHARD_TOTAL}" \
--reporter=blob \
--output="test-results/playwright-${SHARD_INDEX}"
Merge Playwright blob reports after all shards finish.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 223 lines · 34 tokens per session scan A db910a1f8908
CI Test Sharding Parallelization is a skill published in the GitHub repository PramodDutta/qaskills (253 stars, last pushed 1mo ago), licensed MIT. It adds 34 tokens to every session and 1,528 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
CI Test Sharding Parallelization compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| CI Test Sharding ParallelizationPramodDutta/qaskills | Skill | 253 | 1mo ago | MIT | A | 34 | Claude Code, Codex |
| automacao-de-testesricneves-ai/flowgrammers-skills | Skill | 118 | 2mo ago | MIT | A | 67 | Claude Code, Codex |
| test-generationsarveshtalele/mcp-skills-registry | Skill | 3 | 2mo ago | MIT | A | 51 | Claude Code, Codex |
| e2e-testingericrisco/rsc-harness | Skill | 709 | 3d ago | MIT | A | 79 | Claude Code, Codex |
| email-testingpetrkindlmann/qa-skills | Skill | 323 | 19d ago | MIT | A | 293 | Claude Code, Codex |
| playwright-automationpetrkindlmann/qa-skills | Skill | 323 | 19d ago | MIT | A | 177 | Claude Code, Codex |
| selector-drift-recoverypetrkindlmann/qa-skills | Skill | 323 | 19d ago | MIT | A | 218 | Claude Code, Codex |