agentsclimarketplace

Stackblitz rate limits

Skill jeremylongshore/claude-code-plugins-plus-skills/plugins/saas-packs/stackblitz-pack/skills/stackblitz-rate-limits

'WebContainer resource limits: memory, CPU, file system size, process count.From its SKILL.md

Install
npx -y skills add jeremylongshore/claude-code-plugins-plus-skills --skill stackblitz-rate-limits

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

What its file declares

Copied from the file, not written here

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

2.0 KB, 402 tokens by cl100k_base, as published. Nobody here has run it

StackBlitz Rate Limits

Overview

WebContainer resource limits: memory, CPU, file system size, process count.

Instructions

Step 1: WebContainer Resource Limits

ResourceLimitNotes
Memory~2GBShared with browser tab
File systemEphemeral, in-memoryLost on page refresh
ProcessesMultiple concurrentEach consumes memory
NetworkHTTP onlyNo raw TCP/UDP sockets
npm packagesMost workNative addons not supported

Step 2: Handle Memory Pressure

// Monitor memory usage inside WebContainer
const proc = await wc.spawn('node', ['-e', `
  setInterval(() => {
    const mem = process.memoryUsage();
    const mbUsed = Math.round(mem.heapUsed / 1024 / 1024);
    if (mbUsed > 500) console.warn('High memory: ' + mbUsed + 'MB');
  }, 5000);
`]);

Step 3: Optimize File System Size

// Mount only essential files -- skip test files, docs, etc.
const productionFiles: FileSystemTree = {
  'package.json': { file: { contents: minimalPackageJson } },
  src: { directory: { /* only source files */ } },
  // Skip: tests/, docs/, .git/, large assets
};
await wc.mount(productionFiles);

Error Handling

IssueCauseSolution
Tab crashesOOMReduce mounted files, fewer deps
Slow npm installLarge depsUse --prefer-offline, fewer packages
Process killedMemory limitMonitor with memoryUsage()

Resources

Next Steps

For security, see stackblitz-security-basics.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 326,144. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.