Agent skill

Economic Design Audit

by PlamenTSV in PlamenTSV/plamen

Trigger Pattern MONETARYPARAMETER flag (required) - Inject Into Breadth agents (merged via M6 hierarchy)

MITAuto-check passedMedia & Creative

Install Economic Design Audit

skills CLI
$ npx skills add PlamenTSV/plamen --skill economic-design-audit -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install PlamenTSV/plamen economic-design-audit --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/PlamenTSV/plamen.git skills-src && mkdir -p .claude/skills && cp -r skills-src/agents/skills/evm/economic-design-audit .claude/skills/economic-design-audit && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
economic-design-audit
GitHub stars
303
Token cost
~1.3k tokens
SKILL.md length
600 words
Files
1
Skills in repo
87
Repo updated
First seen
Licence
MIT

At a glance

Trigger Pattern MONETARYPARAMETER flag (required) - Inject Into Breadth agents (merged via M6 hierarchy)

  • Works in 5 steps: Parameter Boundary Analysis → Economic Invariant Identification → Rate/Supply Interaction Matrix → …
  • Pattern MONETARYPARAMETER flag (required) - Inject Into Breadth agents (merged via M6 hierarchy)
  • SKILL.md covers 1. Parameter Boundary Analysis, 2. Economic Invariant…, 3. Rate/Supply Interaction… and 4. Fee Formula Verification at…, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Economic Design Audit is an agent skill from PlamenTSV/plamen. Trigger Pattern MONETARYPARAMETER flag (required) - Inject Into Breadth agents (merged via M6 hierarchy)

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Media & Creative, covering Design review and critique and Smart contracts. The repository describes itself as: Autonomous Web3 security audit agent for Claude Code. The licence is MIT.

When your agent uses it

  • Pattern MONETARYPARAMETER flag (required) - Inject Into Breadth agents (merged via M6 hierarchy)
  • Tasks that involve Design review and critique
  • Tasks that involve Smart contracts

Example prompts

  • “/economic-design-audit”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Parameter Boundary Analysis
  2. Economic Invariant Identification
  3. Rate/Supply Interaction Matrix
  4. Fee Formula Verification at Normal Values
  5. Emission/Inflation Sustainability

What it can do on your machine

Read from SKILL.md and the folder at commit 795962b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Economic Design Audit loads about 1.3k tokens when it runs. Until then it costs about 32 tokens; SKILL.md has 600 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~32
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from PlamenTSV/plamen at commit 795962b, republished under its MIT licence (© PlamenTSV). 600 words, ~1,273 tokens.

Download SKILL.mdSave it as .claude/skills/economic-design-audit/SKILL.md (or your agent's skills folder).
name
economic-design-audit
description
Trigger Pattern MONETARY_PARAMETER flag (required) - Inject Into Breadth agents (merged via M6 hierarchy)

ECONOMIC_DESIGN_AUDIT Skill

Trigger Pattern: MONETARY_PARAMETER flag (required) Inject Into: Breadth agents (merged via M6 hierarchy)

For every monetary parameter setter (rate, rebase, supply, mint, burn, emission, inflation, peg, price cap/floor, fee, reward rate) in the protocol:

1. Parameter Boundary Analysis

ParameterSetterMin ValueMax ValueEnforced?Impact at MinImpact at Max

For each parameter: substitute min and max into ALL consuming functions. Tag: [BOUNDARY:param=val -> outcome]

2. Economic Invariant Identification

List all economic invariants the protocol must maintain: | Invariant | Parameters Involved | Can Admin Break It? | Functions That Assume It |

For each setter: can changing this parameter break an invariant that user-facing functions depend on? If yes -> finding.

3. Rate/Supply Interaction Matrix

For protocols with multiple monetary parameters that interact: | Parameter A | Parameter B | Interaction | Can A*B Produce Extreme Output? |

Check: can two independently-valid parameter settings combine to create an extreme or invalid economic state? (Rule 14 constraint coherence)

4. Fee Formula Verification at Normal Values

For every fee-related computation (fee calculation, fee deduction, fee distribution):

4a. Concrete Example Computation

Pick 3 representative fee rates (e.g., 1% = 100 BPS, 5% = 500 BPS, 10% = 1000 BPS) and trace through the actual code formula:

Fee ParamValueFormulaInput AmountExpected OutputActual OutputMatch?
{fee_bps}100{code formula}1e18{expected}{computed}YES/NO
{fee_bps}500{code formula}1e18{expected}{computed}YES/NO
{fee_bps}1000{code formula}1e18{expected}{computed}YES/NO

Tag: [BOUNDARY:fee_bps={val} → effective_rate={computed_rate}]

Red flags:

  • Gross-up formulas: amount * MAX / (MAX - fee) charges effective rate of fee/(MAX-fee), not fee/MAX. At 5% this is 5.26%, not 5%. Document whether this is intentional.
  • Fee-on-fee: Does fee A's output feed into fee B's input? If so, the combined effective rate is not simply A + B.
  • Rounding direction: Does rounding favor the protocol or the user? For fee deductions, rounding UP (ceiling via mulDivUp or equivalent) favors the protocol.
  • Precision loss: With uint256 math at 1e18 scale, do intermediate products overflow or lose precision? Check mulDiv ordering.
Show full SKILL.md (281 more words)Show less
4d. Fee-Base Consistency

For every fee computation, trace the base amount (the value the fee is computed on) through ALL subsequent code paths:

Fee SiteBase Amount VariableModified After Fee?Modified HowFee Recomputed?Overcharge?

Methodology:

  • Identify the variable used as fee base (e.g., amount, depositAmount)
  • Trace that variable FORWARD from the fee computation to the end of the function
  • If the variable is reduced (capped, downscaled, adjusted to remaining capacity, slippage-adjusted) AFTER the fee was computed → the fee was charged on a larger base than what was actually used
  • Concrete test: If fee = amount * feeRate / MAX, then amount is reduced to leftover (e.g., remaining allocation), the user paid fee on amount but only leftover was processed - overcharge of fee * (1 - leftover/amount)
4b. Fee Interaction Matrix

For protocols with multiple fee types:

Fee AFee BA Output Feeds B Input?Combined Effective RateIndependent Rate SumDiscrepancy?
4c. Fee Impact on Share Price

If the protocol uses share-based accounting (ERC4626 vaults, LP tokens):

  • After fee deduction: does the share price change?
  • Does the fee mechanism create a spread between deposit and immediate withdrawal?
  • Is the spread documented and within reasonable bounds?

5. Emission/Inflation Sustainability

For protocols with emission/inflation/rebase mechanics:

  • What is the maximum emission rate over 1 day / 1 week / 1 year?
  • Can emissions exceed the protocol's capacity to back them?
  • Is there a supply cap? Can it be bypassed by parameter changes?

Step Execution Checklist

SectionRequiredCompleted?
1. Parameter Boundary AnalysisYESY/N/?
2. Economic Invariant IdentificationYESY/N/?
3. Rate/Supply Interaction MatrixIF >1 monetary paramY/N(N/A)/?
4. Fee Formula Verification at Normal ValuesIF fee parameters detectedY/N(N/A)/?
5. Emission/Inflation SustainabilityIF emission/rebase detectedY/N(N/A)/?

© PlamenTSV, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in agents/skills/evm/economic-design-audit of PlamenTSV/plamen.

Open the folder on GitHubat commit 795962b

Compare with similar skills

Economic Design Audit next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Economic Design Audit compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Economic Design Audit this skillPlamenTSV/plamen303—~1.3kAutomated safety check: PassMIT
Consult ClaudeEpicenterHQ/epicenter4.8k—~2kAutomated safety check: PassCustom licence
System Atlasinkboard/system-atlas430—~2.3kAutomated safety check: PassMIT
Design Image Studiokangarooking/design-image-studio102—~1.5kAutomated safety check: PassMIT
Kicad Reviewmixelpixx/Konnect927—~3.2kAutomated safety check: PassAGPL-3.0
Design AuditUniClipboard/UniClipboard1.9k—~554Automated safety check: PassAGPL-3.0

Similar skills

  • Consult Claude

    EpicenterHQ/epicenter

    Assign Claude Code a read-only investigation, recommendation, or finished text draft.

    4.8k GitHub stars~2k tokensUpdated 3 days ago
    Media & CreativeAuto-check passed
  • System Atlas

    inkboard/system-atlas

    Build and maintain an explorable, progressively-disclosed isometric "atlas" of a system's architecture — an interactive page (hover to read, click to pin, go inside for steps, moving data packets…

    430 GitHub stars~2.3k tokensUpdated 1 mo ago
    Media & CreativeAuto-check passed
  • Design Image Studio

    kangarooking/design-image-studio

    Directly generate design-oriented AI images with strong creative direction and prompt engineering.

    102 GitHub stars~1.5k tokensUpdated 5 mo ago
    Media & CreativeAuto-check passed
  • Kicad Review

    mixelpixx/Konnect

    Design review and validation workflow for KiCAD projects via MCP tools.

    927 GitHub stars~3.2k tokensUpdated 5 days ago
    Media & CreativeAuto-check passed
  • Design Audit

    UniClipboard/UniClipboard

    定期审计代码库的工程设计问题(高心智复杂度、单一真相源被破坏、catch-all 胖接口、死代码、散落魔法字面量、泄漏抽象、资源生命周期靠环形缓冲)与可优化点,范围限定为自上次审计以来的 git churn,每条发现都落到 file:line 并对照本项目自己的 VISION.md / 各级 AGENTS.md / memory…

    1.9k GitHub stars~554 tokensUpdated today
    Media & CreativeAuto-check passed
  • L1 AI Design Review

    PaperMoonuu/Design-workflow-skills

    L1 × AI 设计评审:对已完成的单页、局部 UI 设计稿进行小型迭代评审,识别影响面、状态遗漏、文案与一致性风险,并给出 P0/P1/P2 建议和验收清单。用户提供 Figma 链接、截图、前后设计稿或可评审原型,并要求设计走查、风险评审或开发前 UI 检查时使用;不用于设计前方案预检、完整多页面流程或 L2 开发交付。

    316 GitHub stars~492 tokensUpdated 19 days ago
    Media & CreativeAuto-check passed

More from PlamenTSV/plamen

All 87 skills in this repo
  • Audit Prep

    PlamenTSV/plamen

    Prepare Solidity projects for a security audit — test coverage, test quality, NatSpec docs, code hygiene, dependency health, best-practice enforcement, deployment readiness, and project…

    303 GitHub stars~3.7k tokensUpdated 14 days ago
    Auto-check passed
  • Verification Protocol

    PlamenTSV/plamen

    Trigger Pattern Always (used by all verifier agents) - Inject Into security-verifier agents (Phase 5)

    303 GitHub stars~3.5k tokensUpdated 14 days ago
    Auto-check passed
  • Ability Analysis

    PlamenTSV/plamen

    Trigger Pattern Always (Aptos Move) - foundational security check - Inject Into Breadth agents, depth agents

    303 GitHub stars~3.3k tokensUpdated 14 days ago
    Auto-check passed
  • Ability Analysis

    PlamenTSV/plamen

    Trigger Pattern Always (Sui Move) -- foundational security check - Inject Into Breadth agents, depth agents

    303 GitHub stars~3.2k tokensUpdated 14 days ago
    Auto-check passed
  • Account Lifecycle

    PlamenTSV/plamen

    Trigger Pattern ACCOUNTCLOSING flag detected (close/CloseAccount usage) - Inject Into Breadth agents, depth agents

    303 GitHub stars~1.2k tokensUpdated 14 days ago
    Auto-check passed
  • Account Validation

    PlamenTSV/plamen

    Trigger Pattern Always required for Solana audits - Inject Into Breadth agents, depth agents

    303 GitHub stars~1.7k tokensUpdated 14 days ago
    Auto-check passed

Questions about Economic Design Audit

What does Economic Design Audit do?

Trigger Pattern MONETARYPARAMETER flag (required) - Inject Into Breadth agents (merged via M6 hierarchy). Economic Design Audit is an agent skill from PlamenTSV/plamen.

When should I use Economic Design Audit?

Economic Design Audit fits situations like: pattern MONETARYPARAMETER flag (required) - Inject Into Breadth agents (merged via M6 hierarchy); tasks that involve Design review and critique; tasks that involve Smart contracts.

How do I install Economic Design Audit in Claude Code?

Run `npx skills add PlamenTSV/plamen --skill economic-design-audit -a claude-code`. Or copy the skill folder (agents/skills/evm/economic-design-audit in PlamenTSV/plamen) into .claude/skills/economic-design-audit in your project. Claude Code loads it when a task matches its description.

How do I install Economic Design Audit in Codex?

Run `npx skills add PlamenTSV/plamen --skill economic-design-audit -a codex`. Or copy the skill folder (agents/skills/evm/economic-design-audit in PlamenTSV/plamen) into .agents/skills/economic-design-audit in your project. Codex loads it when a task matches its description.

Can I use Economic Design Audit in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add PlamenTSV/plamen --skill economic-design-audit -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/economic-design-audit, .gemini/skills/economic-design-audit, .github/skills/economic-design-audit and .opencode/skills/economic-design-audit in your project.

What does Economic Design Audit need to run?

SKILL.md names no scripts, command-line tools or credentials: Economic Design Audit is instructions for the agent only.

Does Economic Design Audit access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Economic Design Audit safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Economic Design Audit use?

Economic Design Audit is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Economic Design Audit use?

About 1.3k tokens (SKILL.md is roughly 5.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Economic Design Audit?

Skills that share tags, products or a category with Economic Design Audit: Consult Claude (EpicenterHQ/epicenter, 4.8k stars), System Atlas (inkboard/system-atlas, 430 stars), Design Image Studio (kangarooking/design-image-studio, 102 stars) and Kicad Review (mixelpixx/Konnect, 927 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Economic Design Audit?

PlamenTSV (a GitHub user) maintains it in PlamenTSV/plamen, which has 303 GitHub stars. The repository holds 87 skills in this directory. The repository was last updated on September 26, 2026.

Source: PlamenTSV/plamen on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.