Claude Skill

review-efficiency

Is this efficient?

LLM Mart · 0 points · 2 views 0 listing impressions 0 install-command copies
Download dhaupin-vant-models_public_vant_skills_vant-skill-review-efficiency-e1e348e.zip · 0 KB

Install

skills CLI npx skills add https://github.com/dhaupin/vant/tree/main/models/public/vant/skills/vant-skill-review-efficiency
Claude Code claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install dhaupin-vant@llmmart
Git git clone https://github.com/dhaupin/vant.git

The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole dhaupin/vant collection as a plugin from our marketplace. Git is the plain clone.

Skill manifest

Efficiency Review

Is this efficient?


The Question

What does it cost to run?

Money. Time. Resources.


What To Check

1. Compute

// What's the cost?
// CPU time per request
// Memory per request
Resource High Fix
CPU Loop complex Optimize
Memory Store all Stream
GPU N/A N/A

2. Network

// How many calls?
callAPI()  // 1
callAPI()  // 2
Pattern Issue Fix
Multiple calls Round trips Batch
Large payloads Bandwidth Compress
No compression Raw gzip

3. Storage

// What are we storing?
db.save(everything)
// vs
db.save(needed)
Pattern Issue Fix
Save all Extra storage Save needed
Keep forever bloat TTL/expiry
No index Slow reads Index

4. API Calls

# External APIs cost
curl api.com  // $$
curl api.com  // $$
Check Issue Fix
No cache Pay each time Cache
Same call twice Redundant Dedup
No batching N calls Batch

Cost Estimate

// Estimate: (calls × cost) + (compute × cost) + (storage × cost)
Item Calculation
API calls calls × $0.001
Compute hours × $0.05
Storage GB × $0.02

Output

## Efficiency - [system]

### Compute
- [ESTIMATE] $[/hr]
- Issue: [pattern]

### Network
- [ESTIMATE] $[/hr]
- Issue: [pattern]

### Storage
- [ESTIMATE] $[/mo]
- Issue: [pattern]

### Total
- Estimated: $[/mo]

### Savings
1. [fix] saves $[/mo]

Role: Efficiency Reviewer Input: System Output: Cost?

Efficiency is money.

Files (vant)
  • SKILL.md 1.8 KB
    ---
    name: review-efficiency
    description: Is this efficient?
    license: MIT
    metadata:
      author: vant
      version: "1.0"
    ---
    
    # Efficiency Review
    
    > Is this efficient?
    
    ---
    
    ## The Question
    
    **What does it cost to run?**
    
    Money. Time. Resources.
    
    ---
    
    ## What To Check
    
    ### 1. Compute
    
    ```javascript
    // What's the cost?
    // CPU time per request
    // Memory per request
    ```
    
    | Resource | High | Fix |
    |----------|------|-----|
    | CPU | Loop complex | Optimize |
    | Memory | Store all | Stream |
    | GPU | N/A | N/A |
    
    ### 2. Network
    
    ```javascript
    // How many calls?
    callAPI()  // 1
    callAPI()  // 2
    ```
    
    | Pattern | Issue | Fix |
    |--------|-------|-----|
    | Multiple calls | Round trips | Batch |
    | Large payloads | Bandwidth | Compress |
    | No compression | Raw | gzip |
    
    ### 3. Storage
    
    ```javascript
    // What are we storing?
    db.save(everything)
    // vs
    db.save(needed)
    ```
    
    | Pattern | Issue | Fix |
    |--------|-------|-----|
    | Save all | Extra storage | Save needed |
    | Keep forever | bloat | TTL/expiry |
    | No index | Slow reads | Index |
    
    ### 4. API Calls
    
    ```bash
    # External APIs cost
    curl api.com  // $$
    curl api.com  // $$
    ```
    
    | Check | Issue | Fix |
    |-------|-------|-----|
    | No cache | Pay each time | Cache |
    | Same call twice | Redundant | Dedup |
    | No batching | N calls | Batch |
    
    ---
    
    ## Cost Estimate
    
    ```javascript
    // Estimate: (calls × cost) + (compute × cost) + (storage × cost)
    ```
    
    | Item | Calculation |
    |------|-------------|
    | API calls | calls × $0.001 |
    | Compute | hours × $0.05 |
    | Storage | GB × $0.02 |
    
    ---
    
    ## Output
    
    ```
    ## Efficiency - [system]
    
    ### Compute
    - [ESTIMATE] $[/hr]
    - Issue: [pattern]
    
    ### Network
    - [ESTIMATE] $[/hr]
    - Issue: [pattern]
    
    ### Storage
    - [ESTIMATE] $[/mo]
    - Issue: [pattern]
    
    ### Total
    - Estimated: $[/mo]
    
    ### Savings
    1. [fix] saves $[/mo]
    ```
    
    ---
    
    **Role**: Efficiency Reviewer **Input**: System **Output**: Cost?
    
    > Efficiency is money.
    

Comments (0)

Sign in to join the conversation.

No comments yet.

Reviews (0)

No reviews yet.