# Ecc tools cost audit

> Ecc tools cost audit is an open-source agent skill for developer tools. Guides an agent through auditing ECC Tools for runaway PR creation and AI cost leaks. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/smartworldarafath/REA_Skill/tree/main/.agents/skills/ecc-tools-cost-audit
- **Repository:** https://github.com/smartworldarafath/rea_skill
- **GitHub stars:** 66
- **License:** MIT
- **Skill name:** ecc-tools-cost-audit
- **Collection:** https://github.com/smartworldarafath/REA_Skill
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

This skill gives an agent a structured, read-first procedure for investigating why the ECC Tools GitHub App may be spending too much: over-created pull requests, quota checks that can be bypassed, free users reaching premium model providers, duplicate queued jobs, and retry loops on deterministic failures. It is scoped to the sibling ECC-Tools repository and is not a general billing or code review pass.

The workflow traces the path from webhook router to queue producer and consumer, then to PR creation, usage reservation and model routing. It asks the agent to classify findings in three separate buckets: repo-side burn root cause, customer-facing billing impact, and entitlement gaps for later follow-up. Fixes, if requested, are prioritized by cost impact, kept to a small number of direct changes, and checked by rerunning only the targeted tests.

The skill expects a local checkout of the ECC-Tools repository next to the working copy and assumes familiarity with its webhook, queue and worker layout. It names several companion skills for billing operations, security review, verification and test-driven fixes, and it instructs the agent not to push or deploy unless asked.

## When your agent uses it

> Evidence-first ECC Tools burn and billing audit workflow. Use when investigating runaway PR creation, quota bypass, premium-model leakage, duplicate jobs, or GitHub App cost spikes in the ECC Tools repo.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/smartworldarafath/REA_Skill/tree/HEAD/.agents/skills/ecc-tools-cost-audit)
- [License: MIT](https://github.com/smartworldarafath/REA_Skill/tree/HEAD/.agents/skills/ecc-tools-cost-audit)

## Features

- **Webhook to worker tracing:** Maps every enqueue path from GitHub events through the queue consumer before suggesting changes.
- **PR multiplication checks:** Looks for duplicate branches, synchronize-event loops and app-generated PRs re-entering analysis.
- **Quota bypass detection:** Compares where usage is checked against where it is actually reserved or incremented.
- **Premium model leakage review:** Verifies whether free or capped users can still reach premium analyzers through provider routing.
- **Prioritized burn fixes:** Orders any fixes by cost impact and keeps changes bounded to a few direct edits.
- **Status reporting:** Requires a clear final state: changed locally, verified, pushed, deployed or still blocked.

## Good for

- Investigate why the ECC Tools app created an unusually high number of pull requests
- Check whether usage limits can be bypassed by sending concurrent requests
- Trace whether free-tier analysis jobs call premium model providers
- Find duplicate queue jobs or pointless retries that multiply analysis cost
- Verify that a burn fix is covered by a targeted regression test

## Install

### Claude Code

This skill ships in the `rea-skills` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add smartworldarafath/REA_Skill
/plugin install rea-skills@smartworldarafath
```

Or copy only this skill to `~/.claude/skills/ecc-tools-cost-audit`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/ecc-tools-cost-audit &&
cp -R "$tmp/.agents/skills/ecc-tools-cost-audit" ~/.claude/skills/ecc-tools-cost-audit &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/ecc-tools-cost-audit` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/ecc-tools-cost-audit` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/ecc-tools-cost-audit &&
cp -R "$tmp/.agents/skills/ecc-tools-cost-audit" ~/.agents/skills/ecc-tools-cost-audit &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/ecc-tools-cost-audit` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/ecc-tools-cost-audit` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/ecc-tools-cost-audit &&
cp -R "$tmp/.agents/skills/ecc-tools-cost-audit" ~/.cursor/skills/ecc-tools-cost-audit &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/ecc-tools-cost-audit` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/smartworldarafath/REA_Skill.git --path .agents/skills/ecc-tools-cost-audit
```

Or copy the folder to `~/.gemini/skills/ecc-tools-cost-audit` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/ecc-tools-cost-audit`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/ecc-tools-cost-audit &&
cp -R "$tmp/.agents/skills/ecc-tools-cost-audit" ~/.copilot/skills/ecc-tools-cost-audit &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/ecc-tools-cost-audit` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git
```

Then copy `REA_Skill/.agents/skills/ecc-tools-cost-audit` into your agent's skills folder as `ecc-tools-cost-audit`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When does Ecc tools cost audit trigger?

It applies when the user reports ECC Tools burn rate, PR recursion, over-created PRs, usage-limit bypass or premium-model leakage, or when the task concerns webhook, queue, usage or PR logic in the sibling ECC-Tools repo.

### Does Ecc tools cost audit change code automatically?

No. It starts read-only and only makes fixes when the user clearly asks for them.

### Which repository does Ecc tools cost audit work in?

It is focused on the sibling ECC-Tools repository, not the ECC repository or a general codebase.

### Does Ecc tools cost audit push or deploy changes?

The instructions say not to push or deploy unless the user asks for it.

### How do I install Ecc tools cost audit in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/ecc-tools-cost-audit to use it in all your projects, or to .claude/skills/ecc-tools-cost-audit in one project. Or install the rea-skills plugin, which includes it: /plugin marketplace add smartworldarafath/REA_Skill, then /plugin install rea-skills@smartworldarafath.

### Does Ecc tools cost audit run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Ecc tools cost audit?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Ecc tools cost audit?

The closest alternatives to Ecc tools cost audit are Ecc workflow, GitHub actions efficiency, Ecc guide, Agent sort and Agent harness construction.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Ecc workflow](https://ai-powered.com/skills/ecc-workflow): Ecc workflow is an open-source agent skill for developer tools.
- [GitHub actions efficiency](https://ai-powered.com/skills/github-actions-efficiency): GitHub actions efficiency is an open-source agent skill for developer tools.
- [Ecc guide](https://ai-powered.com/skills/ecc-guide): Ecc guide is an open-source agent skill for developer tools.
- [Agent sort](https://ai-powered.com/skills/agent-sort): Agent sort is an open-source agent skill for developer tools.
- [Agent harness construction](https://ai-powered.com/skills/agent-harness-construction): Agent harness construction is an open-source agent skill for developer tools.
- [Ecc contribution review](https://ai-powered.com/skills/ecc-contribution-review): Ecc contribution review is an open-source agent skill for developer tools.
- [Automation audit ops](https://ai-powered.com/skills/automation-audit-ops): Automation audit ops is an open-source agent skill for developer tools.
- [Agentic engineering](https://ai-powered.com/skills/agentic-engineering): Agentic engineering is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/ecc-tools-cost-audit
