command sample
summarize command history
add sum_history