It doesn’t take much to get released from Guantanamo these days. Just argue you’re a family man who likes baking. And look, you’ll even touch a woman!

In President Obama’s rush to clear out the military prison, any excuse — no matter how flimsy — is reason enough to parole.

Take Ibrahim al-Qosi. He was a member of Osama bin Laden’s “protection detail” and a “very high-ranking al Qaeda member,” who admitted knowing about the 9/11 plot and fighting against US forces in ­Afghanistan after the attacks.

“Detainee received basic training at the al-Faruq training camp, and as a UBL [bin Laden] bodyguard, likely received advanced or specialized training,” his intel file states, noting his experience firing rocket-propelled grenades and mortars.

The “enemy combatant” told interrogators it was his “religious duty to defend Islam and fulfill the obligation of jihad and that the war between America and al Qaeda is a war between Islam and the aggression of the infidels.” While imprisoned, al-Qosi had no fewer than 10 disciplinary infractions, including trying to fashion a shiv and assaulting two guards.

In 2007, the Administrative Review Board set up by the Bush administration agreed that he was “high-risk” and said “continued detention is necessary.”

That all changed in 2012, after Obama intensified efforts to clear out Gitmo.

Suddenly, the administration was buying his defense team’s ­argument that al-Qosi was merely a cook who originally met bin Laden at a camp where they went “for recreation and horseback riding” and that he only ended up at al Qaeda’s headquarters in Kandahar “to get married.”

“He is now in his 50s, eager only to spend his life at home with his family in Sudan — his mother and father, his wife and two teenage daughters, and his brothers and their families — and live among them in peace, quiet and freedom,” said Washington attorney Paul Reichler, who once represented Nicaragua’s communist Sandinista government and who defended al-Qosi without pay for seven years.

Reichler failed to mention that his good client’s “wife” at the time was the daughter of another bin Laden bodyguard.

Before US airmen chauffered al-Qosi from Gitmo to the Sudanese capital, Khartoum, where the Islamist regime there promised to enroll him in a “rehabilitation program,” Obama made sure camp guards made his remaining days at Gitmo as comfortable as possible. The convicted terrorist was moved to special quarters that featured a flat-screen TV, a fridge stocked full of goodies and an outdoor patio.

Overall, nearly one in three released detainees have gone back to fighting against America. Yet Obama keeps letting them go

Al-Qosi repaid the favor by taking the helm of al Qaeda’s most lethal branch in Yemen. In a new propaganda video, al-Qosi is seen celebrating the terrorist attacks in Paris and vowing to continue targeting America for similar strikes. (A chagrined ­Reichler said he assumed his ­former client was “working as a taxi driver in Khartoum.”)

Al-Qosi is not alone. Nearly 200 detainees released from Gitmo have joined anti-US terror groups. In fact, a January report by Obama’s own intelligence czar found that 12 more terrorists released from prison returned to the battlefield in 2014. And another 11 re-offenders turned up in the July report.

Overall, nearly one in three released detainees have gone back to fighting against us. Yet Obama keeps letting them go. In his year-end press conference Friday, he said, “My expectation is by early next year, we should have reduced that population [of remaining detainees] below 100.”

The review process is a joke. “Taking up yoga” has been used as an argument for rehabilitation. At least five different inmates have told the same sob story to Obama’s Periodic Review Board about wishing only to see their “ailing mother” ­before she passed away.

The board, which includes liberal activists from the Justice and State departments, meets regularly in Arlington, Va., via video teleconference. This month, it’s hearing similarly pitiful stories from another slate of ruthless killers, including a pair of hard-core al Qaeda operatives from Yemen — Mustafa al-Shamiri and Zahir Hamdoun — who ­argue they no longer pose a threat to the US, either.

In defense pleadings, al-Shamiri’s lawyer pointed out that his client prepared “30 plates of pastries” for fellow inmates for their post-Ramadan feast.

Aww, what a guy! Rubber-stamp his release!

Not to be outdone, Hamdoun actually touched an infidel woman without slashing her throat. “He stood and shook my hand enthusiastically,” his lawyer gushed before parole-board officials. “The fact that I was female did not concern him.”

Need more reason to let him walk? “Before the meeting was over,” she added, “he gave me one of his drawings as a gift.”

Paul Sperry, a visiting Hoover Institution media fellow, is author of “Infiltration” and “Muslim Mafia.” E-mail: Sperry@SperryFiles.com.