Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add PlamenTSV/plamen --skill external-precondition-auditgit clone --depth 1 https://github.com/PlamenTSV/plamenWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/plamentsv/plamen/external-precondition-audit)<a href="https://agentmods.dev/skills/plamentsv/plamen/external-precondition-audit"><img src="https://agentmods.dev/badge/skills/plamentsv/plamen/external-precondition-audit/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/plamentsv/plamen/external-precondition-audit"><img src="https://agentmods.dev/badge/skills/plamentsv/plamen/external-precondition-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00030 | $0.01006 |
| Opus 5.5 | $0.00012 | $0.00402 |
| Sonnet 5.5 | $0.00006 | $0.00201 |
| Haiku 4.5 | $0.00003 | $0.00101 |
Grade A, and why
external-precondition-audit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 89 lines — stays where its author put it; the contents beside it link to each section on GitHub.
EXTERNAL_PRECONDITION_AUDIT Skill
Trigger Pattern: Any external module interaction detected in attack_surface.md Inject Into: Breadth agents (merged via M5 hierarchy) Constraint: Interface-level inference only -- no production fetch required
For every external module the protocol interacts with:
1. Interface-Level Requirement Inference
From the use imports and function calls to external modules, infer what the external module requires:
| External Function Called | Module::Function | Parameters Passed | Likely Preconditions (from signature + abort codes) | Our Protocol Validates? |
|---|
Inference method: Read the function signature, type parameters, ability constraints, and abort conditions. Example: coin::withdraw<CoinType>(account: &signer, amount: u64) -> infer that account must have sufficient balance, CoinType must be initialized, amount must be > 0. Check abort codes in framework source if available.
Aptos-specific patterns:
&signerparameters: does external module require the signer to own a specific resource?- Generic type parameters
<T>: does external module requireTto be registered/initialized? Object<T>parameters: does external module validate object ownership or type?- Abort conditions: enumerate all
assert!/abortin external function that could revert our call
2. Return Value Consumption
| External Call | Return Type | How Protocol Uses Return | Failure Mode if Return Unexpected |
|---|
For each return value:
- What happens if it returns 0? What happens if it returns
MAX_U64? - What happens if the external call aborts?
- For
Option<T>returns: does our protocol handlenonecorrectly? - For
FungibleAssetreturns: is metadata validated after receiving? - For
Object<T>returns: is the object type verified before use? - For each external data structure received (Vec, array, Map, list): (a) What ordering/uniqueness does the consuming code assume? (b) Does the external contract's spec guarantee that ordering? (c) What happens if the assumption is violated (unsorted, duplicates, gaps)?
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 89 lines · 30 tokens per session scan A 3bfa4175f1ee
external-precondition-audit is a skill published in the GitHub repository PlamenTSV/plamen (312 stars, last pushed 1mo ago), licensed MIT. It adds 30 tokens to every session and 1,006 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
external-precondition-audit compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| external-precondition-auditPlamenTSV/plamen | Skill | 312 | 1mo ago | MIT | A | 30 | Claude Code, Codex |
| postgresql-indexingprowler-cloud/prowler | Skill | 15k | yesterday | Apache-2.0 | A | 108 | Claude Code |
| gh-awprowler-cloud/prowler | Skill | 15k | yesterday | Apache-2.0 | A | 59 | Claude Code |
| tddprowler-cloud/prowler | Skill | 15k | yesterday | Apache-2.0 | A | 50 | Claude Code |
| doctoralsk1992/CloddsBot | Skill | 3.1k | 1mo ago | MIT | A | 7 | Claude Code, Codex |
| debugChainGPT-org/chaingpt-claude-skill | Skill | 7 | 4d ago | MIT | A | 65 | Claude Code |
| shell-scriptshiromaily/go-crypto-wallet | Skill | 128 | 6mo ago | MIT | A | 23 | Claude Code |