Collect Metrics
Collect infrastructure performance metrics
- Type
- Slash Command
- Repository
- jeremylongshore/tons-of-skills-marketplace
- GitHub stars
- 2.8k
- License
- MIT
- Repo last updated
- Sep 27, 2026
What Collect Metrics is
Collect Metrics is a slash command published in the jeremylongshore/tons-of-skills-marketplace repository on GitHub, which has about 2.8k stars. The repository describes itself as: “Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.”
A slash command is a reusable prompt saved as a markdown file and run by typing its name after a slash. In Claude Code, custom commands have been merged into skills: a file in .claude/commands/ and a skill folder in .claude/skills/ both create the same kind of command, and existing command files keep working.
Collect Metrics gives you a repeatable way to run the same instructions without retyping them, optionally with arguments.
How to install Collect Metrics
Claude Code
- Download collect-metrics.md from the repository.
- Save it to ~/.claude/commands/ (all projects) or .claude/commands/ (one project). As a skill, you can instead save it as ~/.claude/skills/<name>/SKILL.md.
- Run it by typing / followed by its name.
Claude Cowork
- Turn the command into a skill: create a folder with the file saved as SKILL.md and zip it.
- In Customize → Skills, click +, then upload the ZIP.
- Run it from any task with / and the skill name.
New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.
Inside the source file
An excerpt from plugins/performance/infrastructure-metrics-collector/commands/collect-metrics.md, shared under the repository's MIT license. Read the full file on GitHub.
Set up comprehensive infrastructure metrics collection for performance monitoring.
Infrastructure Layers
- Compute: CPU, memory, processes, load average
- Storage: Disk I/O, capacity, inode usage
- Network: Bandwidth, connections, packet loss
- Containers: Container resource usage, orchestration metrics
- Load Balancers: Connection rates, health checks
- Databases: Connection pools, replication lag, cache hit rates
Process
- Identify infrastructure components
- Choose metrics collection agent (Prometheus node_exporter, Datadog agent, etc.)
- Configure metrics collection
- Set up central aggregation
- Create infrastructure dashboards
- Define infrastructure health alerts
Output
Provide:
- Metrics collection agent configuration
- Infrastructure inventory
- Collection endpoint setup
- Dashboard configurations showing:
- Resource utilization heatmaps
- Capacity trending
- Health status overview
- Alert rules for infrastructure issues
- Integration with existing monitoring stack
Before you install
- Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
- Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
- Try it in a test project or a copy of your files before pointing it at real work.
- Pin the version you tested, and review changes before updating.
- Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.
FAQ
What is Collect Metrics?
Collect Metrics is a slash command for Claude Code and Claude Cowork from the jeremylongshore/tons-of-skills-marketplace repository on GitHub. Collect infrastructure performance metrics
How do I install Collect Metrics in Claude Code?
Download collect-metrics.md from the repository. Save it to ~/.claude/commands/ (all projects) or .claude/commands/ (one project). As a skill, you can instead save it as ~/.claude/skills/<name>/SKILL.md. Run it by typing / followed by its name.
Can I use Collect Metrics in Claude Cowork?
Turn the command into a skill: create a folder with the file saved as SKILL.md and zip it. In Customize → Skills, click +, then upload the ZIP. Run it from any task with / and the skill name.
Is Collect Metrics safe to install?
It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.
Similar resources
- Geepers Docs Generates README files, setup guides, API docs, and dependency guides from existing code. Use when a project needs end-user documentation or a fresh dev needs setup instructions. Trigger with \"document this project\", \"write the README\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Geepers Flask Flask specialist for building, reviewing, and debugging Flask apps — blueprints, app factory, extensions, error handling, deployment. Use when creating a Flask API or diagnosing Flask-specific issues. Trigger with \"build a Flask app\", \"debug my Flask routes\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Geepers Fullstack Dev Generates complete, production-ready full-stack applications (Flask/FastAPI backend, React/vanilla JS frontend, DB schema, tests, Docker) from a PRD or spec. Use when requirements are ready and you need working code. Trigger with \"build this app\", \"implement the PRD\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Geepers Design Applies Swiss/International Style principles — grid systems, typographic scales, 8px spacing, and WCAG AA contrast — to create clean, functional interface designs and design system recommendations. Use when building a new component or auditing a page's visual consistency. Trigger with "review the design system", "design this component". Subagent · jeremylongshore/tons-of-skills-marketplace
- Commit Generate an AI-powered conventional commit message from your git diff and Slash Command · jeremylongshore/tons-of-skills-marketplace
- Cloudformation Generate Convert Terraform to CloudFormation or generate CFN templates Slash Command · jeremylongshore/tons-of-skills-marketplace
- Commit Smart Generate conventional commits with AI-powered messages Slash Command · jeremylongshore/tons-of-skills-marketplace
- Clean Remove old sprint directories with safety checks and archiving options Slash Command · jeremylongshore/tons-of-skills-marketplace