BC near-intents
Universal cross-chain swap & bridge skill for OpenClaw using the NEAR Intents 1Click SDK. Supports 14+ blockchains including NEAR, Base, Ethereum, Solana, and Bitcoin.
Universal cross-chain swap & bridge skill for OpenClaw using the NEAR Intents 1Click SDK.
As a process C 53/100 · Has gaps — weak spots: result and completion, when it triggers, inputs and preconditions
How to improve
- Say in the description WHEN to use the skill ("use when…", example requests): that is the agent's main cue.
For the model run — optional
- 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 · 14
✓ No critical or high findings
Medium and low: 14
-
low Secrets in code
secret-high-entropy-tokenAI-AGENT-GUIDE.md:197High-entropy token-like string (may be an id, hash or a credential)0x30…77D
-
low Exfiltration
read-dotenvINSTALL.md:66Reads a .env filecp .env.example .env
-
low Secrets in code
secret-high-entropy-tokenlib-1click/2-get-quote.ts:21High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)const recipientAddress = '0x55…40b'; // Token swap recipient address on Arbitrum
quoted -
low Secrets in code
secret-high-entropy-tokenlib-1click/4-submit-tx-hash-OPTIONAL.ts:24High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)const depositAddress = '0x25…10D';
quoted -
low Secrets in code
secret-high-entropy-tokenlib-1click/6-full-swap.ts:26High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)const recipientAddress = '0x55…40b'; // Token swap recipient address on Arbitrum
quoted -
low Secrets in code
secret-high-entropy-tokenpackage-lock.json:309High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)"integrity": "sha5…ywo+qwL+oL8H…C1U+vRfLQDvw==",
quoted -
low Secrets in code
secret-high-entropy-tokenpackage-lock.json:325High-entropy token-like string (may be an id, hash or a credential) (detector / deny-list definition)"integrity": "sha512-Yqfm+XDx0+Prh3…1yC+JWZ2…IL7+vK+Clp7…D7g==",
detector -
low Secrets in code
secret-high-entropy-tokenpackage-lock.json:338High-entropy token-like string (may be an id, hash or a credential) (detector / deny-list definition)"integrity": "sha5…xZl+RoGR…fbT/ZgrF…0EA==",
detector -
low Secrets in code
secret-high-entropy-tokenpackage-lock.json:351High-entropy token-like string (may be an id, hash or a credential) (detector / deny-list definition)"integrity": "sha5…3bJ+V0If…IXN+CL65…a4w==",
detector -
low Secrets in code
secret-high-entropy-tokenpackage-lock.json:367High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)"integrity": "sha5…H47+FFon…OsV/4+RRsz…0ig==",
quoted -
low Exfiltration
net-credential-usescripts/generate-account.ts:43Credential used in a network call (verify the destination is the intended service) (quoted — discussed, not commanded)fs.writeFileSync(outputPath, `# NEAR Account Configuration for NEAR Intents Skill\nNEAR_ACCOUNT_ID=${accountId}\nNEAR_PRIVATE_KEY=${privateKey}\nNEAR_RPC_URL=https://rpc.mainnet.fastnear.com\nNEAR_NETquoted -
low Obfuscation
obf-base64-blobscripts/test_intent.ts:12Long base64-looking blob (test fixture / example file; quoted — discussed, not commanded)process.env.NEAR_PRIVATE_KEY = "ed25…5zi";
fixturequoted -
low Secrets in code
secret-high-entropy-tokenscripts/test_intent.ts:25High-entropy token-like string (may be an id, hash or a credential) (test fixture / example file; quoted — discussed, not commanded)recipient: "0x30…77D"
fixturequoted -
low Secrets in code
secret-high-entropy-tokenUSAGE_GUIDE.md:198High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)recipient: '0x30…77D',
quoted
Files scanned: 26. 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 53/100
- 0Result and completion. Does not say what the result is
- 0Inputs and preconditions. Does not say what the process needs to start
- 0Progress reporting. Says nothing while it works
- 20When it triggers. No condition that starts the skill
- 30Running it twice. 20 mutating operations with no state check
- 50Failures and branches. 0 branches, has a failure section
- 85Steps. 23 steps, 1 vague phrases
- 100Tools and files. No external tools needed
- 100Consistency. Name and required fields are in place
- 100Execution cost. Instruction body is 3341 tokens
- low 16 top-level sections: this looks like several domains in one skill
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
- -34 of 4 scripts are never mentioned in SKILL.md
- +1No license
- +2Single-language instructions
- +3Description length 167: enough signal without eating the budget
- +4Structure: 30 headings
- +3Step-by-step instructions: 23 items
- +4Has examples (14 code blocks)
Quality base 70; lint remarks subtract, signals add up to 100. Result: 69.