BC grand-bazaar-swap
Perform and document Grand Bazaar P2P swaps on Base using deployed AirSwap Swap contracts. Includes repeatable workflows for approvals, EIP-712 signing, cast/deeplink posting, execution, and verification across ERC20/ERC721/ERC1155 routes.
Perform and document Grand Bazaar P2P swaps on Base using deployed AirSwap Swap contracts.
As a process C 50/100 · Has gaps — weak spots: result and completion, inputs and preconditions, running it twice
How to improve
- Say in the description WHEN to use the skill ("use when…", example requests): that is the agent's main cue.
- Your own cases (evals/evals.json, 4–6 real requests with expected answers): the full check would then run those instead of a model-drafted suite.
- A spec.yaml with trigger phrases and assertions — a behaviour contract for CI; `skilltest init` writes a template.
Guard findings · 25
✓ No critical or high findings
Medium and low: 25
-
low Secrets in code
secret-high-entropy-tokenreferences/base-mainnet-deployments.md:7High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)- ERC20 sender Swap: `0x8a…A57`
quoted -
low Secrets in code
secret-high-entropy-tokenreferences/base-mainnet-deployments.md:9High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)- ERC721 sender Swap: `0x2a…C4d`
quoted -
low Secrets in code
secret-high-entropy-tokenreferences/base-mainnet-deployments.md:11High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)- ERC1155 sender Swap: `0xD1…5cf`
quoted -
low Secrets in code
secret-high-entropy-tokenreferences/base-mainnet-deployments.md:16High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)- protocolFeeWallet: `0xdb…91c`
quoted -
low Secrets in code
secret-high-entropy-tokenreferences/base-mainnet-deployments.md:19High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)- ERC2…er: `0x46…954` kind `0x36372b07`
quoted -
low Secrets in code
secret-high-entropy-tokenscripts/package-lock.json:90High-entropy token-like string (may be an id, hash or a credential) (detector / deny-list definition)"integrity": "sha512-GhH/abcC…hoN+uBNo…mU1+t8xT…EBA==",
detector -
low Secrets in code
secret-high-entropy-tokenscripts/package-lock.json:173High-entropy token-like string (may be an id, hash or a credential) (detector / deny-list definition)"integrity": "sha5…Z4v+DkGoC42/TS2ond+PARCxTJvgTFUNDZovyQ/uAQ4…g7A==",
detector -
low Secrets in code
secret-high-entropy-tokenscripts/package-lock.json:327High-entropy token-like string (may be an id, hash or a credential) (detector / deny-list definition)"integrity": "sha5…6I6+jvuq…Pqq+JZ0T…Rng==",
detector -
low Secrets in code
secret-high-entropy-tokenscripts/package-lock.json:347High-entropy token-like string (may be an id, hash or a credential) (detector / deny-list definition)"integrity": "sha5…GmY+zPPWTC+wQrp…jmH+yCS3…njA==",
detector -
low Secrets in code
secret-high-entropy-tokenscripts/package-lock.json:421High-entropy token-like string (may be an id, hash or a credential) (detector / deny-list definition)"integrity": "sha5…zbE+oCZYyY+3Zh8…sCw==",
detector -
low Secrets in code
secret-high-entropy-tokenscripts/README.md:18High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)- ERC20 sender kind `0x36372b07` -> `0x8a…A57`
quoted -
low Secrets in code
secret-high-entropy-tokenscripts/README.md:19High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)- ERC721 sender kind `0x80ac58cd` -> `0x2a…C4d`
quoted -
low Secrets in code
secret-high-entropy-tokenscripts/README.md:20High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)- ERC1155 sender kind `0xd9b67a26` -> `0xD1…5cf`
quoted -
low Secrets in code
secret-high-entropy-tokenscripts/sender_execute_order.js:8High-entropy token-like string (may be an id, hash or a credential) (detector / deny-list definition)const SWAP_DEFAULT = '0x8a…A57';
detector -
low Secrets in code
secret-high-entropy-tokenscripts/sender_execute_order.js:9High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)const SWAP_ERC721 = '0x2a…C4d';
quoted -
low Secrets in code
secret-high-entropy-tokenscripts/sender_execute_order.js:10High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)const SWAP…155 = '0xD1…5cf';
quoted -
low Secrets in code
secret-high-entropy-tokenscripts/signer_make_order.js:7High-entropy token-like string (may be an id, hash or a credential) (detector / deny-list definition)const SWAP_DEFAULT = '0x8a…A57';
detector -
low Secrets in code
secret-high-entropy-tokenscripts/signer_make_order.js:8High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)const SWAP_ERC721 = '0x2a…C4d';
quoted -
low Secrets in code
secret-high-entropy-tokenscripts/signer_make_order.js:9High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)const SWAP…155 = '0xD1…5cf';
quoted -
low Secrets in code
secret-high-entropy-tokenscripts/signer_make_order.js:86High-entropy token-like string (may be an id, hash or a credential)function comp…Web(fullOrder) { -
low Secrets in code
secret-high-entropy-tokenscripts/signer_make_order.js:204High-entropy token-like string (may be an id, hash or a credential)const compressedOrder = comp…Web(fullOrder);
-
low Secrets in code
secret-high-entropy-tokenscripts/test_weth_usdc_swap.js:5High-entropy token-like string (may be an id, hash or a credential) (test fixture / example file; quoted — discussed, not commanded)const SWAP = process.env.SWAP_ADDRESS || '0x8a…A57';
fixturequoted -
low Secrets in code
secret-high-entropy-tokenscripts/test_weth_usdc_swap.js:7High-entropy token-like string (may be an id, hash or a credential) (test fixture / example file; quoted — discussed, not commanded)const USDC = process.env.USDC_ADDRESS || '0x83…913';
fixturequoted -
low Secrets in code
secret-high-entropy-tokenSKILL.md:11High-entropy token-like string (may be an id, hash or a credential) (detector / deny-list definition)- ERC20<>ERC20 -> `SwapERC20` on Base `0x95…3F4`
detector -
low Secrets in code
secret-high-entropy-tokenSKILL.md:190High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)- verifyingContract: `0x95…3F4`
quoted
Files scanned: 11. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
- warning
description-no-whendescription does not say WHEN to use the skill (no "use when")
Process rating: all ten parameters 50/100
- 0Result and completion. Does not say what the result is
- 0Inputs and preconditions. Does not say what the process needs to start
- 30Running it twice. 75 mutating operations with no state check
- 50When it triggers. No condition that starts the skill
- 50Failures and branches. 0 branches, has a failure section
- 60Tools and files. Uses tools (bash, node) that frontmatter does not declare
- 70Execution cost. Instruction body is 4154 tokens
- 85Steps. 217 steps, 1 vague phrases
- 100Consistency. Name and required fields are in place
- 100Progress reporting. Reports progress
- medium Safety rules and hard prohibitions inside a skill: they belong in the system prompt, here they protect nothing
- low The response is described with custom markup (19 tags): a typed call is more reliable
Everything here is measured from the skill text rather than judged by a model, so the numbers are checkable. A parameter weighs more when it is a more common reason for the process to stall.
Quality signals
- +5Description has no quoted example phrases that should trigger the skill
- +4Description does not say when NOT to use the skill (false activations)
- +3Output format is not stated: the model decides each time
- +4No input/output examples
- +1No license
- +2Single-language instructions
- +3Description length 239: enough signal without eating the budget
- +4Structure: 18 headings
- +3Step-by-step instructions: 217 items
- +4Reference files are cited in the instructions (2 of 2)
- +3All 5 scripts are documented
Quality base 70; lint remarks subtract, signals add up to 100. Result: 75.