Resource Management
Help users manage and reorganize their existing trading resources. Core principle: never create duplicates — always check what exists first.
Pre-requisites (MUST confirm before proceeding)
- Confirm which resource(s) the user wants to modify
- Confirm the exchange context (affects which resources are compatible)
Workflow
Phase 1: Resource Survey
Query all relevant resources:
list_traders→ traders, their bindings, wallets, statuslist_signal_pools→ pools with symbols and conditionslist_strategies→ prompts and programs with binding status
Present a clear summary of what exists, using natural language:
- Resource names (not IDs)
- Current bindings and relationships
- Active/inactive status
→ [CHECKPOINT] Show resource inventory. Confirm what the user wants to change.
Phase 2: Execute Changes
Based on user intent:
Modify strategy content:
- Get full content:
list_strategies(strategy_id=X, strategy_type="prompt"|"program") - Delegate edit to sub-agent with existing ID:
call_prompt_ai(task="...", prompt_id=X)for promptscall_program_ai(task="...", program_id=X)for programs
- Save with existing ID to update (not create new)
Rebind resources:
bind_prompt_to_trader— replaces existing prompt binding (one-to-one)bind_program_to_trader— creates new binding (many-to-many)update_trader_strategy— change signal pools or trigger config- Always verify exchange compatibility before binding
Adjust signal pools:
- Describe current config and desired changes to Signal AI
call_signal_ai(task="adjust thresholds for pool X...")- Save with existing pool ID to update
→ [CHECKPOINT] Show what was changed. Wait for user confirmation.
Phase 3: Verify
- Re-query affected resources to confirm changes applied
- If bindings changed, offer to run
diagnose_trader_issuesto verify health
Key Rules
- ALWAYS survey existing resources before any operation
- Signal pool exchange must match trader's wallet exchange when rebinding
- Use existing IDs when updating — do not create duplicates
- For read-only queries (view/explain), use query tools directly, not sub-agents