BC headless-trading
Autonomous trading for AI agents on Solana and BNB Chain. Use when: (1) executing token swaps on DEXs (Raydium, PancakeSwap), (2) checking token prices and balances, (3) monitoring liquidity pools, (4) implementing trading strategies, (5) managing portfolio positions. Supports headless execution without browser interaction.
As a process C 51/100 · Has gaps — weak spots: result and completion, when it triggers, consistency
How to improve
- 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 · 17
✓ No critical or high findings
Medium and low: 17
-
low Secrets in code
secret-high-entropy-tokenreferences/pancakeswap.md:9High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)- **Router:** `0x10…24E`
quoted -
low Secrets in code
secret-high-entropy-tokenreferences/pancakeswap.md:10High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)- **Factory:** `0xcA…c73`
quoted -
low Secrets in code
secret-high-entropy-tokenreferences/pancakeswap.md:11High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)- **WBNB:** `0xbb…95c`
quoted -
low Secrets in code
secret-high-entropy-tokenreferences/pancakeswap.md:15High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)- **Router:** `0x13…Dd4`
quoted -
low Secrets in code
secret-high-entropy-tokenreferences/pancakeswap.md:16High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)- **Factory:** `0x0B…865`
quoted -
low Secrets in code
secret-high-entropy-tokenreferences/raydium.md:33High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)- **USDC:** `EPjF…t1v`
quoted -
low Secrets in code
secret-high-entropy-tokenreferences/raydium.md:34High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)- **USDT:** `Es9v…NYB`
quoted -
low Secrets in code
secret-high-entropy-tokenreferences/raydium.md:38High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)- **SOL (wrapped):** `So11…112`
quoted -
low Secrets in code
secret-high-entropy-tokenreferences/raydium.md:39High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)- **RAY:** `4k3D…X6R`
quoted -
low Secrets in code
secret-high-entropy-tokenreferences/raydium.md:40High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)- **mSOL:** `mSoL…7So`
quoted -
low Risky intent
intent-wallet-secretsscripts/pancakeswap_swap.py:30Handles crypto-wallet secrets (seed / mnemonic / private key) — a classic stealer target (quoted — discussed, not commanded)private_key: Wallet private key
quoted -
low Risky intent
intent-wallet-secretsscripts/raydium_swap.py:30Handles crypto-wallet secrets (seed / mnemonic / private key) — a classic stealer target (quoted — discussed, not commanded)private_key: Wallet private key
quoted -
low Risky intent
intent-wallet-secretsscripts/swap.py:43Handles crypto-wallet secrets (seed / mnemonic / private key) — a classic stealer target (quoted — discussed, not commanded)private_key: Wallet private key (base58)
quoted -
low Risky intent
intent-wallet-secretsscripts/swap.py:137Handles crypto-wallet secrets (seed / mnemonic / private key) — a classic stealer target (quoted — discussed, not commanded)private_key: Wallet private key (hex)
quoted -
low Secrets in code
secret-high-entropy-tokenscripts/swap.py:146High-entropy token-like string (may be an id, hash or a credential) (detector / deny-list definition)ROUTER_ADDRESS = "0x10…24E" # PancakeSwap V2
detector -
low Risky intent
intent-wallet-secretsscripts/swap.py:249Handles crypto-wallet secrets (seed / mnemonic / private key) — a classic stealer target (quoted — discussed, not commanded)private_key: Wallet private key (from env if not provided)
quoted -
low Secrets in code
secret-high-entropy-tokenSKILL.md:91High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)token_address="EPjF…t1v", # USDC
quoted
Files scanned: 11. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
✓ No remarks against the Agent Skills spec
Process rating: all ten parameters 51/100
- 0Result and completion. Does not say what the result is
- 0Progress reporting. Says nothing while it works
- 20When it triggers. No condition that starts the skill
- 30Running it twice. 1 mutating operations with no state check
- 40Consistency. Frontmatter name (headless-trading) differs from the folder (headless-crypto)
- 50Failures and branches. 0 branches, has a failure section
- 60Tools and files. Uses tools (web, python) that frontmatter does not declare
- 70Inputs and preconditions. Inputs and preconditions are listed
- 100Steps. 53 steps
- 100Execution cost. Instruction body is 1745 tokens
- medium Safety rules and hard prohibitions inside a skill: they belong in the system prompt, here they protect nothing
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
- +1No license
- +2Single-language instructions
- +3Description length 325: enough signal without eating the budget
- +4Structure: 35 headings
- +3Step-by-step instructions: 53 items
- +4Has examples (12 code blocks)
- +4Reference files are cited in the instructions (4 of 4)
- +3All 6 scripts are documented
Quality base 70; lint remarks subtract, signals add up to 100. Result: 91.