From 細(こま) (koma-) + 切(き)れ (kire). The kire changes to gire as an instance of rendaku (連(れん)濁(だく)).
こまぎれ • (komagire)