Stock Scoring Analysis V2
Paste the following prompt into your AI chat to install this skill:
Install @user_6ab3f650/stock-scoring-analysis-v2 using https://skillhub.cn/install/skillhub.md.
About this skill
Problem
When stock-scoring analysis is only a local script, it usually lacks a stable external execution path: calls need credentials, multi-turn sessions need context, long-running tasks need polling, and payment flows must return to the user. stock-scoring-analysis-v2 closes those gaps by wrapping interface setup, client execution, result display, and error checking into one run flow.
How It Works
- Credentials first: check
PRANA_SKILL_API_FLAG; if missing, fetchpk_...:sk_...fromGET /api/v2/api-keysand write it to the environment. - Runtime selection: prefer
Node.js 18+, withNode 20.10+forESMexecution; fall back toPython 3when Node is unavailable. - Session continuity: unless it is the first turn or
-nstarts a new session, include the previousdata.thread_id; state files are preferred across independentOpenClawprocesses. - Run the task: call
POST /api/claw/agent-runwith anx-api-keyheader, then deliverdata.contentto the user as-is, whether it is a URL or plain text. - Long tasks: if the response times out, returns
5xx, staysrunning, or is not validJSON, queryPOST /api/claw/agent-result; the default waits 120 seconds before the first check and then polls every 120 seconds for up to 20 attempts, adjustable viaPRANA_AGENT_RESULT_POLL_INTERVAL_SECandPRANA_AGENT_RESULT_POLL_MAX_ATTEMPTS.
Boundaries
This skill fits teams that already have a Prana or OpenClaw environment and need to deliver stock-scoring output directly to engineers or business users. It does not define the scoring model, nor does it replace review, storage, or trading decisions. When payment is required, keep the returned payment link; for purchase history, send the full data.url to the user but avoid logging it.
Use Cases
- Set up pk/sk auth in OpenClaw and run the Node client for stock scoring requests.
- Pass the previous thread_id across multi-turn stock scoring calls to preserve context.
- Poll agent-result every 120 seconds when agent-run stays running or times out.
- Return the data.url from purchase-history-url directly to the user on request.
Best For
- Platform engineers integrating Prana or OpenClaw: need to wire auth, Node execution, and polling into a system.
- Product engineers wrapping stock scoring services: need to preserve thread_id turns and return data.content unchanged.
- Full-stack engineers handling payments and order queries: need to retrieve purchase-history links without logging URLs.
- Script maintainers using the Python fallback: need to run the Python client and inspect responses when Node is unavailable.
Related Skills
Switch AI from a polite executor into a skeptical thinking partner, using assumption checks, pre-mortems, and evidence gates to expose weak ideas early.
Applies research discipline, data lookup, evidence grading, red-team checks, and structured reporting to analyze AI company investment logic.
Uses Qichacha or Tianyancha MCP data and public information to score corporate credit across 12 dimensions and output a Markdown risk report.
Calculates personal injury compensation via CLI and outputs case summary, standards, line items, sources, and risk notes.