# gasprofiler

> gasprofiler — cognis-digital-gasprofiler. Use this tool when you need to identify potential gas-related issues in your code, such as unbounded loops and DoS-prone patterns, and track regressions against a baseline. It provides per-opcode and per-function gas profiling, taking in code commits as input and outputting flagged vulnerabilities and deviations from the committed baseline. This tool is ideal for optimizing and securing smart contracts during development and auditing phases.

Canonical page: https://skillsregistry.net/skills/cognis-digital-gasprofiler  
JSON: https://api.skillsregistry.net/v1/skills/cognis-digital-gasprofiler

## Description

Per-opcode and per-function gas profiler that flags unbounded loops, DoS-prone patterns, and regressions against a committed baseline.

## Trust

- **Trust score (0–1):** 0.50
- **Verification tier:** unverified

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** container
- **Runtime environment:** vm
- **Updated:** 2026-09-21

## Source

- **Source listing:** [GitHub](https://github.com/cognis-digital/gasprofiler)

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "cognis-digital-gasprofiler"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/cognis-digital-gasprofiler` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/cognis-digital-gasprofiler/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
