Skip to content

Split monolithic onboarding skill into focused, composable skills#2

Merged
matmilbury merged 3 commits intomainfrom
openclaw
Apr 24, 2026
Merged

Split monolithic onboarding skill into focused, composable skills#2
matmilbury merged 3 commits intomainfrom
openclaw

Conversation

@matmilbury
Copy link
Copy Markdown
Contributor

@matmilbury matmilbury commented Apr 24, 2026

Summary

  • Dependency install hints: Plugin and skill-level metadata now declares how to install required binaries, so users get actionable install instructions when a dependency is missing
  • Skill decomposition: Replaced the 894-line onboard SKILL.md with 6 focused skills (trade, market-scan, deposit, open-position, close-position, withdraw), each containing only the SDK methods it needs
  • Bug prevention: During testing, the monolithic skill caused the agent to use getBalance() instead of getDepositRecords() for deposit monitoring and skip the funding-to-trading transfer — the new skills explicitly guard against these mistakes
  • CI update: Updated validation workflow to check the new skill directories

Test plan

  • Verify trade skill correctly routes new users through onboarding flow
  • Test deposit monitoring uses getDepositRecords(), not getBalance()
  • Confirm funding-to-trading transfer is prompted after deposit lands
  • Test each skill independently (market-scan, open-position, close-position, withdraw)
  • Verify dependency install hints surface when a required binary is missing

Generated with Claude Code

matmilbury and others added 3 commits April 24, 2026 17:48
When openclaw detects a missing binary dependency, it now has structured
metadata to tell users how to install it. Install hints are declared at
both the plugin level (openclaw.plugin.json) and the skill level
(SKILL.md frontmatter).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…skills

The 894-line onboarding SKILL.md was too large for LLMs to follow reliably —
during testing, the agent used getBalance() instead of getDepositRecords() to
monitor deposits, skipped the funding-to-trading transfer, and jumped phases
without confirming completion.

Replace with 6 lean skills:
- trade (router): always-active, detects user state, auto-onboards new users
- market-scan: TA scanning, trade ideas, symbol deep-dives
- deposit: deposit monitoring, funding-to-trading transfer (the broken flow)
- open-position: trade execution with proper sizing and confirmation
- close-position: close positions, cancel orders, modify TP/SL
- withdraw: withdrawal flow

Each skill includes only the SDK methods it uses and emphasizes the critical
steps that were missed (e.g. deposit skill explicitly warns against using
getBalance() to check deposits).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace references to removed onboard skill with the 6 new skills.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@matmilbury matmilbury merged commit 8f9aeb3 into main Apr 24, 2026
1 check passed
@matmilbury matmilbury deleted the openclaw branch April 24, 2026 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant