Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

profile-app-cpu

Skill by activepieces

Profile-app-cpu finds what is burning CPU in a live Node.js container without restarting it. It is for operators whose containers sit at their CPU cap or whose healthchecks time out while the process is still alive.

  • Score 85
  • 26k stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install profile-app-cpu

Built from the published package, never by AI.

git clone --depth 1 https://github.com/activepieces/activepieces /tmp/activepieces && mkdir -p ~/.claude/skills && cp -r /tmp/activepieces/.agents/skills/profile-app-cpu ~/.claude/skills/profile-app-cpu

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install profile-app-cpu in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill walks through diagnosing CPU-bound app containers on a running host. It first rules out the database by checking Postgres session waits, then uses top per thread to see whether the main JS thread, GC or libuv threadpool is hot. It opens the Node inspector in place by sending SIGUSR1, then takes a 30 second CPU profile over the Chrome DevTools Protocol from inside the container.

The profile is aggregated by function rather than by stack node, so the function that owns the time is visible. The skill also covers spotting runaway recursion and reading healthcheck timeouts as a blocked event loop. It is written for self-hosters and operators who need to diagnose production containers without losing their state to a restart.

Written from the project's SKILL.md and checked against it.

What it can do

  • Database checkChecks Postgres pg_stat_activity to see whether the database or the app is the bottleneck.
  • Per-thread CPU breakdownUses top -H to tell whether the main thread, V8 GC threads or libuv workers are hot.
  • In-place inspectorOpens the Node inspector on SIGUSR1 without restarting the container.
  • CPU profile captureTakes a sampled CPU profile over CDP from inside the container and copies it out.
  • Function-level aggregationSums self-time by function, name, file and line to find the function owning the time.
  • Recursion detectionWalks sampled stacks to find repeated frames that signal runaway recursion.

What you need

  • Docker on the host
  • Node.js 22 or newer inside the container
  • Shell access to the host and container
  • Postgres access for the optional database check

Try asking

  • Help me find what is burning CPU in my Node container without restarting it.
  • Walk me through checking whether Postgres is the bottleneck for my app.
  • Aggregate this .cpuprofile by function so I can see the hot spot.

Good to know

  • The inspector cannot be closed again and stays open until the process exits.
  • The CPU profiler samples the process and does not pause it like a breakpoint.
  • Profiles contain function names and file paths, so keep the raw file on the host.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .agents/skills/profile-app-cpu/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md7 KB

Alternatives to profile-app-cpu

All alternatives →
deploy-release-testvercel
94

Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.

AAA Skill 144k
deepeval-tracingconfident-ai
94

Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.

AAA Skill 20k
azure-container-registry-cligithub
94

Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.

AAA Skill 42k
crabbox-appsopenclaw
94

Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.

AAA Skill 395k
gke-batch-hpcgoogle
94

Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.

AAA Skill 25k
gke-cost-analysisgoogle
94

Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.

AAA Skill 25k

Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli

profile-app-cpu: common questions

When should I use profile-app-cpu instead of profile-worker-memory?

Use it when you need to know what is burning CPU. The source says profile-worker-memory is the sibling skill that answers what is holding memory.

Does it restart the container?

No. The source says it attaches to the running production container without a restart, because a restart would destroy the state being measured.

Why does a healthcheck show unhealthy when the app still serves traffic?

The source says the event loop is blocked, so the curl healthcheck cannot be answered within its timeout. It is a symptom, not a crash.

How do I install profile-app-cpu?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is profile-app-cpu free?

The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.

Is profile-app-cpu safe to use?

It scores 85 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to profile-app-cpu?

Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.

profile-app-cpu Install

Add to stack

Loading.