sage-system
moltbot
Sage system operations. Sync status, version info, database statistics and maintenance.
Quick Install
bunx add-skill moltbot/skills -s sage-systemarchivebackupclawdbotclawdhubskill
Instructions
Loading…
moltbot
Sage system operations. Sync status, version info, database statistics and maintenance.
bunx add-skill moltbot/skills -s sage-systemLoading…
System status and maintenance operations.
| Endpoint | Payload | Description |
|---|---|---|
get_sync_status | {} | Get sync progress |
get_version | {} | Get wallet version |
| Endpoint | Payload | Description |
|---|---|---|
get_database_stats |
{}| Database statistics |
perform_database_maintenance | {"force_vacuum": false} | Optimize database |
{
"balance": "1000000000000",
"unit": {"decimals": 12, "ticker": "XCH"},
"synced_coins": 150,
"total_coins": 150,
"receive_address": "xch1...",
"burn_address": "xch1...",
"unhardened_derivation_index": 100,
"hardened_derivation_index": 50,
"checked_files": 25,
"total_files": 25,
"database_size": 52428800
}
{
"version": "0.12.7"
}
{
"total_pages": 10000,
"free_pages": 500,
"free_percentage": 5.0,
"page_size": 4096,
"database_size_bytes": 40960000,
"free_space_bytes": 2048000,
"wal_pages": 100
}
{
"vacuum_duration_ms": 1500,
"analyze_duration_ms": 200,
"wal_checkpoint_duration_ms": 50,
"total_duration_ms": 1750,
"pages_vacuumed": 250,
"wal_pages_checkpointed": 100
}
# Check sync status
sage_rpc get_sync_status '{}'
# Get version
sage_rpc get_version '{}'
# Database stats
sage_rpc get_database_stats '{}'
# Run maintenance
sage_rpc perform_database_maintenance '{"force_vacuum": false}'
# Force full vacuum (slower)
sage_rpc perform_database_maintenance '{"force_vacuum": true}'
Calculate sync percentage:
progress = (synced_coins / total_coins) * 100
Check if synced:
synced = (synced_coins == total_coins)
force_vacuum does full database compaction (slower but more thorough)wal_pages indicates pending writes; checkpoint clears themUse when you need to run Flow type checking, or when seeing Flow type errors in React code.
Use when you want to validate changes before committing, or when you need to check all React contribution requirements.
Use when feature flag tests fail, flags need updating, understanding @gate pragmas, debugging channel-specific test failures, or adding new flags to React.
Use when you need to check feature flag states, compare channels, or debug why a feature behaves differently across release channels.