Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

1k-tradingview-communication

Skill by OneKeyHQ

Guides developers through the message bridge between the OneKey app repository and its separate TradingView chart repository. It covers K-line data, marks, Perps lines, symbol sync and websocket recovery. Intended for engineers maintaining OneKey's chart integration.

  • Score 72
  • 2.5k stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install 1k-tradingview-communication

Built from the published package, never by AI.

git clone --depth 1 https://github.com/OneKeyHQ/app-monorepo /tmp/app-monorepo && mkdir -p ~/.claude/skills && cp -r /tmp/app-monorepo/.skillshare/skills/1k-tradingview-communication ~/.claude/skills/1k-tradingview-communication

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install 1k-tradingview-communication in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill is a developer reference for the message bridge between the OneKey app repository and a separate TradingView chart repository. The app loads the chart inside a WebView or iframe, and both sides exchange plain message objects. It lists search anchors, URL parameters and message contracts for K-line data, marks, the Hyperliquid price scale, Perps symbol sync, Perps lines and websocket recovery.

Chart-to-app messages use a $private payload with scope, origin, method and data. App-to-chart messages go through sendMessageViaInjectedScript and arrive as window.postMessage calls. The skill also gives a change checklist covering constants on both sides, preserved requestId values and origin checks, plus verification commands for each repository. It is aimed at developers who maintain OneKey's TradingView integration.

Written from the project's SKILL.md and checked against it.

What it can do

  • Search anchorsPoints to app and chart repository symbols to find with rg, such as useTradingViewUrl and handleKLineDataRequest.
  • Message contractsDocuments payload shapes for K-line requests, marks, Hyperliquid price scale, symbol sync and Perps lines.
  • URL parametersExplains the parameters the app adds to chart URLs for market and perps modes.
  • Perps lines syncDescribes full sync, patch, clear and rejected-update messages for chart lines and their revision ordering.
  • Websocket recoveryCovers the FORCE_RECOVER_WS message and the origin check the chart applies before reconnecting.
  • Change checklistLists steps for adding or changing a bridge message across both repositories.
  • Verification commandsLists the build, lint and agent check commands to run for app and chart changes.

What you need

  • Access to the OneKey app repository
  • Access to the separate TradingView chart repository
  • ripgrep (rg) for searching the codebases
  • npm or yarn for running build and lint commands

Try asking

  • Find where the app handles tradingview_getKLineData requests
  • Explain the PERPS_TV_LINES_PATCH message contract and its revision rules
  • Give me the checklist for adding a new message between app and chart

Good to know

  • Vendor TradingView library assets in the chart repo should not be edited for bridge changes.
  • Perps order draft, cancel and drag UI may exist but is disabled in normal Perps candles by default.
  • Bridge changes should be tested in both web iframe and native or desktop injected-script modes.
  • The skill says not to assume fixed local filesystem paths.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .skillshare/skills/1k-tradingview-communication/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: ReadGrepGlob

Alternatives to 1k-tradingview-communication

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

1k-tradingview-communication: common questions

How does the OneKey app send messages to the TradingView chart?

The app calls sendMessageViaInjectedScript, which lands in the chart as window.postMessage. Web uses iframe postMessage, while native and desktop inject a script.

Where does Perps marks data come from?

According to the source, Perps marks come from Hyperliquid fills, while market marks come from account token transactions.

Does this skill change the TradingView chart code?

It is a reference for locating and understanding the bridge code. It advises against editing the TradingView library static assets for bridge changes.

How do I install 1k-tradingview-communication?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is 1k-tradingview-communication free?

The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.

Is 1k-tradingview-communication safe to use?

It scores 72 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to 1k-tradingview-communication?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

1k-tradingview-communication Install

Add to stack

Loading.