To file a habeas action, send the court the following items: â–« Your original, completed petition form. Answer all the questions.You do not need to cite law. This petition must be clearly handwritten in ink or typed. You should exercise care to make sure all answers are true and correct. The Clerk will have available forms for the application for appointment of counsel. A sample form is available at cand.uscourts.gov. How Do I Fill Out the Form? There is an official form (Judicial Council Form HC-001) for filing a state petition for writ of habeas corpus. Filing the Petition.