Introduction¶
When making A-share related decisions in agents like OpenClaw, a common practice is to generate candidate lists, execution plans, or order sheets, and then have the model append a stop-loss price. Once positions are established, users are more concerned about: which plans should be cancelled, which pending orders are likely to fail in a weak market, and how to adjust protection levels and position reductions after purchasing. Relying solely on generic conversation makes it difficult to stably cover these defensive checks.
Below is an introduction to the SkillHub community skill “Stock Risk Guard” (@user_8a5e88f1/proactive-risk-guard). It converges positions, pending orders, or candidate stocks into risk checks, failure condition judgments, and position reduction suggestions, designed specifically for the OpenClaw workflow.
What is this¶
“Stock Risk Guard” is a community skill published by user_8a5e88f1 on SkillHub. The current version is 1.0.0, categorized as professional, with a tag indicating requires_api_key=false (installation and usage following the skill’s instructions do not rely on additional API keys).
Official Description: A proactive risk guard skill for OpenClaw, used to convert user positions, pending orders, or candidate stocks into risk checks, failure conditions, and position reduction suggestions. The package contains only the standard SKILL.md, enabling the Agent to read the skill description and respond to users according to the workflow.
SkillHub Page (at the time of writing): Rating 100000, 3415 downloads, 42 installations. Page URL: https://www.skillhub.cn/skills/user_8a5e88f1/proactive-risk-guard.
Core Features¶
The skill’s design goal is not just to “give a stop-loss price,” but to proactively complete defensive checks. Verified capabilities include:
- Risk Concentration Check: Identifies concentration risks such as excessive stop-loss space or weak reward-to-risk ratios for candidate stocks or execution plans.
- Invalid Plan Identification: Points out trading plans that are prone to failure, as well as pending order ranges likely to fail in weak market conditions.
- Pending Order & Execution Advice: Reminds which pending orders should be cancelled, delayed, or downgraded; distinguishes between retaining, cancelling, reducing positions, and actions like “wait for a pullback, do not chase highs.”
- Position Re-evaluation: When users provide real costs or purchase prices, outputs protection lines, batch take-profit lines, and exit conditions centered around actual holdings; if no real position price is available, it must clearly state that the conclusion is based on planned prices.
Priority Data Files to Read (in order, working in conjunction with OpenClaw A-share related outputs):
a_share_agent_execution_plan.csva_share_manual_order_sheet.csva_share_agent_top5.csv
If the user provides real position costs or purchase prices, prioritize using the user’s actual position information rather than mechanically following template prices.
Typical Trigger Phrases (from the official SKILL.md):
- “Help me check the risks of these stocks.”
- “I’ve already bought, how should I defend next?”
- “Don’t just give a stop-loss price, help me see which plans should be cancelled.”
- “Which candidates are actually not worth placing orders for today?”
Constraints (written within the skill): Must not treat template prices directly as real position advice; if real-time market data is unavailable, defensive judgments should still be made based on existing execution plans rather than abandoning risk analysis.
Installation and Activation¶
Method 1: Let the Agent execute according to official installation docs¶
The prompt provided by the SkillHub page is:
Please install `@user_8a5e88f1/proactive-risk-guard` according to https://skillhub.cn/install/skillhub.md.
The Agent will check for the skillhub CLI and install the skill to the current environment’s skills directory according to the documentation.
Method 2: Command Line Installation¶
First, confirm that the SkillHub CLI is installed on your machine (see https://skillhub.cn/install/skillhub.md):
command -v skillhub && skillhub --version
When installing, you must use --dir to point to the current Agent’s skills directory; otherwise, it defaults to ./skills/ which may not be recognized:
skillhub install @user_8a5e88f1/proactive-risk-guard --dir <skills directory>
Common client skills paths (from SkillHub installation docs):
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
Example (Cursor):
skillhub install @user_8a5e88f1/proactive-risk-guard --dir ~/.cursor/skills/
After installation, restart or refresh the Agent according to your client’s requirements to ensure the new skill is loaded.
Typical Usage¶
Following the installation steps above, assuming OpenClaw-side A-share CSV outputs (or user-verbalized positions) are available, usage follows the workflow defined by the skill:
- Confirm Scenario: Distinguish between “Candidates Only,” “Pending Orders,” and “Positions Held” to determine the focus of the check.
- Provide Context: Ensure the Agent can read the aforementioned CSVs, or proactively explain codes, costs, purchase prices, and order ranges.
- Initiate Conversation: Use one of the trigger phrases above, such as requesting a risk check and explaining which plans should be cancelled.
- Verify Output: The results should at least cover stop-loss space, reward-to-risk ratio, pending order failure risks, and executable actions like retain/cancel/reduce; protection lines and take-profit/exit conditions should appear in scenarios where positions are already bought.
The skill does not come with standalone scripts or REST interfaces; usage relies entirely on the Agent following the four steps in the “Proactive Workflow” of SKILL.md: Identify risk type → Output risk check results → Provide defensive actions → Re-evaluate when holding positions.
Use Cases and Notes¶
Who it is for
- Users already using A-share related CSVs (execution plans, manual order sheets, Top5 candidates) in the OpenClaw ecosystem.
- Users who want the Agent to perform defensive reviews rather than one-off quote-style stop-losses.
Limitations and Notes
- The skill instructions are explicitly geared towards OpenClaw; if your workspace does not have the aforementioned CSVs or similar structured plans, you need to prepare the data or verbally supplement position information first, otherwise the depth of the check will be limited.
- Without real-time market data, analysis is based on existing plans and price information provided by the user; conclusions must distinguish between “planned price” and “real cost” in the conversation.
- The output is Agent-assisted decision making and does not constitute investment advice; major operations still require self-verification of market and compliance requirements.
Conclusion¶
“Stock Risk Guard” unifies candidates, pending orders, and positions into a set of proactive risk checks and defensive action suggestions. It aligns with common OpenClaw A-share CSV file names, reducing shallow answers that “just give a stop-loss price.”
Official SkillHub Page: https://www.skillhub.cn/skills/user_8a5e88f1/proactive-risk-guard
API Coordinates (for installation resolution): https://api.skillhub.cn/user_8a5e88f1/proactive-risk-guard