gate/gate-skills

gate-info-risk

Use this skill whenever the user needs a risk- or safety-first check for a token, address, or project. Covers contract risk, address compliance labels, and project incidents via gate-cli. Triggers: is this coin safe, honeypot, sanctioned, compliance. Info primary; news auxiliary. Delegate: gate-info-research, gate-info-web3 (on-chain), gate-news-intel (events). v0.7.6+ uses info +token-risk shortcut for token_risk; legacy fallback below 0.7.6. check-address-risk not shipped—use get-address-info…

First seen Apr 26, 2026

Installation

$ npx skills add gate/gate-skills --skill gate-info-risk

Summary

  • Use this skill whenever the user needs a risk- or safety-first check for a token, address, or project.
  • Covers contract risk, address compliance labels, and project incidents via gate-cli.
  • Triggers: is this coin safe, honeypot, sanctioned, compliance.
  • Info primary; news auxiliary.
  • Delegate: gate-info-research, gate-info-web3 (on-chain), gate-news-intel (events). v0.7.6+ uses info +token-risk shortcut for token_risk; legacy fallback below 0.7.6. check-address-risk not shipped—use get-address-info for address_risk.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from gate/gate-skills · top by installs.

npx skills add gate/gate-skills

Browse all from gate/gate-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 39
Default branch master
Open issues 0
Status Active

Skill metadata

Parsed from SKILL.md frontmatter.

Version2026.6.12-5

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 19,071 B
  • docs SUMMARY.md 541 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 86 installs

SKILL.md

gate-info-risk

General Rules

⚠️ STOP — You MUST read and strictly follow the shared runtime rules before proceeding. Do NOT select or call any tool until all rules are read. These rules have the highest priority. → Read gate-runtime-rules.md → Also read info-news-runtime-rules.md for gate-info and gate-news shared rules.

  • Only call MCP tools explicitly listed in this skill. Tools not documented here must NOT be called, even if they

exist in the MCP server.

CLI and playbook contract

  1. Legacy commands MUST exist under gate-cli v0.5.2. When shortcutsenabled (>= 0.7.6), tokenrisk may use info +token-risk per playbook shortcut; fall back to check-token-security on failure or older CLI. This skill does NOT call check-address-risk or +address-tracker for address_risk.
  2. Call gate-cli info … / gate-cli news … only as listed in playbooks/gate-info-risk.yaml. When preflight route is CLI, do not call Gate MCP tools from this skill.
  3. Missing data NEVER counts as "low risk". When the primary command for a chosen playbook is unavailable, the verdict is UNABLETOASSESS (scope limited; localized labels may appear in the user report) plus an explicit retry hint.
  4. Always pass --format json. Required slots (token+chain, address+chain, symbol) must be present; if ambiguous, ask the user.
  5. The report is safety-first: the verdict line comes BEFORE evidence, and high-severity items are always surfaced before medium or low.
  6. No buy / sell advice. No price predictions. Use verdict bands HIGH / MEDIUM / LOW / UNABLETOASSESS in this skill’s logic; the final user report may localize those labels. Always include a “what to verify next” list.

Step 0 — Preflight

Follow the shared contract in skills/shared/preflight.md verbatim. Summary:

  1. Run gate-cli preflight --format json; parse .route, .status, .user_message.
  2. Branch: CLI → continue; MCPFALLBACK → emit FALLBACK and halt; BLOCK → echo usermessage and halt.
  3. When status == "readywithmigration_warning", Step 3 appends one migrate hint at the very end of the report.
  4. Step 0.5: Set cliversion and shortcutsenabled per [skills/shared/cli-version-routing.md](../shared/cli-version-routing.md).

Do NOT run any data-collection command until Step 0 returns route == "CLI".


<!-- Step 0.5 — Skill update check (OPT-IN, disabled by default).

The script scripts/update-skill.sh is shipped and functional, but agents do NOT run it as part of the normal flow (zero overhead, no token needed). Skill authors can still invoke it manually when they want to sync SKILL.md from upstream:

bash "$SKILL_ROOT/scripts/update-skill.sh" check gate-info-risk

Result semantics, strict-check mode (GATESKILLCHECKSTRICT=1) and the auto-apply path (GATESKILLUPDATEMODE=auto) are documented in skills/shared/update-workflow.md. To re-enable this step inside the agent flow, delete this HTML comment wrapper so the block becomes part of the rendered SKILL.md again. -->


Step 1 — Intent routing

Pick exactly one playbook id from playbooks/gate-info-risk.yaml:

Playbook id When to pick Required slots
token_risk "is this token safe", "is there a honeypot", "taxes too high", "holder concentration" — subject is a token contract. token, chain (the token slot accepts ticker OR contract address)
address_risk "is this address safe", "sanctioned / OFAC", "blacklist", "is this wallet risky". address, chain
project_risk "compliance or incident risk for this project", "has there been a security incident on {project}", "exchange announcement risk". symbol

Slot extraction rules

  • check-token-security takes exactly one of --token or --address — the CLI explicitly rejects passing both (see the CLI error message; mutually exclusive). This skill always uses --token because the flag is polymorphic: it accepts BOTH tickers (USDT) and contract addresses (0xdAC17F..., SPL mints, TRX mints). Agent slot-extraction rule: when the user mentions a contract address for a token-risk query, store that address in the token slot directly — do NOT create a parallel address slot for this playbook. Always pair with --chain.
  • chain canonical form (always send the short id on --chain): eth, bsc, polygon, arb, op, base, avax, solana, tron, ... Accept common long-form aliases from users (ethereum, arbitrum, optimism, avalanche, bnb, matic) and normalize to the short id before calling the CLI. Response .chain echo is endpoint-dependent — sometimes short (etheth), sometimes long (arbarbitrum). Parsers MUST accept both alias forms; see skills/gate-info-risk/references/troubleshooting.md (canonical alias table for input normalization and response parsing).
  • address is a wallet. If the user asks about a token contract but passed an address, confirm which they mean.
  • symbol for project_risk is the listed coin ticker; resolve ambiguous project names before calling news commands.
  • Missing or ambiguous required slot → STOP, ask the user. Do not guess.

Cross-skill routing at Step 1

User signal Route to
"just give me a general analysis of this coin", no safety framing gate-info-research
"who is this address / what is it doing on-chain" (not risk-first) gate-info-web3
"why did it drop" / "community view on incident" gate-news-intel

Step 2 — Data collection

All commands use --format json. Commands inside the same parallel_group run concurrently.

When shortcutsenabled and playbook defines shortcut, follow [skills/shared/cli-version-routing.md](../shared/cli-version-routing.md). Map +token-risk output (risklevel, riskitems, tokenidentity) to the same verdict rules as check-token-security.

tokenrisk shortcut args: use playbook args (--symbol) for tickers; argswhen with when: contractaddress (--address + --chain) for contract-shaped token. After shortcut success, still run optional tokenonchain (postshortcutoptional_ids) — shortcut does not include on-chain holder data.

2.A token_risk

Shortcut (>= 0.7.6): resolve args from playbook shortcut.args / shortcut.args_when (never default to --address for tickers). On native-coin resolution failure, fall back to legacy commands below.

Required (legacy):

  • gate-cli info compliance check-token-security --token {token} --chain {chain} --scope full

Optional (run in parallel with the above):

  • gate-cli info coin get-coin-info --query {symbolortoken} --chain {chain} --scope basic — project fundamentals for context.
  • gate-cli info onchain get-token-onchain --token {token} --chain {chain} --scope full — holder concentration, smart-money flow.

2.B address_risk

Required:

  • gate-cli info onchain get-address-info --address {address} --chain {chain} --scope basic — risk labels, tags, scoped balance summary.

Optional:

  • gate-cli info onchain get-address-transactions --address {address} --chain {chain} --time-range 30d --min-value-usd 100000 --limit 50 — recent large flows; helps flag mixing / exchange hopping.

Scope-limited rule: gate-cli v0.5.2 does not expose info compliance check-address-risk. If get-address-info returns no risk labels or tags, the final verdict MUST be UNABLETOASSESS (localized in user output) with a note to re-check once the dedicated address-risk command ships.

2.C project_risk

Required (run in parallel):

  • gate-cli news feed search-news --coin {symbol} --limit 10 --sort-by importance --time-range 7d
  • gate-cli news events get-latest-events --coin {symbol} --time-range 7d --limit 20 (server enum is 1h|24h|7d — use --start-time / --end-time unix-ms for longer windows)

Optional:

  • gate-cli news feed get-exchange-announcements --coin {symbol} --limit 10 — listing / delisting / maintenance / emergency notices.

Failure policy

  • Required command failure → abort playbook, surface CLI error verbatim (trim auth), stop. No verdict is emitted.
  • Optional command failure → mark the corresponding section scope limited in Step 3 and downgrade confidence.
  • Upstream returns "not found" or empty labels → treat as data gap, NOT as low risk.

Step 3 — Synthesis

The report is always 5 sections, in this order:

Report template

## Risk assessment — {subject}

### 1. Verdict
- **Level**: {HIGH | MEDIUM | LOW | UNABLE_TO_ASSESS} (you may localize labels in the user-facing report)
- Three short sentences: main basis + data coverage + confidence (whether scope-limited)

### 2. Core risk items
Sort strictly HIGH → MEDIUM → LOW. Each item includes:
- Risk name + taxonomy: `TECHNICAL_CONTRACT` / `ADDRESS_COMPLIANCE` / `PROJECT_LEVEL`
- Evidence (real JSON paths), e.g. `check-token-security.high_risk_list[?risk_key=="is_honeypot"].risk_value == "1"`, `check-token-security.data_analysis.top10_percent`, `get-address-info.risk_labels`
- Impact + trigger (e.g. “tax rises after holding > 7 days”)

### 3. On-chain or compliance context
{Balances / tags / labels / large flows / holder concentration / fundamentals. Sources as hit by playbook:
`info onchain get-address-info`, `info onchain get-address-transactions`, `info onchain get-token-onchain`, `info coin get-coin-info`}

### 4. Event context (if any)
{Last 7–30d news / incidents / announcements from `news feed search-news`, `news events get-latest-events`, `news feed get-exchange-announcements`. Separate **sourced facts** from **community speculation** (mark “needs confirmation” where needed).}

If the playbook did not call news commands, mark **no data**; you may suggest `gate-news-intel` for follow-up.

### 5. What to verify next
- List concrete next commands to close each gap
- If **UNABLE_TO_ASSESS**, the first bullet must tell the user to re-run `check-token-security` / `get-address-info` with the correct `{chain}`
- No buy/sell advice; no price targets

Verdict rules (applied in section 1)

check-token-security intentionally surfaces two type conventions — agents must not mix them:

  • Top-level flags (e.g. .ishoneypot, .isopen_source) are JSON booleans (true / false). Compare with == true / == false, NOT with "1" / "0".
  • Nested list entries inside highrisklist[], middlerisklist[], lowrisklist[], riskylist[], attentionlist[] have .risk_value as strings ("0" / "1"). Compare with == "1" or cast via tonumber.
  • Tax fields (.buytax, .selltax, nested .taxanalysis.tokentax.{buytax,selltax,transfer_tax}) are strings (percent without %). Cast with tonumber before numeric comparison.
  • Percent fields under .dataanalysis (.top10percent, .top100percent, .devholdingpercent, .insiderpercent, .maxholderpercent) are strings. Cast before comparing.
  • Each nested entry has shape {riskkey, riskvalue, risklevel, riskname, risk_desc}.
Signal (real JSON path) Effect on verdict
highrisklist[?riskkey=="ishoneypot"].riskvalue == "1" (equivalently top-level ishoneypot == true — top-level is boolean, not string) HIGH (immediate)
highrisklist[?riskkey=="ishightax"].riskvalue == "1" OR tonumber(buytax) > 10 OR tonumber(selltax) > 10 At least HIGH
middlerisklist[?riskkey=="ownerchangebalance"].riskvalue == "1" (owner can rewrite any holder's balance) HIGH (immediate)
middlerisklist[?riskkey=="cantakebackownership"].riskvalue == "1" OR middlerisklist[?riskkey=="hiddenowner"].riskvalue == "1" OR middlerisklist[?riskkey=="selfdestruct"].risk_value == "1" HIGH (immediate)
middlerisklist[?riskkey=="ismintable"].riskvalue == "1" OR middlerisklist[?riskkey=="isproxy"].riskvalue == "1" OR middlerisklist[?riskkey=="isblacklisted"].risk_value == "1" At least MEDIUM
highrisklist[?riskkey=="isopensource"].riskvalue == "0" (equivalently top-level isopensource == falseboolean at top level) At least MEDIUM
tonumber(dataanalysis.top10percent) > 70 (or top-level top10_percent) and no lock-up evidence At least MEDIUM
get-address-info.risk_labels includes OFAC / sanctioned / mixer / scam / exchange-hack-proceeds / darknet HIGH (immediate)
get-address-info returns risk_labels=[] AND tags=[] UNABLETOASSESS (scope limited) — do not downgrade to LOW
holders.holder_concentration[?label=="No.1-10"].percentage > 0.5 and active large turnover in 7d (get-token-onchain) Add MEDIUM item
latest-events has eventtype == "exploit" / "rug" / "depeg" and createtime ≤ 7d Add MEDIUM or HIGH (by severity)
All required commands fail UNABLETOASSESS + clear retry guidance

Optional summary shortcut: check-token-security.risksummary.highestrisklevel — an aggregate 0–3 severity score from upstream (3 = honeypot-grade). When highestrisklevel >= 3 without any flagged riskkey, still run through the rules above to cite the specific offending field rather than citing risk_summary alone.

Migrate hint (only when Step 0 status was readywithmigration_warning)

At the end of the report, append verbatim the migration blockquote line from skills/shared/report-style.md (line starting with ⚙️ and gate-cli migrate --dry-run).

Never gate the verdict on migrate status.


Cross-skill routing + Safety rules

Routing

Follow the shared matrix in skills/shared/routing.md. Risk-skill-specific follow-ups:

Follow-up intent Target
"full research" / "is it worth following" gate-info-research
"what is this address doing" / "smart money behavior" gate-info-web3
"why it dropped" / "community take on the event" gate-news-intel
User changes chain or token and wants a new assessment Re-enter the same playbook with new slots; do NOT reuse prior verdict.

Safety rules

Follow the shared contract in skills/shared/report-style.md. Risk-specific hardening:

  1. Never say LOW when a required command failed or when no risk labels / security-check fields were returned; use UNABLETOASSESS (or localized equivalent).
  2. Keep the three risk taxonomies (TECHNICALCONTRACT / ADDRESSCOMPLIANCE / PROJECT_LEVEL) strictly separate in Section 2.
  3. HIGH items MUST appear before any MEDIUM or LOW items in Section 2.
  4. No buy / sell advice. The closest allowed phrasing is “avoid / verify further” (neutral, non-prescriptive).
  5. Cite the exact JSON path for every verdict-driving claim, e.g. info compliance check-token-security.highrisklist[?riskkey=="ishoneypot"].riskvalue or info compliance check-token-security.dataanalysis.top10_percent — never cite a command-only hand-wave like "from check-token-security".

References

File Load when...
skills/gate-info-risk/references/scenarios.md Picking a playbook id is not obvious, or the user's prompt looks like Scenarios 4 / 5 (address risk, major-coin ambiguity).
skills/gate-info-risk/references/cli-reference.md You need the full flag table for check-token-security, get-address-info, get-token-onchain, or the auxiliary news commands.
skills/gate-info-risk/references/troubleshooting.md A command failed, or get-address-info came back with no risk labels (the check-address-risk gap).
skills/shared/preflight.md Step 0 contract.
skills/shared/routing.md Cross-skill routing.
skills/shared/report-style.md Safety + reporting rules.
skills/shared/update-workflow.md Skill update workflow.