add opts: filter, read, yaml, stat, key