Basic command extractor