In an instant Pot, steam your spaghetti squash (see post for the explanation )
Empty the water from steaming the spaghetti squash in the Instant Pot and rinse it out if necessary.
Heat the Instant Pot on saute mode. Add 1 tsp of butter then add the garlic. Heat the garlic until fragrant. Add the ricotta and chicken and stir thoroughly. Add the parsley, salt, and spaghetti squash and stir. Add the cheese and mix until the cheese is melted.
At this point, the casserole is ready to serve.
Optional. Transfer the spaghetti squash casserole to a baking dish and top with additional cheese and broil for 3-5 minutes.