ecc-tools-cost-audit
This skill diagnoses cost overruns in the ECC Tools GitHub App by mapping webhook ingress, queue workers, and PR creation logic to pinpoint PR multiplication, quota races, and premium-tier leakage. It separates repo-side burn root causes from customer billing impact and prioritizes fixes by cost impact rather than code neatness.
ecc-tools-cost-audit traces webhook, queue, and worker paths to identify and fix runaway PR creation and billing leaks in ECC Tools.
AI-generated summary based on this skill's SKILL.md
Install
affaan-m/ECC/ecc-tools-cost-audit · repository language: JavaScript
git clone https://github.com/affaan-m/ECC
cp -r ECC/skills/ecc-tools-cost-audit ~/.claude/skills/ecc-tools-cost-auditnpx skillfed install affaan-m/ECC/ecc-tools-cost-auditFrequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
What is ecc-tools-cost-audit and what does it help with?
ecc-tools-cost-audit is a diagnostic skill for investigating and fixing runaway cost in the ECC Tools GitHub App. It maps webhook ingress, queue workers, and PR creation logic to pinpoint PR multiplication, quota races, and premium-tier leakage. The skill separates repo-side burn root causes from customer billing impact and prioritizes fixes by cost impact rather than code neatness.
How do I audit runaway PR creation in ecc-tools-cost-audit?
ecc-tools-cost-audit traces webhook-to-worker paths to identify PR or token burn. Start by mapping webhook ingress points to queue workers, then examine PR creation logic for recursion loops, duplicate job submission, and retry chains. The skill helps you detect whether PRs are being multiplied by webhook replay, concurrent worker invocations, or feedback loops that re-trigger webhooks.
Can ecc-tools-cost-audit detect quota bypass or premium model leakage?
Yes. ecc-tools-cost-audit includes detection workflows for quota bypass and premium model leakage. It audits whether free-tier requests are being routed to premium models, checks for usage limit bypass via race conditions, and verifies that quota reservations are enforced before expensive work begins. This prevents silent billing surprises from unauthorized tier escalation.
What duplicate job and retry loop issues does ecc-tools-cost-audit find?
ecc-tools-cost-audit audits duplicate jobs and retry loops inflating spend by examining queue worker logic for idempotency gaps, retry policies without backoff, and job resubmission on transient failures. It identifies expensive work performed without output persistence, which causes retries to repeat the same costly operations instead of returning cached results.
How does ecc-tools-cost-audit verify that a cost fix is safe?
ecc-tools-cost-audit verifies fix safety by proving the burn path is contained. After applying a fix—such as adding idempotency keys, rate limits, or quota checks—the skill helps you trace the modified webhook-to-worker path to confirm that cost drivers are blocked or throttled, and that legitimate work still flows through without degradation.
What is the license for ecc-tools-cost-audit?
ecc-tools-cost-audit is released under the MIT license, allowing free use, modification, and distribution with minimal restrictions.
SKILL.md
rendered from the published skill — quoted content, verbatim
ECC Tools Cost Audit
Use this skill when the user suspects the ECC Tools GitHub App is burning cost, over-creating PRs, bypassing usage limits, or routing free users into premium analysis paths.
This is a focused operator workflow for the sibling ECC-Tools repo. It is not a generic billing skill and it is not a repo-wide code review pass.
Skill Stack
Pull these ECC-native skills into the workflow when relevant:
autonomous-loopsfor bounded multi-step audits that cross webhooks, queues, billing, and retriesagentic-engineeringfor tracing the request path into discrete, provable unitscustomer-billing-opswhen repo behavior and customer-impact math must be separated cleanlysearch-firstbefore inventing helpers or re-implementing repo-local utilitiessecurity-reviewwhen auth, usage gates, entitlements, or secrets are touchedverification-loopfor proving
(truncated - see the full file via the links below)
Read as markdown · JSON record · Browse the source repository
File tree — 1 file
skills/ecc-tools-cost-audit/SKILL.md